Parameterized self-adjusting heaps

  • Authors:
  • Amr Elmasry

  • Affiliations:
  • Computer Science Department, Alexandria University, Alexandria, Egypt

  • Venue:
  • Journal of Algorithms
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

We give a parameterized form for the standard implementation of the pairing heaps, skew heaps and skew-pairing heaps. When the node with the minimum value is to be deleted from the heap (deletemin operation), the procedures used to combine the resulting sub-trees into one tree depend on the value of a parameter k. When the value of k is equal to 2, the implementations are equivalent to the standard implementations. Using more complicated arguments, we show that for some predefined ranges of k this general form achieves the same bounds as the standard implementations. Finally, experimental results are conducted showing that for the pairing heaps, by tuning the value of k, the cost of the deletemin operation is reduced.