Skip to main content

The K-D heap: An efficient multi-dimensional priority queue

  • Conference paper
  • First Online:
Algorithms and Data Structures (WADS 1993)

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

Included in the following conference series:

Abstract

This paper presents the k-d heap, an efficient data structure that implements a multi-dimensional priority queue. The basic form of the k-d heap uses no extra space, takes linear time to construct, and supports instant access to the items carrying the minimum key of any dimension, as well as logarithmic time insertion, deletion, and modification of any item in the queue. Moreover, it can be extended to a multi-dimensional double-ended mergeable priority queue, capable of efficiently supporting all the operations linked to priority queues. The k-d heap is very easily implemented, and has direct applications.

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.

References

  1. M. Atkinson, J. Sack, N. Santoro, T. Strothotte, “Min-Max Heaps and Generalized Priority Queues,” Comm. ACM, Vol. 29 (1986), 996–1000.

    Article  Google Scholar 

  2. J. Bentley, “Multidimensional Binary Search Trees Used for Associative Searching,” Comm. ACM, Vol. 18 (1975), 509–517.

    Article  Google Scholar 

  3. M. Brown, “Implementation and Analysis of Binomial Queue Algorithms,” SIAM J. Comput., Vol. 7 (1978), 298–319.

    Article  Google Scholar 

  4. S. Carlsson, “The Deap— A Double-Ended Heap to Implement Double-Ended Priority Queues,” Inform. Process. Lett., Vol. 26 (1987), 33–36.

    Article  Google Scholar 

  5. S. Carlsson, J. Munro, P. Poblete, “An Implicit Binomial Queue with Constant insertion time,” Proc. SWAT (1988).

    Google Scholar 

  6. J. Driscoll, H. Gabow, R. Shrairman, R. Tarjan, “Relaxed Heaps: An Alternative to Fibonacci Heaps with Applications to Parallel Computation,” Comm. ACM, Vol. 31 (1988), 1343–1354.

    Article  Google Scholar 

  7. Y. Ding, M. Weiss, “The Relaxed Min-Max Heap: A Mergeable Double-Ended Priority Queue,” Acta Informatica, Vol.30 (1993), to appear.

    Google Scholar 

  8. Y. Ding, M. Weiss, “Efficient Implementations of Multi-dimensional Priority Queues,” School of Computer Science Technical Report, Florida International University, Feb. 1993.

    Google Scholar 

  9. R. Floyd, “Algorithm 245: Treesort,” Comm. ACM, Vol. 7 (1964), 701.

    Article  Google Scholar 

  10. M. Fredman, R. Sedgewick, D. Sleator, R. Tarjan, “The Pairing Heap: A New Form of Self-Adjusting Heap,” Algorithmica, Vol. 1 (1986), 111–129.

    Article  Google Scholar 

  11. M. Fredman, R. Tarjan, “Fibonacci Heaps and Their Uses in Improved Network Optimization Algorithms,” J. ACM, Vol. 34 (1987), 596–615.

    Article  Google Scholar 

  12. G. Gambosi, E. Nardelli, M. Talamo, “A Pointer-free Data Structure for Merging Heaps and Min-Max Heaps,” Theoretical Computer Science, Vol. 84 (1991), 107–126.

    Article  Google Scholar 

  13. A. Hasham, J. Sack, “Bounds for Min-Max Heaps,” BIT, Vol. 27 (1987), 315–323.

    Google Scholar 

  14. D. Knuth, The Art of Computer Programming, Vol. 3, Addison-Wesley, Reading, MA, 1973.

    Google Scholar 

  15. S. Olariu, C. Overstreet, Z. Wen, “A Mergeable Double-ended Priority Queue,” The Computer Journal, Vol. 34 (1991), 423–427.

    Google Scholar 

  16. J. Sack, T. Strothotte, “An Algorithm for Merging Heaps,” Acta Informatica, Vol. 22 (1985), 171–186.

    Google Scholar 

  17. D. Sleator, R. Tarjan, “Self-Adjusting Heaps,” SIAM J. Comput., Vol. 15 (1986), 52–69.

    Google Scholar 

  18. J. Vuillemin, “ A Data Structure for Manipulating Priority Queues,” Comm. ACM, Vol. 21 (1978), 309–315.

    Article  Google Scholar 

  19. J. Williams, “Algorithm 232: Heapsort,” Comm. ACM, Vol. 7 (1964), 347–348.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Frank Dehne Jörg-Rüdiger Sack Nicola Santoro Sue Whitesides

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ding, Y., Weiss, M.A. (1993). The K-D heap: An efficient multi-dimensional priority queue. In: Dehne, F., Sack, JR., Santoro, N., Whitesides, S. (eds) Algorithms and Data Structures. WADS 1993. Lecture Notes in Computer Science, vol 709. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-57155-8_257

Download citation

  • DOI: https://doi.org/10.1007/3-540-57155-8_257

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-57155-1

  • Online ISBN: 978-3-540-47918-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics