encyclopegia.org

Ball tree

In computer science, a ball tree, balltree or metric tree, is a space partitioning data structure for organizing points in a multi-dimensional space.[src] A ball tree partitions data points into a nested set of balls.[src] The resulting data structure has characteristics that make it useful for a number of applications, most notably nearest neighbor search.[src]

In computer science, a ball tree, balltree or metric tree, is a space partitioning data structure for organizing points in a multi-dimensional space.[src] A ball tree partitions data points into a nested set of balls.[src] The resulting data structure has characteristics that make it useful for a number of applications, most notably nearest neighbor search.[src] D^{B}(t) = \begin{cases} \max(|t - \textit{B.pivot}| - \textit{B.radius}, D^\textit{B.parent}), & \text{if }B \neq Root \\ \max(|t - \textit{B.pivot}| - \textit{B.radius}, 0), & \text{if }B = Root \\ \end{cases} Where D^{B}(t) is the minimum possible distance from any point in the ball to some point .[src] Ball-trees are related to the M-tree, but only support binary splits, whereas in the M-tree each level splits m to 2m fold, thus leading to a shallower tree structure, therefore need fewer distance computations, which usually yields faster queries.[src] Furthermore, M-trees can better be stored on disk, which is organized in pages.[src] The M-tree also keeps the distances from the parent node precomputed to speed up queries.[src] Vantage-point trees are also similar, but they binary split into one ball, and the remaining data, instead of using two balls.[src] B.pivot := p B.child1 := construct_balltree(L), B.child2 := construct_balltree(R), let B.radius be maximum distance from p among children return B end if end function ==References==[src]

12 sentences · 12 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Ball tree." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ball-tree. Accessed 25 November 2026.

Chicago

"Ball tree." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/ball-tree.

APA

encyclopegia.org. (2026). Ball tree. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/ball-tree

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ti -Tree

stub · references available

Poké Ball

stub · references available

Siberian Tree Frog

stub · references available

Olive-tree Warbler

stub · references available

Tree Pipit

stub · references available

Matschie's tree-kangaroo

stub · references available

Ball

stub · references available

Dragon Ball

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1369580746 · 0.5 · snapshot enwiki-001369580746

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.