Skip to main content

Analysis of Smooth Heaps and Slim Heaps

Author(s): Hartmann, Maria; Kozma, László; Sinnamon, Corwin; Tarjan, Robert E

Download
To refer to this page use: http://arks.princeton.edu/ark:/88435/pr16688j6s
Abstract: The smooth heap is a recently introduced self-adjusting heap [Kozma, Saranurak, 2018] similar to the pairing heap [Fredman, Sedgewick, Sleator, Tarjan, 1986]. The smooth heap was obtained as a heap-counterpart of Greedy BST, a binary search tree updating strategy conjectured to be instance-optimal [Lucas, 1988], [Munro, 2000]. Several adaptive properties of smooth heaps follow from this connection; moreover, the smooth heap itself has been conjectured to be instance-optimal within a certain class of heaps. Nevertheless, no general analysis of smooth heaps has existed until now, the only previous analysis showing that, when used in sorting mode (n insertions followed by n delete-min operations), smooth heaps sort n numbers in O(nlg n) time. In this paper we describe a simpler variant of the smooth heap we call the slim heap. We give a new, self-contained analysis of smooth heaps and slim heaps in unrestricted operation, obtaining amortized bounds that match the best bounds known for self-adjusting heaps. Previous experimental work has found the pairing heap to dominate other data structures in this class in various settings. Our tests show that smooth heaps and slim heaps are competitive with pairing heaps, outperforming them in some cases, while being comparably easy to implement.
Publication Date: 2021
Citation: Hartmann, Maria, László Kozma, Corwin Sinnamon, and Robert E. Tarjan. "Analysis of Smooth Heaps and Slim Heaps." In 48th International Colloquium on Automata, Languages, and Programming (ICALP 2021) 198 (2021): pp. 79:1-79:20. doi:10.4230/LIPIcs.ICALP.2021.79
DOI: 10.4230/LIPIcs.ICALP.2021.79
ISSN: 1868-8969
Pages: 79:1 - 79:20
Type of Material: Conference Article
Series/Report no.: Leibniz International Proceedings in Informatics (LIPIcs);
Journal/Proceeding Title: 48th International Colloquium on Automata, Languages, and Programming
Version: Final published version. This is an open access article.



Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.