| Min-max heaps and generalized priority queues |
| Full text |
Pdf
(493 KB)
|
Source
|
Communications of the ACM
archive
Volume 29 , Issue 10 (October 1986)
table of contents
Pages: 996 - 1000
Year of Publication: 1986
ISSN:0001-0782
|
|
Authors
|
|
M. D. Atkinson
|
Carleton Univ., Ottawa, Ont., Canada
|
|
J.-R. Sack
|
Carleton Univ., Ottawa, Ont., Canada
|
|
B. Santoro
|
Carleton Univ., Ottawa, Ont., Canada
|
|
T. Strothotte
|
Univ. Stuttgart, Stuttgart, W. Germany
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 45, Downloads (12 Months): 206, Citation Count: 11
|
|
|
ABSTRACT
A simple implementation of double-ended priority queues is presented. The proposed structure, called a min-max heap, can be built in linear time; in contrast to conventional heaps, it allows both FindMin and FindMax to be performed in constant time; Insert, DeleteMin, and DeleteMax operations can be performed in logarithmic time. Min-max heaps can be generalized to support other similar order-statistics operations efficiently (e.g., constant time FindMedian and logarithmic time DeleteMedian); furthermore, the notion of min-max ordering can be extended to other heap-ordered structures, such as leftist trees.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
Atkinson. M.D., Sack, J.-R.. Santoro, N., and Strothotte, Th. An efficient. implicit double-ended priority queue. Tech. Rep. SCS-TR-55, School of Computer Science, Carleton University, Ottawa, Ont.. Canada, Ju!y 1984.
|
| |
3
|
Atkinson. M.D., Sack, J.-R., Santoro, N., and Strotbotte, Th. Min-max heaps, order-statistic trees and their application to the Course- Marks problem. In Proceedings of Nineteenth Conference on Information and Syskm Sciences, Baltimore, Md., (Mar. 19851. 160-165.
|
 |
4
|
|
| |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
|
 |
9
|
|
| |
10
|
Sack, J.-R., and Strothotte, Th. An algorithm for merging heaps. Acta Inform. 22,(1985), 171-186.
|
| |
11
|
Strothotte, Th.. and Sack, J.-R. Heaps in heaps. Congressus Numerantium, 49 (1985). 223-235.
|
| |
12
|
Williams, J.W.J. Algorithm 232. Commun. ACM 7, 6 (June 1964), 347-348.
|
REVIEW
"William Fennell Smyth : Reviewer"
This paper summarizes material previously available only in conference
proceedings [1] and in a Carleton University technical report [2]. A new data
structure called a min-max heap> is proposed, which has the heap shape
and in which a
more...
|