PPT Slide
Program Structure: Simulation Process
- The queue is a list of events to occur.
- A pointer runs down this list to each event.
- Events are processed in the following way:
- Start process x event: if needed resource is available, use resource, start process, move blocks if required. Else, reschedule event for later, and reschedule all dependant events (collapsible events dampen this cascading of delays)
-
- End process x event: free resource, free track if required, no resource constraint can delay the end of a process