Package Model contains the mechanism for executing the model events.  The Discrete Event

Simulator (DES) stores events in a double linked list.  Events are linked firstly in time, and

secondly by order they were placed in the simulator.

 

 

When the ExecuteEvents ( ) method of the DES is called it pops off the Events and executes the

ExecuteEvent( ) of each Event.  This continues until the DES executes all the Events. 
 
Events can be added to the DES by calling addEvent ( ModelEvents.EventBaseClass event ).