Package repast.simphony.statecharts
Class ConditionTrigger<T>
java.lang.Object
repast.simphony.statecharts.AbstractTrigger<T>
repast.simphony.statecharts.ConditionTrigger<T>
- All Implemented Interfaces:
Trigger
-
Field Summary
Fields inherited from class repast.simphony.statecharts.AbstractTrigger
transition
-
Constructor Summary
ConstructorDescriptionConditionTrigger
(ConditionTriggerCondition<T> condition) ConditionTrigger
(ConditionTriggerCondition<T> condition, double pollingTime) -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
double
protected Parameters
void
boolean
boolean
boolean
void
setInterval
(double interval) toString()
Methods inherited from class repast.simphony.statecharts.AbstractTrigger
getAgent, isQueueConsuming, setAgent, setTransition
-
Constructor Details
-
ConditionTrigger
-
ConditionTrigger
-
-
Method Details
-
getParams
-
isRecurring
public boolean isRecurring() -
getInterval
public double getInterval() -
setInterval
public void setInterval(double interval) -
initialize
public void initialize() -
getNextTime
public double getNextTime() -
isTriggered
public boolean isTriggered() -
isTriggerConditionTrue
public boolean isTriggerConditionTrue() -
toString
-
canTransitionZeroTime
public boolean canTransitionZeroTime()
-