Class MealyTransition<S,O>
- java.lang.Object
-
- net.automatalib.automaton.transducer.MealyTransition<S,O>
-
- Type Parameters:
S
- state class.O
- output symbol class.
public class MealyTransition<S,O> extends Object
A transition of a mealy machine, comprising a successor state and an output symbol.
-
-
Constructor Summary
Constructors Constructor Description MealyTransition(S successor, O output)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description O
getOutput()
Retrieves the output symbol.S
getSuccessor()
Retrieves the successor state.void
setOutput(O output)
Sets the output symbol.
-
-
-
Method Detail
-
getOutput
public O getOutput()
Retrieves the output symbol.- Returns:
- the output symbol.
-
setOutput
public void setOutput(O output)
Sets the output symbol.- Parameters:
output
- the new output symbol.
-
getSuccessor
public S getSuccessor()
Retrieves the successor state.- Returns:
- the successor state.
-
-