public abstract class AbstractFastMutable<S extends AbstractFastState<?>,I,T,SP,TP> extends Object implements ShrinkableAutomaton<S,I,T,SP,TP>, UniversalFiniteAlphabetAutomaton<S,I,T,SP,TP>, StateIDs<S>, SupportsGrowingAlphabet<I>, StateLocalInput<S,I>, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Alphabet<I> |
inputAlphabet |
| Constructor and Description |
|---|
AbstractFastMutable(Alphabet<I> inputAlphabet) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlphabetSymbol(I symbol) |
S |
addState(SP property) |
void |
clear() |
<V> MutableMapping<S,V> |
createDynamicStateMapping() |
protected abstract S |
createState(SP property) |
Alphabet<I> |
getInputAlphabet() |
S |
getState(int id) |
int |
getStateId(S state) |
Collection<S> |
getStates() |
void |
removeAllTransitions(S state) |
void |
removeState(S state,
S replacement) |
StateIDs<S> |
stateIDs() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveState, unlinkStateaddInitialState, addInitialState, addState, addTransition, addTransition, addTransitions, copyTransition, createTransition, removeAllTransitions, removeTransition, setInitial, setStateProperty, setTransitionProperty, setTransitionstransitionGraphViewcreateStaticStateMapping, iterator, sizeforEach, spliteratorgetStateProperty, getTransitionPropertygetSuccessor, getSuccessors, getTransitions, powersetViewgetInitialStates, getStates, getSuccessors, getSuccessorstransitionGraphViewgraphViewgetLocalInputspublic int getStateId(S state)
getStateId in interface StateIDs<S extends AbstractFastState<?>>public S getState(int id)
getState in interface StateIDs<S extends AbstractFastState<?>>public S addState(SP property)
addState in interface MutableAutomaton<S extends AbstractFastState<?>,I,T,SP,TP>public void removeAllTransitions(S state)
removeAllTransitions in interface MutableAutomaton<S extends AbstractFastState<?>,I,T,SP,TP>public void removeState(S state, S replacement)
removeState in interface ShrinkableAutomaton<S extends AbstractFastState<?>,I,T,SP,TP>public void clear()
clear in interface MutableAutomaton<S extends AbstractFastState<?>,I,T,SP,TP>public Alphabet<I> getInputAlphabet()
getInputAlphabet in interface InputAlphabetHolder<I>public <V> MutableMapping<S,V> createDynamicStateMapping()
createDynamicStateMapping in interface SimpleTS<S extends AbstractFastState<?>,I>public void addAlphabetSymbol(I symbol) throws GrowingAlphabetNotSupportedException
addAlphabetSymbol in interface SupportsGrowingAlphabet<I>GrowingAlphabetNotSupportedExceptionpublic Collection<S> getStates()
getStates in interface SimpleAutomaton<S extends AbstractFastState<?>,I>public StateIDs<S> stateIDs()
stateIDs in interface SimpleAutomaton<S extends AbstractFastState<?>,I>Copyright © 2019. All rights reserved.