Abstract
In typical applications, a priority queue is used to execute a sequence of n insert, m decrease, and n delete-min operations, starting with an empty structure. We study the performance of different priority queues for this type of operation sequences both theoretically and experimentally. In particular, we focus on weak heaps, weak queues, and their relaxed variants. We prove that for relaxed weak heaps the execution of any such sequence requires at most 2m + 1:5n lg n element comparisons. This improves over the best bound, at most 2m + 2:89n lg n element comparisons, known for the existing variants of Fibonacci heaps. We programmed six members of the weak-heap family of priority queues. For random data sets, experimental results show that non-relaxed versions are performing best and that rank-relaxed versions are slightly faster than run-relaxed versions. Compared to weak-heap variants, the corresponding weak-queue variants are slightly better in time but not in the number of element comparisons.
Originalsprog | Engelsk |
---|---|
Titel | Proceedings of the Eighteenth Computing: The Australasian Theory Symposium |
Redaktører | Julian Mestre |
Antal sider | 10 |
Forlag | Australian Computer Society |
Publikationsdato | 2012 |
Sider | 103-112 |
ISBN (Elektronisk) | 978-1-921770-09-8 |
Status | Udgivet - 2012 |
Begivenhed | 18th Computing: The Australasian Theory Symposium - Melbourne, Australien Varighed: 31 jan. 2012 → 3 feb. 2012 Konferencens nummer: 18 |
Konference
Konference | 18th Computing: The Australasian Theory Symposium |
---|---|
Nummer | 18 |
Land/Område | Australien |
By | Melbourne |
Periode | 31/01/2012 → 03/02/2012 |
Navn | Conferences in Research and Practice in Information Technology |
---|---|
Vol/bind | 128 |
ISSN | 1445-1336 |