A catalogue of algorithms for building weak heaps
Authors:Stefan Edelkamp, Amr Elmasry, and Jyrki Katajainen
Published in:Proceedings of the 23nd International Workshop on Combinatorial Algorithms, Lecture Notes in Computer Science 7643, Springer-Verlag (2012), 249-262
Full text:<pdf.gif>PDF (297 kB)  
Copyright:© Springer-Verlag
Abstract:An array-based weak heap is an efficient data structure for realizing an elementary priority queue. In this paper we focus on the construction of a weak heap. Starting from a straightforward algorithm, we end up with a catalogue of algorithms that optimize the standard algorithm in different ways. As the optimization criteria, we consider how to reduce the number of instructions, branch mispredictions, cache misses, and element moves. We also consider other approaches for building a weak heap: one based on repeated insertions and another relying on a non-standard memory layout. For most of the algorithms considered, we also study their effectiveness in practice.
Related:<html.gif>HTML (Source code)  <html.gif>HTML (Journal article)  
  author = {Stefan Edelkamp and Amr Elmasry and Jyrki Katajainen},
  title = {A catalogue of algorithms for building weak heaps},
  booktitle = {Proceedings of the 23nd International Workshop on Combinatorial
  series = {Lecture Notes in Computer Science},
  volume = {7643},
  publisher = {Springer-Verlag},
  year = {2012},
  pages = {249--262},
This page was generated by Jyrki Katajainen <jyrki@di.ku.dk> on 22.05.2015.