DocumentCode
2825134
Title
Dynamic calendar queue
Author
Oh, SeungHyun ; Ahn, JongSuk
Author_Institution
Comput. Eng. Dept., Dongguk Univ., Seoul, South Korea
fYear
1999
fDate
1999
Firstpage
20
Lastpage
25
Abstract
Discrete event simulations need a priority queue sorting events according to their timestamp to process events in their time order. As the number of events increases, the choice of data structure for this event list can affect the simulation performance significantly. A calendar queue is a data structure popularly used in most discrete event simulators due to its O(1) time complexity regardless of the number of stored events. Calendar queues, however, perform poorly over skewed event distributions due to the static resize algorithm and the inappropriate selection of events for measuring the degree of the event distribution. To improve the calendar queue´s performance over uneven event distributions, this paper proposes two new mechanisms. We call our calendar queue adopting these two mechanisms DCQ (dynamic calendar queue). Our experiment results showed that DCQ can achieve an order of magnitude speedup for uneven distributions while performing as well over even distributions as the conventional calendar queue
Keywords
computational complexity; data structures; discrete event simulation; queueing theory; sorting; data structure; data structures; discrete event simulations; dynamic calendar queue; event list; event sorting; priority queue; simulation performance; skewed event distributions; static resize algorithm; time complexity; time order processing; timestamp; uneven event distributions;
fLanguage
English
Publisher
ieee
Conference_Titel
Simulation Symposium, 1999. Proceedings. 32nd Annual
Conference_Location
San Diego, CA
ISSN
1080-241X
Print_ISBN
0-7695-0128-1
Type
conf
DOI
10.1109/SIMSYM.1999.766449
Filename
766449
Link To Document