Affiliation:
1. Rutgers Univ., New Brunswick, NJ
Abstract
The pairing heap is well regarded as an efficient data structure for implementing priority queue operations. It is included in the GNU C++ library. Strikingly simple in design, the pairing heap data structure nonetheless seems difficult to analyze, belonging to the genre of self-adjusting data structures. With its design originating as a self-adjusting analogue of the Fibonacci heap, it has been previously conjectured that the pairing heap provides constrant amortized time decrease-key operations, and experimental studies have supported this conjecture. This paper demonstrates, contrary to conjecture, that the pairing heap requires more than constant amortized time to perform decrease-key operations. Moreover, new experimental findings are presented that reveal detectable growth in the amortized cost of the decrease-key operation.
Second, a unifying framework is developed that includes both pairing heaps and Fibonacci heaps. The parameter of interest in this framework is the storage capacity available in the nodes of the data structure for auxiliary balance information fields. In this respect Fibonacci heaps require log log
n
bits per node when
n
items are present. This is shown to be asymptotically optimal for data structures that achieve the same asymptotic performance bounds as Fibonacci heaps and fall within this framework.
Publisher
Association for Computing Machinery (ACM)
Subject
Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software
Cited by
24 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Smooth Heaps and a Dual View of Self-Adjusting Data Structures;SIAM Journal on Computing;2019-11-05
2. Smooth heaps and a dual view of self-adjusting data structures;Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing;2018-06-20
3. Toward Optimal Self-Adjusting Heaps;ACM Transactions on Algorithms;2017-12-21
4. Hollow Heaps;ACM Transactions on Algorithms;2017-07-31
5. A Linear Potential Function for Pairing Heaps;Combinatorial Optimization and Applications;2016