TY - GEN
T1 - Policy-based benchmarking of weak heaps and their relatives
AU - Bruun, Asger
AU - Edelkamp, Stefan
AU - Katajainen, Jyrki
AU - Rasmussen, Jens
PY - 2010
Y1 - 2010
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=78650652076&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-13193-6_36
DO - 10.1007/978-3-642-13193-6_36
M3 - Article in proceedings
AN - SCOPUS:78650652076
SN - 978-3-642-13192-9
T3 - Lecture notes in computer science
SP - 424
EP - 435
BT - Experimental Algorithms
A2 - Festa, Paola
PB - Springer
T2 - 9th International Symposium on Experimental Algorithms
Y2 - 20 May 2010 through 22 May 2010
ER -