Module net.automatalib.core
Package net.automatalib.automaton.impl
Class UniversalCompactSimpleDet<I,SP>
java.lang.Object
net.automatalib.automaton.base.AbstractCompact<I,T,SP,TP>
net.automatalib.automaton.base.AbstractCompactDeterministic<I,Integer,SP,Void>
net.automatalib.automaton.base.AbstractCompactSimpleDeterministic<I,SP>
net.automatalib.automaton.impl.UniversalCompactSimpleDet<I,SP>
- Type Parameters:
I- input symbol typeSP- state property type
- All Implemented Interfaces:
Iterable<Integer>,SupportsGrowingAlphabet<I>,DeterministicAbstractions.FullIntAbstraction<Integer>,DeterministicAbstractions.IntAbstraction<Integer>,DeterministicAbstractions.StateIntAbstraction<I,,Integer> MutableDeterministicAbstractions.FullIntAbstraction<Integer,,SP, Void> MutableDeterministicAbstractions.IntAbstraction<Integer,,SP, Void> MutableDeterministicAbstractions.StateIntAbstraction<I,,Integer, SP, Void> SimpleDeterministicAbstractions.FullIntAbstraction,SimpleDeterministicAbstractions.IntAbstraction,SimpleDeterministicAbstractions.StateIntAbstraction<I>,UniversalDeterministicAbstractions.FullIntAbstraction<Integer,,SP, Void> UniversalDeterministicAbstractions.IntAbstraction<Integer,,SP, Void> UniversalDeterministicAbstractions.StateIntAbstraction<I,,Integer, SP, Void> Automaton<Integer,,I, Integer> FiniteRepresentation,InitialState<Integer>,InitialStates<Integer>,InputAlphabetHolder<I>,StateIDs<Integer>,StateLocalInput<Integer,,I> DeterministicAutomaton<Integer,,I, Integer> FiniteAlphabetAutomaton<Integer,,I, Integer> MutableAutomaton<Integer,,I, Integer, SP, Void> MutableDeterministic<Integer,,I, Integer, SP, Void> SimpleAutomaton<Integer,,I> SimpleDeterministicAutomaton<Integer,,I> UniversalAutomaton<Integer,,I, Integer, SP, Void> UniversalDeterministicAutomaton<Integer,,I, Integer, SP, Void> UniversalFiniteAlphabetAutomaton<Integer,,I, Integer, SP, Void> GraphViewable,DeterministicTransitionSystem<Integer,,I, Integer> SimpleDTS<Integer,,I> SimpleTS<Integer,,I> TransitionSystem<Integer,,I, Integer> UniversalDTS<Integer,,I, Integer, SP, Void> UniversalTransitionSystem<Integer,I, Integer, SP, Void>
- Direct Known Subclasses:
CompactMoore
A
AbstractCompactSimpleDeterministic-based implementation for automata that need to store generic state
properties.-
Nested Class Summary
Nested classes/interfaces inherited from class net.automatalib.automaton.base.AbstractCompact
AbstractCompact.PayloadNested classes/interfaces inherited from interface net.automatalib.automaton.Automaton
Automaton.RegularAutomaton<S,I, T> Nested classes/interfaces inherited from interface net.automatalib.automaton.MutableAutomaton
MutableAutomaton.RegularAutomaton<S,I, T, SP, TP> Nested classes/interfaces inherited from interface net.automatalib.automaton.MutableDeterministic
MutableDeterministic.RegularAutomaton<S,I, T, SP, TP> Nested classes/interfaces inherited from interface net.automatalib.automaton.UniversalAutomaton
UniversalAutomaton.RegularAutomaton<S,I, T, SP, TP> -
Field Summary
Fields inherited from class net.automatalib.automaton.base.AbstractCompactSimpleDeterministic
transitionsFields inherited from class net.automatalib.automaton.base.AbstractCompact
DEFAULT_INIT_CAPACITY, DEFAULT_RESIZE_FACTOR, INVALID_STATEFields inherited from interface net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.IntAbstraction
INVALID_STATE -
Constructor Summary
ConstructorsModifierConstructorDescriptionUniversalCompactSimpleDet(Alphabet<I> alphabet) UniversalCompactSimpleDet(Alphabet<I> alphabet, int stateCapacity, float resizeFactor) protectedUniversalCompactSimpleDet(Alphabet<I> alphabet, UniversalCompactSimpleDet<?, SP> other) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Removes all states and transitions.getStateProperty(int stateId) Retrieves the state property of a given (abstracted) state.voidsetStateProperty(int stateId, SP property) protected voidImplementing classes should override this method in order to react to changes to the layout of their array-based state data, e.g. due to calls toMutableAutomaton.addState().Methods inherited from class net.automatalib.automaton.base.AbstractCompactSimpleDeterministic
createTransition, getIntSuccessor, getState, getSuccessor, getSuccessor, getTransition, getTransitionProperty, getTransitionProperty, removeAllTransitions, setTransition, setTransition, setTransition, setTransitionProperty, updateTransitionStorageMethods inherited from class net.automatalib.automaton.base.AbstractCompactDeterministic
addIntInitialState, createTransition, fullIntAbstraction, getInitialState, getIntInitialState, getLocalInputs, getSuccessor, getSuccessor, getTransition, getTransition, setInitialState, setInitialState, setTransition, setTransition, setTransition, stateIntAbstractionMethods inherited from class net.automatalib.automaton.base.AbstractCompact
addAlphabetSymbol, addIntState, addState, getInputAlphabet, getState, getStateId, getStateProperty, getStates, getSymbolIndex, numInputs, setStateProperty, size, stateIDs, toId, toMemoryIndex, toState, updateStateStorage, updateTransitionStorage, updateTransitionStorage, updateTransitionStorageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.automatalib.ts.DeterministicTransitionSystem
getSuccessor, getSuccessors, getTransitions, powersetViewMethods inherited from interface net.automatalib.automaton.FiniteAlphabetAutomaton
getTransitions, graphViewMethods inherited from interface net.automatalib.automaton.concept.InitialState
getInitialStatesMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface net.automatalib.automaton.MutableAutomaton
addInitialState, addInitialState, addState, addState, addTransition, addTransitions, copyTransition, setStatePropertyMethods inherited from interface net.automatalib.automaton.MutableDeterministic
addTransition, fullIntAbstraction, removeAllTransitions, removeTransition, setInitial, setTransition, setTransitionsMethods inherited from interface net.automatalib.automaton.abstraction.MutableDeterministicAbstractions.IntAbstraction
addIntInitialState, addIntState, addIntStateMethods inherited from interface net.automatalib.automaton.simple.SimpleAutomaton
createDynamicStateMapping, createStaticStateMapping, getStates, iterator, size, stateIDsMethods inherited from interface net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.FullIntAbstraction
numInputsMethods inherited from interface net.automatalib.ts.simple.SimpleDTS
getStates, getSuccessorsMethods inherited from interface net.automatalib.ts.simple.SimpleTS
getSuccessorsMethods inherited from interface net.automatalib.automaton.UniversalAutomaton
transitionGraphViewMethods inherited from interface net.automatalib.automaton.abstraction.UniversalDeterministicAbstractions.StateIntAbstraction
getTransitionPropertyMethods inherited from interface net.automatalib.ts.UniversalDTS
getTransitionPropertyMethods inherited from interface net.automatalib.automaton.UniversalFiniteAlphabetAutomaton
transitionGraphViewMethods inherited from interface net.automatalib.ts.UniversalTransitionSystem
getStateProperty
-
Constructor Details
-
UniversalCompactSimpleDet
-
UniversalCompactSimpleDet
-
UniversalCompactSimpleDet
-
UniversalCompactSimpleDet
-
-
Method Details
-
clear
public void clear()Description copied from interface:MutableAutomatonRemoves all states and transitions. -
setStateProperty
- Specified by:
setStatePropertyin interfaceMutableDeterministicAbstractions.IntAbstraction<Integer,SP, Void> - Specified by:
setStatePropertyin classAbstractCompact<I,Integer, SP, Void>
-
getStateProperty
Description copied from interface:UniversalDeterministicAbstractions.IntAbstractionRetrieves the state property of a given (abstracted) state.- Specified by:
getStatePropertyin interfaceUniversalDeterministicAbstractions.IntAbstraction<Integer,SP, Void> - Specified by:
getStatePropertyin classAbstractCompact<I,Integer, SP, Void> - Parameters:
stateId- the integer representing the state of which to retrieve the property- Returns:
- the property for the given state
-
updateStateStorage
Description copied from class:AbstractCompactImplementing classes should override this method in order to react to changes to the layout of their array-based state data, e.g. due to calls toMutableAutomaton.addState().Subclasses may use one of the
AbstractCompact.updateStateStorage(Object[], Object, Payload)... methods to conveniently delegate this task to this base class. This leaves subclasses only with the task to invoke the provided update methods for each of their local array storages.- Overrides:
updateStateStoragein classAbstractCompact<I,Integer, SP, Void> - Parameters:
payload- the payload containing the necessary information for the update operation. This object must be passed as-is to theAbstractCompact.updateStateStorage(Object[], Object, Payload)... methods.
-