A Tight Analysis of Slim Heaps and Smooth Heaps
Corwin Sinnamon, Robert E. Tarjan
Abstract
The smooth heap and the closely related slim heap are recently invented self-adjusting implementations of the heap (priority queue) data structure. We analyze the efficiency of these data structures. We obtain the following amortized bounds on the time per operation: O(1) for make-heap, insert, find-min, and meld; O(lg lg n) for decrease-key; and O(lg n) for delete-min and delete, where n is the current number of items in the heap. These bounds are tight not only for smooth and slim heaps but for any heap implementation in Iacono and Özkan's pure heap model, intended to capture all possible "self-adjusting" heap implementations. Slim and smooth heaps are the first known data structures to match Iacono and Özkan's lower bounds and to satisfy the constraints of their model. Our analysis builds on Pettie's insights into the efficiency of pairing heaps, a classical self-adjusting heap implementation.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itRelated papers
- A Nearly-Tight Analysis of Multipass Pairing HeapsCorwin Sinnamon, Robert E. TarjanSODA 2023 · 1 citation
- Selectable Heaps and Optimal Lazy Search TreesBryce Sandlund, Lingyi ZhangSODA 2022 · 5 citations
- ATLAS: Automated Amortised Complexity Analysis of Self-adjusting Data StructuresLorenz Leutgeb, Georg Moser, Florian ZulegerCAV 2021 · 9 citations
- Automated Expected Amortised Cost Analysis of Probabilistic Data StructuresLorenz Leutgeb, Georg Moser, Florian ZulegerCAV 2022 · 19 citations
- Lazy Search TreesBryce Sandlund, Sebastian WildFOCS 2020 · 1 citation
