Package org.baseagent.schedule
Class Scheduler
java.lang.Object
org.baseagent.schedule.Scheduler
- All Implemented Interfaces:
SimulationListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addScheduledEvent
(ScheduledEvent event) void
onAfterStepStarted
(Simulation simulation) void
void
runScheduledEvents
(Simulation simulation) void
setSchedulerPolicy
(SchedulerPolicy policy) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
onAfterStepStarted
in interfaceSimulationListener
-