Class MooreBuilderImpl<S,I,T,O,A extends MutableMooreMachine<S,? super I,T,? super O>>
- java.lang.Object
-
- net.automatalib.util.automaton.builder.MooreBuilderImpl<S,I,T,O,A>
-
public class MooreBuilderImpl<S,I,T,O,A extends MutableMooreMachine<S,? super I,T,? super O>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected A
automaton
protected List<I>
currentInputs
protected List<S>
currentStates
protected TP
currentTransProp
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A
create()
void
from(Object stateId)
void
from(Object firstStateId, Object... otherStateIds)
protected S
getState(Object stateId)
protected List<S>
getStates(Object firstStateId, Object... otherStateIds)
void
loop()
void
on(I input)
void
on(I firstInput, I... otherInputs)
void
to(Object stateId)
void
withInitial(Object stateId)
void
withInitial(Object stateId, O output)
void
withOutput(Object stateId, O output)
void
withProperty(TP transProp)
void
withStateProperty(SP stateProperty, Object stateId)
-
-
-
Field Detail
-
automaton
protected final A extends MutableAutomaton<S,? super I,T,? super SP,? super TP> automaton
-
currentStates
protected List<S> currentStates
-
currentInputs
protected List<I> currentInputs
-
currentTransProp
protected TP currentTransProp
-
-
Method Detail
-
withInitial
public void withInitial(Object stateId)
-
from
public void from(Object stateId)
-
getState
protected S getState(Object stateId)
-
on
public void on(I input)
-
on
@SafeVarargs public final void on(I firstInput, I... otherInputs)
-
withProperty
public void withProperty(TP transProp)
-
to
public void to(Object stateId)
-
loop
public void loop()
-
create
public A create()
-
withStateProperty
public void withStateProperty(SP stateProperty, Object stateId)
-
-