Module net.automatalib.util
Class MooreBuilder.MooreBuilder0
- java.lang.Object
-
- net.automatalib.util.automaton.builder.MooreBuilder.MooreBuilder0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A
create()
Returns the constructed automaton.MooreBuilder.MooreBuilder2
from(Object stateId)
Starts a definition of transition(s) from a given source state.MooreBuilder.MooreBuilder2
from(Object firstStateId, Object... otherStateIds)
Starts a definition of transition(s) from multiple given source states.MooreBuilder.MooreBuilder0
withOutput(Object stateId, O output)
Associates with the given state the given output symbol.
-
-
-
Method Detail
-
create
public A create()
Returns the constructed automaton.- Returns:
- the automaton
-
from
public MooreBuilder.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.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 stateotherStateIds
- the optional objects to identify additional states- Returns:
- the next fluent state
-
withOutput
public MooreBuilder.MooreBuilder0 withOutput(Object stateId, O output)
Associates with the given state the given output symbol.- Parameters:
stateId
- the object to identify the stateoutput
- the output symbol- Returns:
- the next fluent state
-
-