I - input symbol typeO - output symbol typepublic final class PartialObservationTable<I,O> extends AbstractObservationTable<I,Word<OutputAndLocalInputs<I,O>>>
The information about available inputs symbols is stored in the first (epsilon) column, despite this being an observation table based on Mealy semantics (where an empty input always yields an empty output). The information about available inputs are not fetched via conventional membership queries, but by querying the supplied provider.
initialConsistencyCheckRequired, shortPrefixRowsNO_DISTINGUISHING_SUFFIX| Constructor and Description |
|---|
PartialObservationTable(Consumer<I> newAlphabetNotifier,
Function<Word<I>,Collection<I>> enabledInputsProvider) |
| Modifier and Type | Method and Description |
|---|---|
List<List<Row<I>>> |
addAlphabetSymbol(I symbol,
MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> oracle) |
List<List<Row<I>>> |
initialize(List<Word<I>> initialShortPrefixes,
List<Word<I>> initialSuffixes,
MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> oracle)
Initializes an observation table using a specified set of suffixes.
|
void |
setNewAlphabetNotifier(Consumer<I> newAlphabetNotifier) |
List<List<Row<I>>> |
toShortPrefixes(List<Row<I>> lpRows,
MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> oracle)
Moves the specified rows to the set of short prefix rows.
|
addShortPrefixes, addSuffix, addSuffixes, buildQueries, buildRowQueries, checkInitialShortPrefixes, createLpRow, createSpRow, fetchResults, getInputAlphabet, getLongPrefixRows, getRow, getRow, getShortPrefixRows, getSuffixes, initializeSuffixes, isAccessSequence, isInitialConsistencyCheckRequired, isInitialized, makeShort, numberOfDistinctRows, numberOfRows, processContents, rowContents, setInputAlphabet, transformAccessSequenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcellContents, findDistinguishingSuffix, findDistinguishingSuffix, findDistinguishingSuffixIndex, findDistinguishingSuffixIndex, findInconsistency, findUnclosedRow, getAllPrefixes, getAllRows, getLongPrefixes, getRowSuccessor, getShortPrefixes, getSuffix, isClosed, isConsistent, numberOfLongPrefixRows, numberOfShortPrefixRows, numberOfSuffixeslongestASPrefixpublic List<List<Row<I>>> initialize(List<Word<I>> initialShortPrefixes, List<Word<I>> initialSuffixes, MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> oracle)
MutableObservationTableinitialSuffixes - the set of initial column labels.oracle - the MembershipOracle to use for performing queriespublic List<List<Row<I>>> toShortPrefixes(List<Row<I>> lpRows, MembershipOracle<I,Word<OutputAndLocalInputs<I,O>>> oracle)
MutableObservationTablelpRows - the rows to move to the set of short prefix rowsoracle - the membership oracleCopyright © 2019. All rights reserved.