public class TransitionRate extends Transition
false
when the transition is about to execute,
it is not taken and becomes inactive until the rate changes.Constructor and Description |
---|
TransitionRate(Agent ao)
Constructs the transition object with Rate trigger.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Should be called when this transition becomes deactivated e.g. as a result
of alternative transition being taken.
|
java.lang.String |
getName()
Returns the name of the rate tranistion as specified by the user.
|
void |
start()
Should be called when the statechart enters to the transition's source state.
|
isLoggingToDB, restoreOwner
getActiveObject, getAgent, getFullName, getRest, getRest, isActive, isCurrent, onDestroy, toString
public TransitionRate(Agent ao)
ao
- agent where this transition belongs topublic java.lang.String getName()
getName
in class EventOriginator
@AnyLogicInternalCodegenAPI public void start()
@AnyLogicInternalCodegenAPI public void cancel()
cancel
in class Transition
Copyright © AnyLogic North America, LLC. All Rights Reserved.