public class DiscreteEventScheduler extends EventScheduler
scheduledEvents
associatedSimulationContainer
Constructor and Description |
---|
DiscreteEventScheduler(SimulationContainer associatedSimulationContainer)
Event scheduler to manage events in a discrete temporal scheme.
|
Modifier and Type | Method and Description |
---|---|
protected void |
scheduleValidEvent(Event eventToSchedule)
Schedules the specified event and orders the set of scheduled event
by execution time, so that the tip of the list is the next event.
|
everScheduledEvent, existsNextEvent, popNextEvent, pushEvent, scheduleEvent, topNextEvent
getAssociatedSimulationContainer
public DiscreteEventScheduler(SimulationContainer associatedSimulationContainer)
associatedSimulationContainer
- The simulation container in which the simulation takes placeprotected void scheduleValidEvent(Event eventToSchedule)
scheduleValidEvent
in class EventScheduler
eventToSchedule
- The event that is to be scheduled