Policy-based benchmarking of weak heaps and their relatives

Asger Bruun*, Stefan Edelkamp, Jyrki Katajainen, Jens Rasmussen

*Corresponding author for this work
12 Citations (Scopus)

Abstract

In this paper we describe an experimental study where we evaluated the practical efficiency of three worst-case efficient priority queues: 1) a weak heap that is a binary tree fulfilling half-heap ordering, 2) a weak queue that is a forest of perfect weak heaps, and 3) a runrelaxed weak queue that extends a weak queue by allowing some nodes to violate half-heap ordering. All these structures support delete and delete-min in logarithmic worst-case time. A weak heap supports insert and decrease in logarithmic worst-case time, whereas a weak queue reduces the worst-case running time of insert to O(1), and a run-relaxed weak queue that of both insert and decrease to O(1). As competitors to these structures, we considered a binary heap, a Fibonacci heap, and a pairing heap. Generic programming techniques were heavily used in the code development. For benchmarking purposes we developed several component frameworks that could be instantiated with different policies.

Original languageEnglish
Title of host publicationExperimental Algorithms : 9th International Symposium, SEA 2010, Ischia Island, Naples, Italy, May 20-22, 2010. Proceedings
EditorsPaola Festa
Number of pages12
PublisherSpringer
Publication date2010
Pages424-435
ISBN (Print)978-3-642-13192-9
ISBN (Electronic)978-3-642-13193-6
DOIs
Publication statusPublished - 2010
Event9th International Symposium on Experimental Algorithms - Napoli, Italy
Duration: 20 May 201022 May 2010

Conference

Conference9th International Symposium on Experimental Algorithms
Country/TerritoryItaly
CityNapoli
Period20/05/201022/05/2010
SeriesLecture notes in computer science
Volume6049
ISSN0302-9743

Fingerprint

Dive into the research topics of 'Policy-based benchmarking of weak heaps and their relatives'. Together they form a unique fingerprint.

Cite this