Soft Sequence Heaps

08/12/2020
by   Gerth Stølting Brodal, et al.
0

Chazelle [JACM00] introduced the soft heap as a building block for efficient minimum spanning tree algorithms, and recently Kaplan et al. [SOSA2019] showed how soft heaps can be applied to achieve simpler algorithms for various selection problems. A soft heap trades-off accuracy for efficiency, by allowing ϵ N of the items in a heap to be corrupted after a total of N insertions, where a corrupted item is an item with artificially increased key and 0 < ϵ≤ 1/2 is a fixed error parameter. Chazelle's soft heaps are based on binomial trees and support insertions in amortized O((1/ϵ)) time and extract-min operations in amortized O(1) time. In this paper we explore the design space of soft heaps. The main contribution of this paper is an alternative soft heap implementation based on merging sorted sequences, with time bounds matching those of Chazelle's soft heaps. We also discuss a variation of the soft heap by Kaplan et al. [SICOMP2013], where we avoid performing insertions lazily. It is based on ternary trees instead of binary trees and matches the time bounds of Kaplan et al., i.e. amortized O(1) insertions and amortized O((1/ϵ)) extract-min. Both our data structures only introduce corruptions after extract-min operations which return the set of items corrupted by the operation.

READ FULL TEXT

page 1

page 2

page 3

page 4

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

Efficiency of Self-Adjusting Heaps

Since the invention of the pairing heap by Fredman et al., it has been a...
research
06/22/2018

Improved bounds for multipass pairing heaps and path-balanced binary search trees

We revisit multipass pairing heaps and path-balanced binary search trees...
research
08/04/2022

Efficiently Computing Directed Minimum Spanning Trees

Computing a directed minimum spanning tree, called arborescence, is a fu...
research
01/07/2023

Abstract Huffman Coding and PIFO Tree Embeddings

Algorithms for deriving Huffman codes and the recently developed algorit...
research
02/20/2018

Selection from heaps, row-sorted matrices and X+Y using soft heaps

We use soft heaps to obtain simpler optimal algorithms for selecting the...
research
04/12/2022

Acacia-Bonsai: A Modern Implementation of Downset-Based LTL Realizability

We describe our implementation of downset-manipulating algorithms used t...

Please sign up or login with your details

Forgot password? Click here to reset