Class SimpleDeterministicAbstractions.StateIntAbstraction<S,I,A extends SimpleDeterministicAutomaton<S,I>>
- java.lang.Object
-
- net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.IntAbstraction<S,A>
-
- net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.StateIntAbstraction<S,I,A>
-
- Type Parameters:
S
- state typeI
- input symbol typeA
- automaton type
- All Implemented Interfaces:
FiniteRepresentation
,SimpleDeterministicAutomaton.IntAbstraction
,SimpleDeterministicAutomaton.StateIntAbstraction<I>
- Direct Known Subclasses:
DeterministicAbstractions.StateIntAbstraction
- Enclosing interface:
- SimpleDeterministicAbstractions
public static class SimpleDeterministicAbstractions.StateIntAbstraction<S,I,A extends SimpleDeterministicAutomaton<S,I>> extends SimpleDeterministicAbstractions.IntAbstraction<S,A> implements SimpleDeterministicAutomaton.StateIntAbstraction<I>
Base class implementing the default way of obtaining aSimpleDeterministicAutomaton.StateIntAbstraction
.
-
-
Field Summary
-
Fields inherited from class net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.IntAbstraction
automaton, stateIds
-
Fields inherited from interface net.automatalib.automaton.simple.SimpleDeterministicAutomaton.IntAbstraction
INVALID_STATE
-
-
Constructor Summary
Constructors Constructor Description StateIntAbstraction(A automaton)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSuccessor(int state, I input)
Retrieves the (abstracted) successor state for a given (abstracted) source state and input symbol.-
Methods inherited from class net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.IntAbstraction
getIntInitialState, intToState, safeIntToState, safeStateToInt, size, stateToInt
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.automatalib.automaton.concept.FiniteRepresentation
size
-
Methods inherited from interface net.automatalib.automaton.simple.SimpleDeterministicAutomaton.IntAbstraction
getIntInitialState
-
-
-
-
Constructor Detail
-
StateIntAbstraction
public StateIntAbstraction(A automaton)
-
-
Method Detail
-
getSuccessor
public int getSuccessor(int state, I input)
Description copied from interface:SimpleDeterministicAutomaton.StateIntAbstraction
Retrieves the (abstracted) successor state for a given (abstracted) source state and input symbol.- Specified by:
getSuccessor
in interfaceSimpleDeterministicAutomaton.StateIntAbstraction<S>
- Parameters:
state
- the integer representing the source stateinput
- the input symbol- Returns:
- the integer representing the successor state, or
SimpleDeterministicAutomaton.IntAbstraction.INVALID_STATE
if there is no successor state.
-
-