Module net.automatalib.api
Package net.automatalib.ts.output
Interface DeterministicTransitionOutputTS<S,I,T,O>
- Type Parameters:
S- state typeI- input symbol typeT- transition typeO- output symbol type
- All Superinterfaces:
DeterministicOutputTS<S,,I, T, Word<O>> DeterministicSuffixOutputTS<S,,I, T, Word<O>> DeterministicTraceableTS<S,,I, T, O> DeterministicTransitionSystem<S,,I, T> InitialState<S>,InitialStates<S>,Output<I,,Word<O>> OutputTS<S,,I, T, Word<O>> SimpleDTS<S,,I> SimpleTS<S,,I> SuffixOutput<I,,Word<O>> TransitionOutput<T,,O> TransitionSystem<S,I, T>
- All Known Subinterfaces:
Lasso.MealyLasso<I,,O> MealyMachine<S,,I, T, O> MealyTransitionSystem<S,,I, T, O> MMLTSemantics<S,,I, T, O> MutableMealyMachine<S,,I, T, O> SPMM<S,,I, T, O> StateLocalInputMealyMachine<S,,I, T, O> TransitionOutputAutomaton<S,I, T, O>
- All Known Implementing Classes:
CompactMealy,DefaultMMLTSemantics,EmptySPMM,FastMealy,MealyLassoImpl,ReducedMMLTSemantics,StackSPMM
public interface DeterministicTransitionOutputTS<S,I,T,O>
extends DeterministicTraceableTS<S,I,T,O>, TransitionOutput<T,O>
A deterministic transition output transition system is a
deterministic output transition system that produces outputs based on its
transition outputs.-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the output for the given input symbol in the given state.default booleanTraces for a given state and input sequence, the observed outputs and writes them to the provided list.Methods inherited from interface net.automatalib.ts.output.DeterministicTraceableTS
computeStateOutput, computeSuffixOutput, traceMethods inherited from interface net.automatalib.ts.DeterministicTransitionSystem
getSuccessor, getSuccessors, getTransition, getTransitions, powersetViewMethods inherited from interface net.automatalib.automaton.concept.InitialState
getInitialState, getInitialStatesMethods inherited from interface net.automatalib.ts.simple.SimpleDTS
getState, getStates, getSuccessorMethods inherited from interface net.automatalib.ts.simple.SimpleTS
createDynamicStateMapping, createStaticStateMapping, getSuccessorsMethods inherited from interface net.automatalib.automaton.concept.SuffixOutput
computeOutputMethods inherited from interface net.automatalib.automaton.concept.TransitionOutput
getTransitionOutputMethods inherited from interface net.automatalib.ts.TransitionSystem
getSuccessor
-
Method Details
-
getOutput
Retrieves the output for the given input symbol in the given state. This is roughly equivalent to callingTransitionOutput.getTransitionOutput(Object)on the transition returned byDeterministicTransitionSystem.getTransition(Object, Object), however it should be noted that this function does not allow distinguishing between anulloutput and an undefined transition.- Parameters:
state- the source stateinput- the input symbol- Returns:
- the output symbol (or
nullif the transition is undefined)
-
trace
Description copied from interface:DeterministicTraceableTSTraces for a given state and input sequence, the observed outputs and writes them to the provided list.- Specified by:
tracein interfaceDeterministicTraceableTS<S,I, T, O> - Parameters:
state- the state from which to start the traversalinput- the input sequence to applyoutput- the output list to which the observed outputs should be written to- Returns:
trueif the complete input sequence could be applied,falseif undefined transitions have been encountered
-