I
- input symbol classD
- observation (output) domain classpublic interface ObservationTableReader<I,D>
ObservationTable
from a string source.Modifier and Type | Method and Description |
---|---|
ObservationTable<I,D> |
read(String source,
net.automatalib.words.Alphabet<I> alphabet)
Reads the string representation of an observation table and returns an implementation of
ObservationTable
which allows access to short and long prefixes as well as suffixes. |
@Nonnull ObservationTable<I,D> read(@Nonnull String source, @Nonnull net.automatalib.words.Alphabet<I> alphabet)
ObservationTable
which allows access to short and long prefixes as well as suffixes.source
- The string representation to read, must not be null
.alphabet
- The learning alphabet containing the symbols used, must not be null
.ObservationTable
which allows at lease access to ObservationTable.getSuffixes()
, ObservationTable.getShortPrefixes()
, and ObservationTable.getLongPrefixes()
. Will never be null
.Copyright © 2018. All rights reserved.