skip to main content
article
Free access

Multidimensional binary search trees used for associative searching

Published: 01 September 1975 Publication History

Abstract

This paper develops the multidimensional binary search tree (or k-d tree, where k is the dimensionality of the search space) as a data structure for storage of information to be retrieved by associative searches. The k-d tree is defined and examples are given. It is shown to be quite efficient in its storage requirements. A significant advantage of this structure is that a single data structure can handle many types of queries very efficiently. Various utility algorithms are developed; their proven average running times in an n record file are: insertion, O(log n); deletion of the root, O(n(k-1)/k); deletion of a random node, O(log n); and optimization (guarantees logarithmic performance of searches), O(n log n). Search algorithms are given for partial match queries with t keys specified [proven maximum running time of O(n(k-t)/k)] and for nearest neighbor queries [empirically observed average running time of O(log n).] These performances far surpass the best currently known algorithms for these tasks. An algorithm is presented to handle any general intersection query. The main focus of this paper is theoretical. It is felt, however, that k-d trees could be quite useful in many applications, and examples of potential uses are given.

References

[1]
Friedman, J.H., Bentley, J.L., and Finkel, R.A. An algorithm for finding best matches in logarithmic time. Stanford CS Rep. 75--482.
[2]
Blum, M., Floyd, R.W., Pratt, V., Rivest, R.L., and Tarjan, R.E. Time bounds for selection. Stanford CS Rep. 73-349.
[3]
Finkel, R.A., and Bentley, J.L. "Quad trees: a data structure for retrieval on composite key." Acta lnformatica 4, 1 (1974), 1-9.
[4]
Knuth, D.E. The Art of Computer Programming, Vol. 1: Fundamental Algorithms. Addison-Wesley, Reading, Mass., 1969.
[5]
Knuth, D.E. The Art of Computer Programmhtg, Vol. 1li: Sorting and Searching. Addison-Wesley, Reading, Mass., 1973.
[6]
McCreight, E. Computer Science 144A midterm examination, spring quarter, 1973. Stanford University.
[7]
Rivest, R.L. Analysis of associative retrieval algorithms. Stanford CS Rep. 74--415.

Cited By

View all
  • (2025)Fast video stitching algorithm based on adaptive key frames extractionFifth International Conference on Signal Processing and Computer Science (SPCS 2024)10.1117/12.3052982(31)Online publication date: 3-Jan-2025
  • (2025)Improving Efficiency of Iso-Surface Extraction on Implicit Neural Representations Using Uncertainty PropagationIEEE Transactions on Visualization and Computer Graphics10.1109/TVCG.2024.336508931:2(1513-1525)Online publication date: Feb-2025
  • (2025)Learning Road Network Index Structure for Efficient Map MatchingIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2024.348519537:1(423-437)Online publication date: Jan-2025
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Communications of the ACM
Communications of the ACM  Volume 18, Issue 9
Sept. 1975
50 pages
ISSN:0001-0782
EISSN:1557-7317
DOI:10.1145/361002
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 1975
Published in CACM Volume 18, Issue 9

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. associative retrieval
  2. attribute
  3. binary search trees
  4. binary tree insertion
  5. information retrieval system
  6. intersection queries
  7. key
  8. nearest neighbor queries
  9. partial match queries

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3,601
  • Downloads (Last 6 weeks)394
Reflects downloads up to 11 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2025)Fast video stitching algorithm based on adaptive key frames extractionFifth International Conference on Signal Processing and Computer Science (SPCS 2024)10.1117/12.3052982(31)Online publication date: 3-Jan-2025
  • (2025)Improving Efficiency of Iso-Surface Extraction on Implicit Neural Representations Using Uncertainty PropagationIEEE Transactions on Visualization and Computer Graphics10.1109/TVCG.2024.336508931:2(1513-1525)Online publication date: Feb-2025
  • (2025)Learning Road Network Index Structure for Efficient Map MatchingIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2024.348519537:1(423-437)Online publication date: Jan-2025
  • (2025)Advanced Deep Learning–Based Hybrid Rail Extraction Algorithm Leveraging LiDAR TechnologyJournal of Infrastructure Systems10.1061/JITSE4.ISENG-245731:1Online publication date: Mar-2025
  • (2025)A method for automatic extraction and individual segmentation of urban street trees from laser point cloudsOptics & Laser Technology10.1016/j.optlastec.2024.111431180(111431)Online publication date: Jan-2025
  • (2025)Graph sequence learning for premise selectionJournal of Symbolic Computation10.1016/j.jsc.2024.102376128(102376)Online publication date: May-2025
  • (2025)A GPU-parallelized data-driven numerical manifold method with enhanced k-d tree algorithm for simulation of rock mechanical behaviorsComputers and Geotechnics10.1016/j.compgeo.2024.106982179(106982)Online publication date: Mar-2025
  • (2025)A heterogeneous hybrid-precision finite volume method for compressible flow on unstructured gridsComputers & Fluids10.1016/j.compfluid.2024.106505288(106505)Online publication date: Feb-2025
  • (2025)Exact and efficient search-based wall distance algorithm for partitioned unstructured gridsComputers & Fluids10.1016/j.compfluid.2024.106494288(106494)Online publication date: Feb-2025
  • (2025)Geospatial indexing for sea–land navigation based on machine learningComputers and Electrical Engineering10.1016/j.compeleceng.2024.109433118:PBOnline publication date: 7-Jan-2025
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media