I - the type of input symbolsM - the type of objects implementing classes can deserializepublic interface InputModelSerializer<I,M extends SimpleTS<?,I>> extends ModelSerializer<InputModelData<I,M>>
ModelSerializer interface for arbitrary models that can react to inputs. Introduces a new
type variable for the input symbol type and limits the model type to SimpleTSs.| Modifier and Type | Method and Description |
|---|---|
default void |
writeModel(File f,
M model,
Alphabet<I> alphabet) |
default void |
writeModel(OutputStream os,
InputModelData<I,M> model) |
void |
writeModel(OutputStream os,
M model,
Alphabet<I> alphabet) |
writeModelvoid writeModel(OutputStream os, M model, Alphabet<I> alphabet) throws IOException
IOExceptiondefault void writeModel(File f, M model, Alphabet<I> alphabet) throws IOException
IOExceptiondefault void writeModel(OutputStream os, InputModelData<I,M> model) throws IOException
writeModel in interface ModelSerializer<InputModelData<I,M extends SimpleTS<?,I>>>IOExceptionCopyright © 2018. All rights reserved.