Package org.baseagent.schedule
Class Scheduler
java.lang.Object
org.baseagent.schedule.Scheduler
- All Implemented Interfaces:
SimulationListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddScheduledEvent(ScheduledEvent event) voidonAfterStepStarted(Simulation simulation) voidvoidrunScheduledEvents(Simulation simulation) voidsetSchedulerPolicy(SchedulerPolicy policy) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.baseagent.sim.SimulationListener
onAfterStepEnded, onBeforeStepEnded, onBeforeStepStarted, onSimulationComponentAdded, onSimulationComponentRemoved, onSimulationEnded, onSimulationPaused, onSimulationResumed, onSimulationStarted, onSimulationStopped, onStepEnded, onStepStarted
-
Constructor Details
-
Scheduler
public Scheduler()
-
-
Method Details
-
runScheduledEvents
-
getSchedulerPolicy
-
setSchedulerPolicy
-
addScheduledEvent
-
removeScheduledEvent
-
getScheduledEvents
-
onAfterStepStarted
- Specified by:
onAfterStepStartedin interfaceSimulationListener
-