Class MealyTransition<S,O>

java.lang.Object
net.automatalib.automaton.transducer.impl.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 Details

    • MealyTransition

      public MealyTransition(S successor, O output)
      Constructor.
      Parameters:
      successor - successor state.
      output - output symbol.
  • Method Details

    • 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.