Class StackSBA<S,I>
- java.lang.Object
-
- net.automatalib.automaton.procedural.StackSBA<S,I>
-
- Type Parameters:
S- procedural state typeI- input symbol type
- All Implemented Interfaces:
FiniteRepresentation,InputAlphabetHolder<I>,Output<I,Boolean>,SuffixOutput<I,Boolean>,SBA<StackState<S,I,DFA<S,I>>,I>,GraphViewable,AcceptorTS<StackState<S,I,DFA<S,I>>,I>,DeterministicAcceptorTS<StackState<S,I,DFA<S,I>>,I>,DeterministicTransitionSystem<StackState<S,I,DFA<S,I>>,I,StackState<S,I,DFA<S,I>>>,SimpleDTS<StackState<S,I,DFA<S,I>>,I>,SimpleTS<StackState<S,I,DFA<S,I>>,I>,TransitionSystem<StackState<S,I,DFA<S,I>>,I,StackState<S,I,DFA<S,I>>>,UniversalDTS<StackState<S,I,DFA<S,I>>,I,StackState<S,I,DFA<S,I>>,Boolean,Void>,UniversalTransitionSystem<StackState<S,I,DFA<S,I>>,I,StackState<S,I,DFA<S,I>>,Boolean,Void>
public class StackSBA<S,I> extends Object implements SBA<StackState<S,I,DFA<S,I>>,I>, SimpleDTS<StackState<S,I,DFA<S,I>>,I>
A stack-based implementation for the (instrumented) language of anSBA.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description @Nullable IgetInitialProcedure()StackState<S,I,DFA<S,I>>getInitialState()ProceduralInputAlphabet<I>getInputAlphabet()default Collection<I>getProceduralInputs()default MgetProcedure(I arg0)Map<I,DFA<?,I>>getProcedures()StackState<S,I,DFA<S,I>>getTransition(StackState<S,I,DFA<S,I>> state, I input)default Graph<?,?>graphView()booleanisAccepting(StackState<S,I,DFA<S,I>> state)default intsize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.automatalib.ts.acceptor.AcceptorTS
getStateProperty, getSuccessor, getTransitionProperty
-
Methods inherited from interface net.automatalib.ts.acceptor.DeterministicAcceptorTS
accepts, computeSuffixOutput, isAccepting
-
Methods inherited from interface net.automatalib.ts.DeterministicTransitionSystem
getSuccessor, getSuccessors, getTransitions
-
Methods inherited from interface net.automatalib.automaton.procedural.SBA
computeOutput, getProceduralInputs
-
Methods inherited from interface net.automatalib.ts.simple.SimpleDTS
getInitialStates, getState, getStates, getSuccessor, getSuccessors, getSuccessors
-
Methods inherited from interface net.automatalib.ts.simple.SimpleTS
createDynamicStateMapping, createStaticStateMapping, getSuccessors
-
Methods inherited from interface net.automatalib.ts.TransitionSystem
powersetView
-
Methods inherited from interface net.automatalib.ts.UniversalDTS
getTransitionProperty
-
-
-
-
Method Detail
-
getTransition
public StackState<S,I,DFA<S,I>> getTransition(StackState<S,I,DFA<S,I>> state, I input)
- Specified by:
getTransitionin interfaceDeterministicTransitionSystem<StackState<S,I,DFA<S,I>>,I,StackState<S,I,DFA<S,I>>>
-
isAccepting
public boolean isAccepting(StackState<S,I,DFA<S,I>> state)
- Specified by:
isAcceptingin interfaceAcceptorTS<S,I>
-
getInitialState
public StackState<S,I,DFA<S,I>> getInitialState()
- Specified by:
getInitialStatein interfaceSimpleDTS<S,I>
-
getInputAlphabet
public ProceduralInputAlphabet<I> getInputAlphabet()
- Specified by:
getInputAlphabetin interfaceInputAlphabetHolder<S>
-
getProceduralInputs
public default Collection<I> getProceduralInputs()
-
size
public default int size()
- Specified by:
sizein interfaceFiniteRepresentation
-
graphView
public default Graph<?,?> graphView()
- Specified by:
graphViewin interfaceGraphViewable
-
-