Package repast.simphony.statecharts
Class StateChartBuilder<T>
java.lang.Object
repast.simphony.statecharts.StateChartBuilder<T>
-
Constructor Summary
ConstructorDescriptionStateChartBuilder
(T agent, AbstractState<T> entryState) StateChartBuilder
(T agent, AbstractState<T> entryState, String entryStateUuid) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRegularTransition
(Transition<T> transition) void
addRegularTransition
(Transition<T> transition, String uuid) void
addRootState
(AbstractState<T> state) void
addRootState
(AbstractState<T> state, String uuid) void
addSelfTransition
(SelfTransition<T> transition) void
addSelfTransition
(SelfTransition<T> transition, String uuid) protected void
addStateToStates
(AbstractState<T> state, String uuid) build()
protected T
getAgent()
protected void
registerEntryState
(AbstractState<T> entryState) protected void
registerEntryState
(AbstractState<T> entryState, String uuid) void
setPriority
(double priority) protected void
setStateChartProperties
(DefaultStateChart<T> stateChart)
-
Constructor Details
-
StateChartBuilder
-
StateChartBuilder
-
-
Method Details
-
getAgent
-
setPriority
public void setPriority(double priority) -
registerEntryState
-
addStateToStates
-
registerEntryState
-
addRootState
-
addRootState
-
addSelfTransition
-
addSelfTransition
-
addRegularTransition
-
addRegularTransition
-
setStateChartProperties
-
build
-