trigger
are used by simulation developers to detect changes in the simulation environment and trigger action in their entities. Triggers
are used to wake up entities whose {@link org.mitre.sim.Entity#agenda() agendas}are suspended in a call to {@link org.mitre.sim.Entity#waitForActionOrTrigger(Trigger[] cs,double backStop) waitForActionOrTrigger}. The simulation executive may invoke this method an undetermined number of times. Therefore evaluation of the condition
method should have no side effect in the simulation.
@return The value of the developer supplied condition.
@see org.mitre.sim.Entity#waitForActionOrTrigger(Trigger[] cs,double backStop)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|