An efficient data structure for the simulation event set
- 1 August 1977
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 20 (8), 596-602
- https://doi.org/10.1145/359763.359801
Abstract
Recently algorithms have been presented for the realization of event scheduling routines suitable for general purpose discrete event simulation systems. Several exhibited a performance superior to that of commonly used simple linked list algorithms. In this paper a new event scheduling algorithm is presented which improves on two aspects of the best of the previously published algorithms. First, the new algorithm's performance is quite insensitive to skewed distributions, and second, its worst-case complexity is O(√n), where n is the number of events in the set. Furthermore, tests conducted to estimate the average complexity showed it to be nearly independent of n.Keywords
This publication has 3 references indexed in Scilit:
- Improved event-scanning mechanisms for discrete event simulationCommunications of the ACM, 1975
- A comparison of simulation event list algorithmsCommunications of the ACM, 1975
- PASCAL User Manual and ReportLecture Notes in Computer Science, 1974