I
- The default input symbol typepublic interface SimpleAutomatonSerializer<I> extends InputModelSerializer<I,SimpleAutomaton<?,I>>
InputModelSerializer
that binds the model to SimpleAutomaton
s. It also adds
new functionality to dynamically serialize systems of arbitrary input type if a transformer to the default input type
(specified by implementing class) is given.
Note: These model-specific interfaces may be omitted if Java starts supporting higher-kinded generics (or we switch to a language that supports these).
Modifier and Type | Method and Description |
---|---|
default void |
writeModel(OutputStream os,
SimpleAutomaton<?,I> model,
Alphabet<I> alphabet) |
<I2> void |
writeModel(OutputStream os,
SimpleAutomaton<?,I2> model,
Alphabet<I2> alphabet,
Function<I2,I> inputTransformer) |
writeModel, writeModel
writeModel
<I2> void writeModel(OutputStream os, SimpleAutomaton<?,I2> model, Alphabet<I2> alphabet, Function<I2,I> inputTransformer) throws IOException
IOException
default void writeModel(OutputStream os, SimpleAutomaton<?,I> model, Alphabet<I> alphabet) throws IOException
writeModel
in interface InputModelSerializer<I,SimpleAutomaton<?,I>>
IOException
Copyright © 2019. All rights reserved.