I - input symbol typepublic abstract class TTTHypothesis<I,D,T> extends Object implements DeterministicAutomaton<TTTState<I,D>,I,T>, FiniteAlphabetAutomaton<TTTState<I,D>,I,T>
TTT algorithm.| Modifier and Type | Class and Description |
|---|---|
class |
TTTHypothesis.GraphView |
static class |
TTTHypothesis.TTTEdge<I,D> |
| Constructor and Description |
|---|
TTTHypothesis(Alphabet<I> alphabet)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TTTState<I,D> |
createState(TTTTransition<I,D> parent) |
TTTState<I,D> |
getInitialState() |
Alphabet<I> |
getInputAlphabet() |
TTTTransition<I,D> |
getInternalTransition(TTTState<I,D> state,
I input)
Retrieves the internal transition (i.e., the
TTTTransition object)
for a given state and input. |
Collection<TTTState<I,D>> |
getStates() |
T |
getTransition(TTTState<I,D> state,
I input) |
TTTHypothesis.GraphView |
graphView() |
TTTState<I,D> |
initialize()
Initializes the automaton, adding an initial state.
|
boolean |
isInitialized()
Checks whether this automaton was initialized (i.e.,
initialize() has been called). |
protected abstract T |
mapTransition(TTTTransition<I,D> internalTransition) |
protected TTTState<I,D> |
newState(int alphabetSize,
TTTTransition<I,D> parent,
int id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSuccessor, getSuccessors, getTransitions, transToSetgetInitialStates, getState, getStates, getSuccessor, getSuccessors, stateToSettransitionGraphViewtransitionGraphViewgetSuccessor, powersetViewcreateStaticStateMapping, iterator, size, stateIDscreateDynamicStateMapping, getSuccessorsforEach, spliteratorpublic Collection<TTTState<I,D>> getStates()
public T getTransition(TTTState<I,D> state, I input)
getTransition in interface DeterministicTransitionSystem<TTTState<I,D>,I,T>protected abstract T mapTransition(TTTTransition<I,D> internalTransition)
public boolean isInitialized()
initialize() has been called).true if this automaton was initialized, false
otherwise.public TTTState<I,D> initialize()
public TTTTransition<I,D> getInternalTransition(TTTState<I,D> state, I input)
TTTTransition object)
for a given state and input. This method is required since the DFA interface
requires the return value of getTransition(TTTState, Object) to
refer to the successor state directly.state - the source stateinput - the input symbol triggering the transitionpublic Alphabet<I> getInputAlphabet()
getInputAlphabet in interface InputAlphabetHolder<I>public TTTHypothesis.GraphView graphView()
graphView in interface FiniteAlphabetAutomaton<TTTState<I,D>,I,T>graphView in interface GraphViewableCopyright © 2015. All Rights Reserved.