k-d tree | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Multidimensional BST | |||||||||||||||||||||||
Invented | 1975 | |||||||||||||||||||||||
Invented by | Jon Louis Bentley | |||||||||||||||||||||||
|
In computer science, a k-d tree (short for k-dimensional tree) is a space-partitioning data structure for organizing points in a k-dimensional space. K-dimensional is that which concerns exactly k orthogonal axes or a space of any number of dimensions.[1] k-d trees are a useful data structure for several applications, such as:
k-d trees are a special case of binary space partitioning trees.