public class LearnLibV2Serialization extends Object implements InputModelSerializationProvider<Integer,DFA<?,Integer>,DFA<Integer,Integer>>
Constructor and Description |
---|
LearnLibV2Serialization() |
Modifier and Type | Method and Description |
---|---|
static LearnLibV2Serialization |
getInstance() |
CompactDFA<Integer> |
readGenericDFA(InputStream is) |
InputModelData<Integer,DFA<Integer,Integer>> |
readModel(InputStream is) |
<I> void |
writeGenericModel(OutputStream os,
DFA<?,I> model,
Alphabet<I> alphabet) |
void |
writeModel(OutputStream os,
DFA<?,Integer> model,
Alphabet<Integer> alphabet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeModel, writeModel
writeModel
readModel, readModel, readModel
public static LearnLibV2Serialization getInstance()
public void writeModel(OutputStream os, DFA<?,Integer> model, Alphabet<Integer> alphabet)
writeModel
in interface InputModelSerializer<Integer,DFA<?,Integer>>
public <I> void writeGenericModel(OutputStream os, DFA<?,I> model, Alphabet<I> alphabet)
public InputModelData<Integer,DFA<Integer,Integer>> readModel(InputStream is) throws IOException
readModel
in interface ModelDeserializer<InputModelData<Integer,DFA<Integer,Integer>>>
IOException
public CompactDFA<Integer> readGenericDFA(@WillNotClose InputStream is) throws IOException
IOException
Copyright © 2018. All rights reserved.