Module de.learnlib.datastructure
Class SuffixASCIIReader<I,D>
- java.lang.Object
-
- de.learnlib.datastructure.observationtable.reader.SuffixASCIIReader<I,D>
-
- All Implemented Interfaces:
ObservationTableReader<I,D>
public class SuffixASCIIReader<I,D> extends Object implements ObservationTableReader<I,D>
-
-
Constructor Summary
Constructors Constructor Description SuffixASCIIReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObservationTable<I,D>read(String source, net.automatalib.alphabet.Alphabet<I> alphabet)Reads the string representation of an observation table and returns an implementation ofObservationTablewhich allows access to short and long prefixes as well as suffixes.
-
-
-
Method Detail
-
read
public ObservationTable<I,D> read(String source, net.automatalib.alphabet.Alphabet<I> alphabet)
Description copied from interface:ObservationTableReaderReads the string representation of an observation table and returns an implementation ofObservationTablewhich allows access to short and long prefixes as well as suffixes.- Specified by:
readin interfaceObservationTableReader<I,D>- Parameters:
source- The string representation to read, must not benull.alphabet- The learning alphabet containing the symbols used, must not benull.- Returns:
- an implementation of
ObservationTablewhich allows at lease access toObservationTable.getSuffixes(),ObservationTable.getShortPrefixes(), andObservationTable.getLongPrefixes(). Will never benull.
-
-