Analysis of Smooth Heaps and Slim Heaps

07/10/2021
by   Maria Hartmann, et al.
0

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(n 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

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/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/06/2023

Efficiency of Self-Adjusting Heaps

Since the invention of the pairing heap by Fredman et al., it has been a...
research
03/23/2022

Terms of Lucas sequences having a large smooth divisor

We show that the Kn–smooth part of a^n-1 for an integer a>1 is a^o(n) fo...
research
01/08/2023

SeedTree: A Dynamically Optimal and Local Self-Adjusting Tree

We consider the fundamental problem of designing a self-adjusting tree, ...
research
12/26/2020

A second-order self-adjusting steepness based remapping method for arbitrary quadrilateral meshes

In this paper, based on the idea of self-adjusting steepness based schem...
research
04/24/2022

On Stute's representation for a class of smooth, possibly data-adaptive empirical copula processes

Given a random sample from a continuous multivariate distribution, Stute...

Please sign up or login with your details

Forgot password? Click here to reset