Class MooreBuilder.MooreBuilder0

java.lang.Object
net.automatalib.util.automaton.builder.MooreBuilder.MooreBuilder0
Enclosing class:
MooreBuilder<S,I,T,O,A extends MutableMooreMachine<S,? super I,T,? super O>>

public final class MooreBuilder.MooreBuilder0 extends Object
A state (-class) of the enclosing fluent interface.
  • Method Details

    • create

      public A create()
      Returns the constructed automaton.
      Returns:
      the automaton
    • from

      public MooreBuilder<S,I,T,O,A>.MooreBuilder2 from(Object stateId)
      Starts a definition of transition(s) from a given source state.
      Parameters:
      stateId - the object to identify the state
      Returns:
      the next fluent state
    • from

      public MooreBuilder<S,I,T,O,A>.MooreBuilder2 from(Object firstStateId, Object... otherStateIds)
      Starts a definition of transition(s) from multiple given source states.
      Parameters:
      firstStateId - the mandatory object to identify the first state
      otherStateIds - the optional objects to identify additional states
      Returns:
      the next fluent state
    • withOutput

      public MooreBuilder<S,I,T,O,A>.MooreBuilder0 withOutput(Object stateId, O output)
      Associates with the given state the given output symbol.
      Parameters:
      stateId - the object to identify the state
      output - the output symbol
      Returns:
      the next fluent state