| Constructor and Description |
|---|
MealySimulatorSUL(net.automatalib.automata.transout.MealyMachine<?,I,?,O> mealy)
Constructor, using
null as the output for undefined transitions. |
MealySimulatorSUL(net.automatalib.automata.transout.MealyMachine<?,I,?,O> mealy,
O noTransOut)
Constructor.
|
public MealySimulatorSUL(net.automatalib.automata.transout.MealyMachine<?,I,?,O> mealy)
null as the output for undefined transitions.
This constructor is provided for convenience. It is equivalent to calling MealySimulatorSUL(MealyMachine,
Object) with null as the second argument.
mealy - Mealy machinepublic MealySimulatorSUL(net.automatalib.automata.transout.MealyMachine<?,I,?,O> mealy, O noTransOut)
If the given Mealy machine has no undefined transitions, the second parameter has no effect. Otherwise, if the
Mealy machine is partial and sequences of step(Object) invocations reach an undefined transition,
subsequent invocations of step(Object) will simply return the specified noTransOut symbol.
mealy - the Mealy machinenoTransOut - the output symbol to use when encountering undefined transitionspublic O step(I in) throws SULException
step in interface SUL<I,O>SULExceptionCopyright © 2018. All rights reserved.