Nothing Special   »   [go: up one dir, main page]

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)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
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

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,760
  • Downloads (Last 6 weeks)499
Reflects downloads up to 19 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (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)Neurodevelopmental disorders modeling using isogeometric analysis, dynamic domain expansion and local refinementComputer Methods in Applied Mechanics and Engineering10.1016/j.cma.2024.117534433(117534)Online publication date: Jan-2025
  • (2025)A modified PODI-RBF method to improve the accuracy of local solutions for real-time finite element simulations of indenter contact problemsAdvances in Engineering Software10.1016/j.advengsoft.2024.103806199(103806)Online publication date: Jan-2025
  • (2024)Fast and exact fixed-radius neighbor search based on sortingPeerJ Computer Science10.7717/peerj-cs.192910(e1929)Online publication date: 29-Mar-2024
  • (2024)Development of a 3D Model Vibration Visualization SystemTransaction of the Korean Society of Automotive Engineers10.7467/KSAE.2024.32.10.79732:10(797-808)Online publication date: 1-Oct-2024
  • (2024)Time Series Classification: A Review of Algorithms and ImplementationsTime Series Analysis - Recent Advances, New Perspectives and Applications10.5772/intechopen.1004810Online publication date: 25-Mar-2024
  • (2024)Spatially distributed snow depth, bulk density, and snow water equivalent from ground-based and airborne sensor integration at Grand Mesa, Colorado, USAThe Cryosphere10.5194/tc-18-3253-202418:7(3253-3276)Online publication date: 22-Jul-2024
  • (2024)VISIR-2: ship weather routing in PythonGeoscientific Model Development10.5194/gmd-17-4355-202417:10(4355-4382)Online publication date: 24-May-2024
  • 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