Package net.automatalib.automaton
Interface DeterministicAutomaton.StateIntAbstraction<I,T>
-
- Type Parameters:
I- input symbol typeT- transition type
- All Superinterfaces:
DeterministicAutomaton.IntAbstraction<T>,FiniteRepresentation,SimpleDeterministicAutomaton.IntAbstraction,SimpleDeterministicAutomaton.StateIntAbstraction<I>
- All Known Subinterfaces:
MutableDeterministic.StateIntAbstraction<I,T,SP,TP>,UniversalDeterministicAutomaton.StateIntAbstraction<I,T,SP,TP>
- All Known Implementing Classes:
DeterministicAbstractions.StateIntAbstraction,MutableDeterministicAbstraction.StateIntAbstraction,UniversalDeterministicAbstractions.StateIntAbstraction
- Enclosing interface:
- DeterministicAutomaton<S,I,T>
public static interface DeterministicAutomaton.StateIntAbstraction<I,T> extends DeterministicAutomaton.IntAbstraction<T>, SimpleDeterministicAutomaton.StateIntAbstraction<I>
Interface forstate integer abstractionsof aDeterministicAutomaton.
-
-
Field Summary
-
Fields inherited from interface net.automatalib.automaton.simple.SimpleDeterministicAutomaton.IntAbstraction
INVALID_STATE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intgetSuccessor(int state, I input)Retrieves the (abstracted) successor state for a given (abstracted) source state and input symbol.@Nullable TgetTransition(int state, I input)Retrieves the outgoing transition for an (abstracted) source state and input symbol, or returnsnullif the automaton has no transition for this state and input.-
Methods inherited from interface net.automatalib.automaton.DeterministicAutomaton.IntAbstraction
getIntSuccessor
-
Methods inherited from interface net.automatalib.automaton.concept.FiniteRepresentation
size
-
Methods inherited from interface net.automatalib.automaton.simple.SimpleDeterministicAutomaton.IntAbstraction
getIntInitialState
-
-
-
-
Method Detail
-
getSuccessor
default int getSuccessor(int state, I input)Description copied from interface:SimpleDeterministicAutomaton.StateIntAbstractionRetrieves the (abstracted) successor state for a given (abstracted) source state and input symbol.- Specified by:
getSuccessorin interfaceSimpleDeterministicAutomaton.StateIntAbstraction<I>- Parameters:
state- the integer representing the source stateinput- the input symbol- Returns:
- the integer representing the successor state, or
SimpleDeterministicAutomaton.IntAbstraction.INVALID_STATEif there is no successor state.
-
getTransition
@Nullable T getTransition(int state, I input)
Retrieves the outgoing transition for an (abstracted) source state and input symbol, or returnsnullif the automaton has no transition for this state and input.- Parameters:
state- the integer representing the source stateinput- the input symbol- Returns:
- the outgoing transition, or
null
-
-