Soft Sequence Heaps
Abstract
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 of the items in a heap to be corrupted after a total of insertions, where a corrupted item is an item with artificially increased key and is a fixed error parameter. Chazelle's soft heaps are based on binomial trees and support insertions in amortized time and extract-min operations in amortized 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 insertions and amortized extract-min. Both our data structures only introduce corruptions after extract-min operations which return the set of items corrupted by the operation.
Keywords
Cite
@article{arxiv.2008.05398,
title = {Soft Sequence Heaps},
author = {Gerth Stølting Brodal},
journal= {arXiv preprint arXiv:2008.05398},
year = {2020}
}
Comments
16 pages, 3 figures