Abstract
We introduce a framework for reducing the number of comparisons performed in the deletion and minimum deletion operations for priority queues. In particular, we give a priority queue with constant cost per insertion and minimum finding, and logarithmic cost with at most logn+O(loglogn) comparisons per deletion and minimum deletion, improving over the bound of 2 logn+O(1) comparisons for the binomial queues and the pairing heaps. We also give a priority queue that supports, in addition to the above operations, the decrease-key operation. This latter priority queue achieves, in the amortized sense, constant cost per insertion, minimum finding and decrease-key operations, and logarithmic cost with at most 1.44logn+O(loglogn) comparisons per deletion and minimum deletion.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Andersson, A., Lai, T.W.: Fast updating of well-balanced trees. In: Gilbert, J.R., Karlsson, R. (eds.) SWAT 1990. LNCS, vol. 447, pp. 111–121. Springer, Heidelberg (1990)
Brown, M.: Implementation and analysis of binomial queue algorithms. SIAM J. Comput. 7, 298–319 (1978)
Brodal, G.: Fast meldable priority queues. In: Sack, J.-R., Akl, S.G., Dehne, F., Santoro, N. (eds.) WADS 1995. LNCS, vol. 955, pp. 282–290. Springer, Heidelberg (1995)
Brodal, G.: Worst-case efficient priority queues. In: 7th ACM SODA, pp. 52–58 (1996)
Carlsson, S.: An optimal algorithm for deleting the root of a heap. Inf. Proc. Lett. 37, 117–120 (1991)
Carlsson, S., Munro, J., Poblete, P.: An implicit binomial queue with constant insertion time. In: Karlsson, R., Lingas, A. (eds.) SWAT 1988. LNCS, vol. 318, pp. 1–13. Springer, Heidelberg (1988)
Driscoll, J., Gabow, H., Shairman, R., Tarjan, R.: Relaxed heaps: An alternative to Fibonacci heaps with applications to parallel computation. Comm. ACM 31(11), 1343–1354 (1988)
Elmasry, A., Fredman, M.: Adaptive sorting and the information theoretic lower bound. In: Alt, H., Habib, M. (eds.) STACS 2003. LNCS, vol. 2607, pp. 654–662. Springer, Heidelberg (2003)
Elmasry, A., Ramachandran, V., Sridhar, S.: Adaptive sorting using binomial heap. (submitted)
Fredman, M., Sedgewick, R., Sleator, D., Tarjan, R.: The pairing heap: a new form of self adjusting heap. Algorithmica 1(1), 111–129 (1986)
Fredman, M., Tarjan, R.: Fibonacci heaps and their uses in improved network optimization algorithms. J. ACM 34(3), 596–615 (1987)
Gabow, H., Bentley, J., Tarjan, R.: Scaling and related techniques for computational geometry. In: 16th ACM STOC, pp. 135–143 (1984)
Gonnet, G., Munro, J.: Heaps on heaps. SIAM J. Comput. 15(4), 964–971 (1986)
Iacono, J.: Improved upper bounds for pairing heaps. In: Halldórsson, M.M. (ed.) SWAT 2000. LNCS, vol. 1851, pp. 32–45. Springer, Heidelberg (2000)
Kaplan, H., Tarjan, R.: New heap data structures. TR-597-99, Princeton University (1999)
Katajainen, J., Vitale, F.: Navigation piles with applications to sorting, priority queues, and priority deques. Nord. J. Comput. 10, 238–262 (2003)
Levcopoulos, C., Petersson, O.: Adaptive Heapsort. J. Alg. 14, 395–413 (1993)
Overmars, M., van Leeuwen, J.: Worst-case optimal insertion and deletion methods for decomposable searching problems. Inf. Proc. Lett. 12, 168–173 (1981)
Tarjan, R.: Amortized computational complexity. SIAM J. Alg. Disc. Meth. 6, 306–318 (1985)
Vuillemin, J.: A data structure for manipulating priority queues. Comm. ACM 21(4), 309–314 (1978)
Vuillemin, J.: A unifying look at data structures. Comm. ACM 23, 229–237 (1980)
Williams, J.: Algorithm 232, Heapsort. Comm. ACM 7(6), 347–348 (1964)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2004 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Elmasry, A. (2004). Layered Heaps. In: Hagerup, T., Katajainen, J. (eds) Algorithm Theory - SWAT 2004. SWAT 2004. Lecture Notes in Computer Science, vol 3111. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-27810-8_19
Download citation
DOI: https://doi.org/10.1007/978-3-540-27810-8_19
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-22339-9
Online ISBN: 978-3-540-27810-8
eBook Packages: Springer Book Archive