I
- The input type.D
- The output domain type.public class SimpleObservationTable<I,D> extends Object implements ObservationTable<I,D>
ObservationTable
without providing any meaningful
functionality. It is used to store the result of reading string representations like with OTUtils.fromString(String, net.automatalib.words.Alphabet, ObservationTableReader)
.NO_DISTINGUISHING_SUFFIX
Constructor and Description |
---|
SimpleObservationTable(List<? extends net.automatalib.words.Word<I>> suffixes) |
Modifier and Type | Method and Description |
---|---|
D |
cellContents(Row<I> row,
int columnId) |
net.automatalib.words.Alphabet<I> |
getInputAlphabet()
Retrieves the input alphabet used in this observation table.
|
Collection<Row<I>> |
getLongPrefixRows() |
Row<I> |
getRow(int idx) |
Row<I> |
getRow(net.automatalib.words.Word<I> prefix) |
Collection<Row<I>> |
getShortPrefixRows() |
List<net.automatalib.words.Word<I>> |
getSuffixes()
Retrieves all suffixes in the table.
|
boolean |
isAccessSequence(net.automatalib.words.Word<I> word) |
int |
numberOfDistinctRows()
Returns the number of distinct (regarding row values) rows in this observation table.
|
List<D> |
rowContents(Row<I> row) |
net.automatalib.words.Word<I> |
transformAccessSequence(net.automatalib.words.Word<I> word) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findDistinguishingSuffix, findDistinguishingSuffix, findDistinguishingSuffixIndex, findDistinguishingSuffixIndex, findInconsistency, findUnclosedRow, getAllPrefixes, getAllRows, getLongPrefixes, getRowSuccessor, getShortPrefixes, getSuffix, isClosed, isConsistent, numberOfLongPrefixRows, numberOfRows, numberOfShortPrefixRows, numberOfSuffixes
longestASPrefix
@Nonnull public Collection<Row<I>> getShortPrefixRows()
getShortPrefixRows
in interface ObservationTable<I,D>
@Nonnull public Collection<Row<I>> getLongPrefixRows()
getLongPrefixRows
in interface ObservationTable<I,D>
@Nullable public Row<I> getRow(int idx)
getRow
in interface ObservationTable<I,D>
@Nonnull public Row<I> getRow(net.automatalib.words.Word<I> prefix) throws NoSuchRowException
getRow
in interface ObservationTable<I,D>
NoSuchRowException
public int numberOfDistinctRows()
ObservationTable
numberOfDistinctRows
in interface ObservationTable<I,D>
Row.getRowContentId()
@Nonnull public List<net.automatalib.words.Word<I>> getSuffixes()
ObservationTable
getSuffixes
in interface ObservationTable<I,D>
public net.automatalib.words.Alphabet<I> getInputAlphabet()
ObservationTable
getInputAlphabet
in interface ObservationTable<I,D>
public D cellContents(Row<I> row, int columnId)
cellContents
in interface ObservationTable<I,D>
public List<D> rowContents(Row<I> row)
rowContents
in interface ObservationTable<I,D>
public net.automatalib.words.Word<I> transformAccessSequence(net.automatalib.words.Word<I> word)
transformAccessSequence
in interface AccessSequenceTransformer<I>
public boolean isAccessSequence(net.automatalib.words.Word<I> word)
isAccessSequence
in interface AccessSequenceTransformer<I>
Copyright © 2018. All rights reserved.