Package repast.simphony.statecharts
Class TransitionBuilder<T>
java.lang.Object
repast.simphony.statecharts.TransitionBuilder<T>
- Direct Known Subclasses:
DefaultOutOfBranchTransitionBuilder
,OutOfBranchTransitionBuilder
-
Constructor Summary
ConstructorDescriptionTransitionBuilder
(String id, AbstractState<T> source, AbstractState<T> target) TransitionBuilder
(AbstractState<T> source, AbstractState<T> target) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTrigger
(Trigger trigger) build()
static <U> GuardCondition<U>
static <U> TransitionAction<U>
void
registerGuard
(GuardCondition<T> guard) void
registerOnTransition
(TransitionAction<T> onTransition) void
setPriority
(double priority)
-
Constructor Details
-
TransitionBuilder
-
TransitionBuilder
-
-
Method Details
-
createEmptyGuard
-
createEmptyOnTransition
-
setPriority
public void setPriority(double priority) -
addTrigger
-
registerOnTransition
-
registerGuard
-
build
-