Adaptive Ladder Queue: achieving O(1) amortized access time in practice

TitleAdaptive Ladder Queue: achieving O(1) amortized access time in practice
Publication TypeConference Paper
Year of Publication2018
AuthorsFurfaro, A, Sacco, L
Conference NameSIGSIM-PADS '18: SIGSIM Principles of Advanced Discrete Simulation
Conference LocationRome, Italy
Abstract

The data structure that handles the pending event set of a discrete event simulator is a critical component in that its performances have a direct impact on those of the overall simulation engine. Many data structures have been proposed in the literature. Among them, the Ladder Queue (LadderQ) claims $O(1)$ amortized access time. However, empirical results show that the practical achievement of such performances is highly dependent on the distribution of event timestamps and that in many cases are similar or even worse than those of heap-based priority queues. This paper proposes an adaptive extension of the LadderQ which overcomes most of its weaknesses and allows to achieve $O(1)$ amortized access time in practice.

DOI10.1145/3200921.3200925
Download

ACM DL Author-ize service