public abstract class FastMutableNondet<S extends FastNondetState<S,T>,I,T,SP,TP> extends Object implements ShrinkableAutomaton<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 |
|---|
FastMutableNondet(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() |
Set<S> |
getInitialStates() |
Alphabet<I> |
getInputAlphabet() |
S |
getState(int id) |
int |
getStateId(S state) |
Collection<S> |
getStates() |
Collection<T> |
getTransitions(S state,
I input) |
void |
removeAllTransitions(S state) |
void |
removeState(S state,
S replacement) |
void |
setInitial(S state,
boolean initial) |
void |
setTransitions(S state,
I input,
Collection<? extends T> transitions) |
StateIDs<S> |
stateIDs() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveState, unlinkStateaddInitialState, addInitialState, addState, addTransition, addTransition, addTransitions, copyTransition, createTransition, removeAllTransitions, removeTransition, setStateProperty, setTransitionPropertytransitionGraphViewiterator, sizeforEach, spliteratorgetStateProperty, getTransitionPropertygetSuccessor, getSuccessors, powersetViewgetStates, getSuccessors, getSuccessorstransitionGraphViewgraphViewpublic Collection<S> getStates()
getStates in interface SimpleAutomaton<S extends FastNondetState<S,T>,I>public S getState(int id)
public int getStateId(S state)
getStateId in interface StateIDs<S extends FastNondetState<S,T>>public Set<S> getInitialStates()
getInitialStates in interface SimpleTS<S extends FastNondetState<S,T>,I>public Collection<T> getTransitions(S state, I input)
getTransitions in interface TransitionSystem<S extends FastNondetState<S,T>,I,T>public void clear()
clear in interface MutableAutomaton<S extends FastNondetState<S,T>,I,T,SP,TP>public S addState(SP property)
addState in interface MutableAutomaton<S extends FastNondetState<S,T>,I,T,SP,TP>public void setInitial(S state, boolean initial)
setInitial in interface MutableAutomaton<S extends FastNondetState<S,T>,I,T,SP,TP>public void removeState(S state, S replacement)
removeState in interface ShrinkableAutomaton<S extends FastNondetState<S,T>,I,T,SP,TP>public void removeAllTransitions(S state)
removeAllTransitions in interface MutableAutomaton<S extends FastNondetState<S,T>,I,T,SP,TP>public void setTransitions(S state, I input, Collection<? extends T> transitions)
setTransitions in interface MutableAutomaton<S extends FastNondetState<S,T>,I,T,SP,TP>public Alphabet<I> getInputAlphabet()
getInputAlphabet in interface InputAlphabetHolder<I>public StateIDs<S> stateIDs()
stateIDs in interface SimpleAutomaton<S extends FastNondetState<S,T>,I>public <V> MutableMapping<S,V> createStaticStateMapping()
createStaticStateMapping in interface SimpleAutomaton<S extends FastNondetState<S,T>,I>createStaticStateMapping in interface SimpleTS<S extends FastNondetState<S,T>,I>public <V> MutableMapping<S,V> createDynamicStateMapping()
createDynamicStateMapping in interface SimpleTS<S extends FastNondetState<S,T>,I>Copyright © 2015. All Rights Reserved.