lecturenotes07 - MS&E 223 Simulation Peter J Haas Lecture...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
MS&E 223 Lecture Notes #7 Simulation Event Lists Peter J. Haas Spring Quarter 2009-10 Page 1 of 2 Event Lists 1. Event Lists Based on our algorithm for generating sample paths of a GSMP, it is clear that one way to implement the clock-setting mechanism is to maintain a vector of clock readings (one per event). This approach is not efficient if there are a large number of events, but only a few are scheduled at any time point. Another approach (which works for GSMP’s with unit speeds) is to maintain a list of the scheduled occurrence times of the active events. This is called a future-event list . This approach is used in most commercial simulation packages. The topic merits some discussion, because event list processing can represent a substantial portion of the CPU time for a simulation—up to 40% by one estimate. 2. Data Structures for Event Lists The major activities that are performed on the event list are: 1. insertion of events 2. deletion of events 3. determining the next event to occur By keeping the events sorted by time of occurrence, the above tasks are simplified.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern