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 Aautomatonprotected List<I>currentInputsprotected List<S>currentStatesprotected TPcurrentTransProp
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Acreate()voidfrom(Object stateId)voidfrom(Object firstStateId, Object... otherStateIds)protected SgetState(Object stateId)protected List<S>getStates(Object firstStateId, Object... otherStateIds)voidloop()voidon(I input)voidon(I firstInput, I... otherInputs)voidto(Object stateId)voidwithInitial(Object stateId)voidwithInitial(Object stateId, O output)voidwithOutput(Object stateId, O output)voidwithProperty(TP transProp)voidwithStateProperty(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)
-
-