Efficiency of Self-Adjusting Heaps

07/06/2023
by   Corwin Sinnamon, et al.
0

Since the invention of the pairing heap by Fredman et al., it has been an open question whether this or any other simple "self-adjusting" heap supports decrease-key operations on n-item heaps in O(loglog n) time. Using powerful new techniques, we answer this question in the affirmative. We prove that both slim and smooth heaps, recently introduced self-adjusting heaps, support heap operations on an n-item heap in the following amortized time bounds: O(log n) for delete-min and delete, O(loglog n) for decrease-key, and O(1) for all other heap operations, including insert and meld. We also analyze the multipass pairing heap, a variant of pairing heaps. For this heap implementation, we obtain the same bounds except for decrease-key, for which our bound is O(loglog n logloglog n). Our bounds significantly improve the best previously known bounds for all three data structures. For slim and smooth heaps our bounds are tight, since they match lower bounds of Iacono and Ozkan; for multipass pairing heaps our bounds are tight except for decrease-key, which by the lower bounds of Fredman and Iacono and Özkan must take O(loglog n) amortized time if delete-min takes O(log n) time.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/10/2021

A Tight Analysis of Slim Heaps and Smooth Heaps

The smooth heap and the closely related slim heap are recently invented ...
research
07/10/2021

Analysis of Smooth Heaps and Slim Heaps

The smooth heap is a recently introduced self-adjusting heap [Kozma, Sar...
research
08/12/2020

Soft Sequence Heaps

Chazelle [JACM00] introduced the soft heap as a building block for effic...
research
02/15/2018

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

We present a new connection between self-adjusting binary search trees (...
research
08/24/2022

A Simpler Proof that Pairing Heaps Take O(1) Amortized Time per Insertion

The pairing heap is a simple "self-adjusting" implementation of a heap (...
research
03/07/2019

External memory priority queues with decrease-key and applications to graph algorithms

We present priority queues in the external memory model with block size ...
research
06/23/2023

Precise Asymptotic Generalization for Multiclass Classification with Overparameterized Linear Models

We study the asymptotic generalization of an overparameterized linear mo...

Please sign up or login with your details

Forgot password? Click here to reset