• Home
  • Search
  • Smooth heaps and a dual view of self-adjusting data structures
  • Open Access IconOpen Access
  • Cite Icon7
  • https://doi.org/10.1145/3188745.3188864Copy DOI Icon

Smooth heaps and a dual view of self-adjusting data structures

  • Jun 20, 2018
  • László Kozma +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundamental, extensively studied, and practically relevant families of data structures. Roughly speaking, we map an arbitrary heap algorithm within a natural model, to a corresponding BST algorithm with the same cost on a dual sequence of operations (i.e. the same sequence with the roles of time and key-space switched). This is the first general transformation between the two families of data structures. There is a rich theory of dynamic optimality for BSTs (i.e. the theory of competitiveness between BST algorithms). The lack of an analogous theory for heaps has been noted in the literature. Through our connection, we transfer all instance-specific lower bounds known for BSTs to a general model of heaps, initiating a theory of dynamic optimality for heaps. On the algorithmic side, we obtain a new, simple and efficient heap algorithm, which we call the smooth heap. We show the smooth heap to be the heap-counterpart of Greedy, the BST algorithm with the strongest proven and conjectured properties from the literature, widely believed to be instance-optimal. Assuming the optimality of Greedy, the smooth heap is also optimal within our model of heap algorithms. As corollaries of results known for Greedy, we obtain instance-specific upper bounds for the smooth heap, with applications in adaptive sorting. Intriguingly, the smooth heap, although derived from a non-practical BST algorithm, is simple and easy to implement (e.g. it stores no auxiliary data besides the keys and tree pointers). It can be seen as a variation on the popular pairing heap data structure, extending it with a "power-of-two-choices" type of heuristic.

Similar Papers
  • Conference Article
  • Citations3

Multi-Finger Binary Search Trees

  • Jan 01, 2019
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Parinya Chalermsook +4
  • Research Article
  • Citations1

An efficient compression scheme for data communication which uses a new family of self‐organizing binary search trees

  • Jun 04, 2008
  • International Journal of Communication Systems
  • Luis Rueda +1
  • Conference Article
  • Citations2

Kakkot Tree — A Binary Search Tree with caching

  • Dec 01, 2012
  • Rajesh Ramachandran
  • Conference Article
  • Citations3

Creating a Forest of Binary Search Trees for a Multiprocessor System

  • Sep 13, 2006
  • Suri Pushpa +2
  • Research Article

Data Structures Comparison for Element Deletion Including Stack and Queue

  • Dec 27, 2024
  • WSEAS TRANSACTIONS ON COMMUNICATIONS
  • Maja Sarevska
  • Book Chapter

Effective BST Approach to Find Underflow Condition in Interval Trees Using Augmented Data Structure

  • Jan 01, 2010
  • Keyur N Upadhyay +2
  • Book Chapter
  • Citations10

Efficient Construction of Near-Optimal Binary and Multiway Search Trees

  • Jan 01, 2009
  • Prosenjit Bose +1
  • Research Article
  • Citations65

SplayNet: Towards Locally Self-Adjusting Networks

  • Jun 01, 2016
  • IEEE/ACM Transactions on Networking
  • Stefan Schmid +5
  • PDF
  • Research Article
  • Citations6

A Fast Framework for Abrupt Change Detection Based on Binary Search Trees and Kolmogorov Statistic.

  • Jan 01, 2016
  • Computational intelligence and neuroscience
  • Jin-Peng Qi +2
  • Conference Article
  • Citations12

Deletion without Rebalancing in Non-Blocking Binary Search Trees

  • Jan 01, 2017
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Meng He +1
  • Book Chapter

On Merging the Fields of Neural Networks and Adaptive Data Structures to Yield New Pattern Recognition Methodologies

  • Jan 01, 2011
  • B John Oommen
  • Conference Article

Improving efficacy of concurrent internal binary search trees using local recovery

  • Jan 04, 2019
  • Arunmoezhi Ramachandran +1
  • Research Article
  • Citations7

Lower bounds on non-adaptive data structures maintaining sets of numbers, from sunflowers

  • Jun 22, 2018
  • Sivaramakrishnan Natarajan Ramamoorthy +1
  • Book Chapter
  • Citations6

On a sublinear time parallel construction of optimal binary search trees

  • Jan 01, 1994
  • Marek Karpinski +1
  • Research Article

Postorder trees and Eulerian numbers

  • Jul 01, 1991
  • Acta Informatica
  • Thomas P Whaley
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.