[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

A framework for constructing heap-like structures in-place

  • Conference paper
  • First Online:
Algorithms and Computation (ISAAC 1993)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 762))

Included in the following conference series:

  • 161 Accesses

Abstract

Priority queues and double-ended priority queues are fundamental data types in computer science. Several implicit data structures have been proposed for implementing the queues, such as heaps, min-max heaps, deaps, and twin-heaps. Over the years the problem of constructing these heap-like structures has received much attention in the literature, but different structures possess different construction algorithms. In this paper, we present a uniform approach for building the heap-like data structures in-place. The study is carried out by investigating hardest instances of the problem and developing an algorithmic paradigm for the construction. Our paradigm produces comparison- and space-efficient construction algorithms for the heaplike structures, which improve over those previously fast known algorithms.

Part of the work was conducted while the author was with Lund University, Sweden.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. A. V. Aho, J. E. Hopocroft, and J. D. Ullman: The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, Massachusetts, 1974.

    Google Scholar 

  2. M. D. Atkinson, J.-R. Sack, N. Santoro, and Th. Strothotte: Min-max heaps and generalized priority queues. CACM 29 (10) (1986), 996–1000.

    Google Scholar 

  3. S. Carlsson: A variant of heapsort with almost optimal number of comparisons. Information Processing Letters 24 (4) (1987), 247–250.

    MathSciNet  Google Scholar 

  4. S. Carlsson: Average-case results on heapsort. BIT 27 (1) (1987), 2–17.

    Google Scholar 

  5. S. Carlsson: The deap — A double-ended heap to implement double-ended priority queues. Information Processing Letters 26 (1) (1987), 33–36.

    Google Scholar 

  6. L. Draws, P. Eriksson, E. Forslund, L. Höglund, S. Vallner, and Th. Strothotte: Two new algorithms for constructing min-max heaps. In: Proce. 1st SWAT (1988), 43–50.

    Google Scholar 

  7. H. Erkiö: On heapsort and its dependence on input data. Technical Report A-1979-1. Department of Computer Science, University of Helsinki, Finland, 1979.

    Google Scholar 

  8. R. W. Floyd: Algorithm 245 — Treesort 3. CACM 7 (12) (1964), 701.

    Google Scholar 

  9. G. H. Gonnet and J. I. Munro: Heaps on heaps. SIAM J. Comput. 15 (1986), 964–971.

    Article  Google Scholar 

  10. A. Hasham and J.-R. Sack: Bounds for min-max heaps. BIT 27 (3) (1987), 315–323.

    Google Scholar 

  11. D. B. Johnson: Efficient algorithms for shortest paths in sparse networks. Journal of the ACM 24 (1) (1979), 1–13.

    Article  Google Scholar 

  12. D. E. Knuth: The Art of Computer Programming. Vol. 3: Sorting and Searching. Addison-Wesley, Reading, Massachusetts, 1973.

    Google Scholar 

  13. S. Okoma: Generalized heapsort. In: Proce. 9 th MFCS (1980), 439–451.

    Google Scholar 

  14. A. Schönhage, M. Paterson, and N. Pippenger: Finding the median. Journal of Computer and System Sciences 13 (2) (1976), 184–199.

    Google Scholar 

  15. Th. Strothotte, P. Eriksson, and S. Vallner: A note on constructing min-max heaps. BIT 29 (2) (1989), 251–256.

    Google Scholar 

  16. J. Vuillemin: A data structure for manipulating priority queues. CACM 21 (1978), 309–314.

    Google Scholar 

  17. J. W. J. Williams: Algorithm 232: Heapsort. CACM 7 (6) (1964), 347–348.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

K. W. Ng P. Raghavan N. V. Balasubramanian F. Y. L. Chin

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Chen, J. (1993). A framework for constructing heap-like structures in-place. In: Ng, K.W., Raghavan, P., Balasubramanian, N.V., Chin, F.Y.L. (eds) Algorithms and Computation. ISAAC 1993. Lecture Notes in Computer Science, vol 762. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-57568-5_241

Download citation

  • DOI: https://doi.org/10.1007/3-540-57568-5_241

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-57568-9

  • Online ISBN: 978-3-540-48233-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics