I - input symbol typeT - transition typeSP - state property typeTP - transition property type@ParametersAreNonnullByDefault public abstract class AbstractCompactDeterministic<I,T,SP,TP> extends AbstractCompact<I,T,SP,TP> implements MutableDeterministic<Integer,I,T,SP,TP>, MutableDeterministic.StateIntAbstraction<I,T,SP,TP>, MutableDeterministic.FullIntAbstraction<T,SP,TP>, Serializable
AbstractCompact for deterministic automata. This class provides default
implementations for several of the MutableDeterministic.FullIntAbstraction concepts, such that subclasses
only need to care about the primitive-based implementations.AbstractCompact.PayloadMutableDeterministic.FullIntAbstraction<T,SP,TP>, MutableDeterministic.IntAbstraction<T,SP,TP>, MutableDeterministic.StateIntAbstraction<I,T,SP,TP>MutableDeterministic.StateIntAbstraction.DefaultAbstraction<S,I,T,SP,TP,A extends MutableDeterministic<S,I,T,SP,TP>>MutableDeterministic.FullIntAbstraction.DefaultAbstraction<I,T,SP,TP,A extends MutableDeterministic.StateIntAbstraction<I,T,SP,TP>>DEFAULT_INIT_CAPACITY, DEFAULT_RESIZE_FACTOR, INVALID_STATEINVALID_STATE| Constructor and Description |
|---|
AbstractCompactDeterministic(Alphabet<I> alphabet,
AbstractCompactDeterministic<?,?,?,?> other) |
AbstractCompactDeterministic(Alphabet<I> alphabet,
int stateCapacity,
float resizeFactor) |
| Modifier and Type | Method and Description |
|---|---|
int |
addIntInitialState(SP property) |
void |
clear() |
T |
createTransition(Integer successor,
TP properties) |
MutableDeterministic.FullIntAbstraction<T,SP,TP> |
fullIntAbstraction(Alphabet<I> alphabet) |
Integer |
getInitialState() |
int |
getIntInitialState() |
Collection<I> |
getLocalInputs(Integer state) |
SP |
getStateProperty(Integer state) |
Integer |
getSuccessor(T transition) |
T |
getTransition(Integer state,
I input) |
T |
getTransition(int state,
I input) |
DeterministicPowersetView<Integer,I,T> |
powersetView() |
void |
setInitialState(int stateId) |
void |
setInitialState(Integer state) |
void |
setStateProperty(Integer state,
SP property) |
void |
setTransition(Integer state,
I input,
T transition) |
void |
setTransition(int state,
I input,
int successor,
TP property) |
void |
setTransition(int state,
I input,
T transition) |
MutableDeterministic.StateIntAbstraction<I,T,SP,TP> |
stateIntAbstraction() |
addAlphabetSymbol, addIntState, addState, getInputAlphabet, getState, getStateId, getStates, getSymbolIndex, numInputs, setStateProperty, size, stateIDs, toId, toMemoryIndex, toState, updateStateStorage, updateStateStorage, updateTransitionStorage, updateTransitionStorage, updateTransitionStorage, updateTransitionStorageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTransition, fullIntAbstraction, removeAllTransitions, removeTransition, setInitial, setTransition, setTransitionsgetTransitionPropertygetSuccessor, getSuccessors, getTransitions, transToSetgetInitialStates, getState, getStates, getSuccessor, getSuccessors, stateToSetaddInitialState, addInitialState, addState, addState, addTransition, addTransitions, copyTransition, removeAllTransitions, setTransitionPropertytransitionGraphViewcreateStaticStateMapping, getStates, iterator, size, stateIDsforEach, spliteratorgetTransitionPropertycreateDynamicStateMapping, getSuccessorsgetTransitionPropertygetSuccessorsetTransition, setTransitionaddIntInitialState, addIntState, addIntState, createTransition, setStateProperty, setTransitionPropertygetTransitionPropertygetStateProperty, getTransitionPropertygetSuccessor, getTransitiongetIntSuccessornumInputssizetransitionGraphViewgraphViewpublic AbstractCompactDeterministic(Alphabet<I> alphabet, int stateCapacity, float resizeFactor)
public AbstractCompactDeterministic(Alphabet<I> alphabet, AbstractCompactDeterministic<?,?,?,?> other)
public void setInitialState(@Nullable Integer state)
setInitialState in interface MutableDeterministic<Integer,I,T,SP,TP>public void setInitialState(int stateId)
setInitialState in interface MutableDeterministic.IntAbstraction<T,SP,TP>@Nullable public SP getStateProperty(Integer state)
getStateProperty in interface UniversalTransitionSystem<Integer,I,T,SP,TP>public int getIntInitialState()
getIntInitialState in interface SimpleDeterministicAutomaton.IntAbstractionpublic Integer getInitialState()
getInitialState in interface SimpleDTS<Integer,I>public T getTransition(int state, @Nullable I input)
getTransition in interface DeterministicAutomaton.StateIntAbstraction<I,T>@Nullable public T getTransition(Integer state, @Nullable I input)
getTransition in interface DeterministicTransitionSystem<Integer,I,T>public void setTransition(Integer state, @Nullable I input, @Nullable T transition)
setTransition in interface MutableDeterministic<Integer,I,T,SP,TP>public void setTransition(int state,
I input,
T transition)
setTransition in interface MutableDeterministic.StateIntAbstraction<I,T,SP,TP>public void setTransition(int state,
I input,
int successor,
TP property)
setTransition in interface MutableDeterministic.StateIntAbstraction<I,T,SP,TP>public void setStateProperty(Integer state, @Nullable SP property)
setStateProperty in interface MutableAutomaton<Integer,I,T,SP,TP>@Nonnull public T createTransition(Integer successor, @Nullable TP properties)
createTransition in interface MutableAutomaton<Integer,I,T,SP,TP>public int addIntInitialState(@Nullable SP property)
addIntInitialState in interface MutableDeterministic.IntAbstraction<T,SP,TP>public Integer getSuccessor(T transition)
getSuccessor in interface TransitionSystem<Integer,I,T>public void clear()
public MutableDeterministic.FullIntAbstraction<T,SP,TP> fullIntAbstraction(Alphabet<I> alphabet)
fullIntAbstraction in interface DeterministicAutomaton<Integer,I,T>fullIntAbstraction in interface MutableDeterministic<Integer,I,T,SP,TP>fullIntAbstraction in interface SimpleDeterministicAutomaton<Integer,I>fullIntAbstraction in interface UniversalDeterministicAutomaton<Integer,I,T,SP,TP>public MutableDeterministic.StateIntAbstraction<I,T,SP,TP> stateIntAbstraction()
stateIntAbstraction in interface DeterministicAutomaton<Integer,I,T>stateIntAbstraction in interface MutableDeterministic<Integer,I,T,SP,TP>stateIntAbstraction in interface SimpleDeterministicAutomaton<Integer,I>stateIntAbstraction in interface UniversalDeterministicAutomaton<Integer,I,T,SP,TP>public DeterministicPowersetView<Integer,I,T> powersetView()
powersetView in interface TransitionSystem<Integer,I,T>public Collection<I> getLocalInputs(Integer state)
getLocalInputs in interface StateLocalInput<Integer,I>getLocalInputs in class AbstractCompact<I,T,SP,TP>Copyright © 2019. All rights reserved.