Class DeterministicAbstractions.FullIntAbstraction<I,T,A extends DeterministicAutomaton.StateIntAbstraction<I,T>>
- java.lang.Object
-
- net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.FullIntAbstraction<I,A>
-
- net.automatalib.automaton.abstraction.DeterministicAbstractions.FullIntAbstraction<I,T,A>
-
- All Implemented Interfaces:
FiniteRepresentation
,DeterministicAutomaton.FullIntAbstraction<T>
,DeterministicAutomaton.IntAbstraction<T>
,SimpleDeterministicAutomaton.FullIntAbstraction
,SimpleDeterministicAutomaton.IntAbstraction
- Direct Known Subclasses:
UniversalDeterministicAbstractions.FullIntAbstraction
- Enclosing interface:
- DeterministicAbstractions
public static class DeterministicAbstractions.FullIntAbstraction<I,T,A extends DeterministicAutomaton.StateIntAbstraction<I,T>> extends SimpleDeterministicAbstractions.FullIntAbstraction<I,A> implements DeterministicAutomaton.FullIntAbstraction<T>
-
-
Field Summary
-
Fields inherited from class net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.FullIntAbstraction
numInputs, stateAbstraction, symMapping
-
Fields inherited from interface net.automatalib.automaton.simple.SimpleDeterministicAutomaton.IntAbstraction
INVALID_STATE
-
-
Constructor Summary
Constructors Constructor Description FullIntAbstraction(A stateAbstraction, int numInputs, IntFunction<? extends I> symMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIntSuccessor(T transition)
Retrieves the (abstracted) successor of a transition object.@Nullable T
getTransition(int state, int input)
Retrieves the outgoing transition for an (abstracted) source state and (abstracted) input symbol, or returnsnull
if the automaton has no transition for this state and input.-
Methods inherited from class net.automatalib.automaton.abstraction.SimpleDeterministicAbstractions.FullIntAbstraction
getIntInitialState, getSuccessor, intToSym, numInputs, size
-
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.DeterministicAutomaton.FullIntAbstraction
getSuccessor
-
Methods inherited from interface net.automatalib.automaton.concept.FiniteRepresentation
size
-
Methods inherited from interface net.automatalib.automaton.simple.SimpleDeterministicAutomaton.FullIntAbstraction
numInputs
-
Methods inherited from interface net.automatalib.automaton.simple.SimpleDeterministicAutomaton.IntAbstraction
getIntInitialState
-
-
-
-
Constructor Detail
-
FullIntAbstraction
public FullIntAbstraction(A stateAbstraction, int numInputs, IntFunction<? extends I> symMapping)
-
-
Method Detail
-
getTransition
public @Nullable T getTransition(int state, int input)
Description copied from interface:DeterministicAutomaton.FullIntAbstraction
Retrieves the outgoing transition for an (abstracted) source state and (abstracted) input symbol, or returnsnull
if the automaton has no transition for this state and input.- Specified by:
getTransition
in interfaceDeterministicAutomaton.FullIntAbstraction<I>
- Parameters:
state
- the integer representing the source stateinput
- the integer representing the input symbol- Returns:
- the outgoing transition, or
null
-
getIntSuccessor
public int getIntSuccessor(T transition)
Description copied from interface:DeterministicAutomaton.IntAbstraction
Retrieves the (abstracted) successor of a transition object.- Specified by:
getIntSuccessor
in interfaceDeterministicAutomaton.IntAbstraction<I>
- Parameters:
transition
- the transition object- Returns:
- the integer representing the successor of the given transition
-
-