public abstract class FastMutableDet<S extends FastDetState<S,T>,I,T,SP,TP> extends Object implements ShrinkableDeterministic<S,I,T,SP,TP>, UniversalFiniteAlphabetAutomaton<S,I,T,SP,TP>, StateIDs<S>
| Modifier and Type | Field and Description |
|---|---|
protected Alphabet<I> |
inputAlphabet |
| Constructor and Description |
|---|
FastMutableDet(Alphabet<I> inputAlphabet) |
| Modifier and Type | Method and Description |
|---|---|
S |
addState(SP property) |
void |
clear() |
<V> MutableMapping<S,V> |
createDynamicStateMapping() |
protected abstract S |
createState(SP property) |
<V> MutableMapping<S,V> |
createStaticStateMapping() |
S |
getInitialState() |
Alphabet<I> |
getInputAlphabet() |
S |
getState(int id) |
int |
getStateId(S state) |
Collection<S> |
getStates() |
T |
getTransition(S state,
I input) |
void |
removeAllTransitions(S state) |
void |
removeState(S state,
S replacement) |
void |
setInitialState(S state) |
void |
setTransition(S state,
I input,
T transition) |
StateIDs<S> |
stateIDs() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTransition, removeAllTransitions, removeTransition, setInitial, setTransition, setTransitionsgetSuccessor, getSuccessors, getTransitions, transToSetgetInitialStates, getState, getStates, getSuccessor, getSuccessors, stateToSetremoveState, unlinkStateaddInitialState, addInitialState, addState, addTransition, addTransitions, copyTransition, createTransition, setStateProperty, setTransitionPropertytransitionGraphViewiterator, sizeforEach, spliteratorgetStateProperty, getTransitionPropertygetSuccessor, powersetViewgetSuccessorstransitionGraphViewgraphViewpublic Collection<S> getStates()
getStates in interface SimpleAutomaton<S extends FastDetState<S,T>,I>public S getState(int id)
public int getStateId(S state)
getStateId in interface StateIDs<S extends FastDetState<S,T>>public void setInitialState(S state)
setInitialState in interface MutableDeterministic<S extends FastDetState<S,T>,I,T,SP,TP>public void setTransition(S state, I input, T transition)
setTransition in interface MutableDeterministic<S extends FastDetState<S,T>,I,T,SP,TP>public S getInitialState()
getInitialState in interface SimpleDTS<S extends FastDetState<S,T>,I>public T getTransition(S state, I input)
getTransition in interface DeterministicTransitionSystem<S extends FastDetState<S,T>,I,T>public void clear()
clear in interface MutableAutomaton<S extends FastDetState<S,T>,I,T,SP,TP>public S addState(SP property)
addState in interface MutableAutomaton<S extends FastDetState<S,T>,I,T,SP,TP>public void removeState(S state, S replacement)
removeState in interface ShrinkableAutomaton<S extends FastDetState<S,T>,I,T,SP,TP>public Alphabet<I> getInputAlphabet()
getInputAlphabet in interface InputAlphabetHolder<I>public void removeAllTransitions(S state)
removeAllTransitions in interface MutableAutomaton<S extends FastDetState<S,T>,I,T,SP,TP>public StateIDs<S> stateIDs()
stateIDs in interface SimpleAutomaton<S extends FastDetState<S,T>,I>public <V> MutableMapping<S,V> createStaticStateMapping()
createStaticStateMapping in interface SimpleAutomaton<S extends FastDetState<S,T>,I>createStaticStateMapping in interface SimpleTS<S extends FastDetState<S,T>,I>public <V> MutableMapping<S,V> createDynamicStateMapping()
createDynamicStateMapping in interface SimpleTS<S extends FastDetState<S,T>,I>Copyright © 2015. All Rights Reserved.