In computer science, a range tree is an ordered tree data structure to hold a list of points. It allows all points within a given range to be reported efficiently, and is typically used in two or higher dimensions. Range trees were introduced by Jon Louis Bentley in 1979.[1] Similar data structures were discovered independently by Lueker,[2] Lee and Wong,[3] and Willard.[4]
The range tree is an alternative to the k-d tree. Compared to k-d trees, range trees offer faster query times of (in Big O notation) but worse storage of , where n is the number of points stored in the tree, d is the dimension of each point and k is the number of points reported by a given query.
Bernard Chazelle improved this to query time and space complexity .[5][6]
^Bentley, J. L. (1979). "Decomposable searching problems" (PDF). Information Processing Letters. 8 (5): 244–251. doi:10.1016/0020-0190(79)90117-0. Archived from the original on September 24, 2017.
^Lueker, G. S. (1978). "A data structure for orthogonal range queries". 19th Annual Symposium on Foundations of Computer Science (sfcs 1978). pp. 28–21. doi:10.1109/SFCS.1978.1. S2CID 14970942.
^Lee, D. T.; Wong, C. K. (1980). "Quintary trees: A file structure for multidimensional database systems". ACM Transactions on Database Systems. 5 (3): 339. doi:10.1145/320613.320618. S2CID 2547376.
^Willard, Dan E. The super-b-tree algorithm (Technical report). Cambridge, MA: Aiken Computer Lab, Harvard University. TR-03-79.
^Chazelle, Bernard (1990). "Lower Bounds for Orthogonal Range Searching: I. The Reporting Case" (PDF). Journal of the ACM. 37 (2): 200–212. doi:10.1145/77600.77614. S2CID 8895683.
^Chazelle, Bernard (1990). "Lower Bounds for Orthogonal Range Searching: II. The Arithmetic Model" (PDF). Journal of the ACM. 37: 439–463. doi:10.1145/79147.79149. S2CID 15935619.
computer science, a rangetree is an ordered tree data structure to hold a list of points. It allows all points within a given range to be reported efficiently...
consisting of ranges or points, and return all the ranges in the original set overlapping this input. The task is to find all intervals in the tree that overlap...
In computer science, a Range Query Tree, or RQT, is a term for referring to a data structure that is used for performing range queries and updates on...
yet been fully surveyed by botanists, making tree diversity and ranges poorly known. The majority of tree species are angiosperms or hardwoods. Of the...
Smoke TreeRange is a 1937 American Western film directed by Lesley Selander and written by Frances Guihan. The film stars Buck Jones, Muriel Evans, John...
partitioning. Segment tree Interval treeRangetree Bin K-d tree Implicit k-d tree Min/max k-d tree Relaxed k-d tree Adaptive k-d tree Quadtree Octree Linear...
gooseberry, Malacca tree, or amla, from the Sanskrit आमलकी (āmalakī), is a deciduous tree of the family Phyllanthaceae. Its native range is tropical and southern...
al-TIH-sim-ə, commonly known as tree of heaven, Ailanthus, varnish tree, copal tree, stinking sumac, Chinese sumac, paradise tree, or in Chinese as chouchun...
North America English yew. It is a woodland tree in its native range, and it's also grown as an ornamental tree, hedge or topiary. Most parts of the plant...
England, pry or pry tree. Its range extends from Britain through mainland Europe to the Caucasus and western Asia. In the south of its range it is restricted...
known as the Joshua tree, yucca palm, tree yucca, and palm tree yucca) is a plant species belonging to the genus Yucca. It is tree-like in habit, which...
a seedling will establish itself on a shell midden). In its native range, a tree needs no extra water or food once it has become established. Water and...
crevices on ash trees, and larvae feed underneath the bark of ash trees to emerge as adults in one to two years. In its native range, it is typically...
languages and has numerous local names in its native range; common English names include saman, rain tree and monkeypod (see also § Names below). In Cambodia...
American tree sparrow. Although several subspecies are recognised, the appearance of this bird varies little across its extensive range. The Eurasian tree sparrow's...
coniferous trees within the family Cupressaceae, that range in the northern hemisphere. It includes the largest and tallest trees in the world. The trees in the...
Rain tree is a common name for several plants and may refer to: Albizia saman, a tree in the family Fabaceae, native to a range extending from Mexico south...
sugar apple or sweetsop Asimina triloba, the "pawpaw", a deciduous tree, with a range from southern Ontario to Texas and Florida, that bears the largest...
Albizia julibrissin, the Persian silk tree, pink silk tree, or mimosa tree, is a species of tree in the Fabaceae family, native to southwestern and eastern...
used compress rangetrees to achieve O ( log n ) {\displaystyle O(\log n)} query time and O ( n ) {\displaystyle O(n)} space for range counting. Joseph...
needles, and has therefore been used as an ornamental tree in many places far beyond its native range. In the wild, Picea pungens grows to about 23 m (75 ft)...
sum of the empty range A ( 0 , 0 ] = { } {\displaystyle A(0,0]=\{\}} with value 0. A "Fenwick tree" is actually three implicit trees over the same array:...
pre-settlement location, further obscuring its true native range. It is widely planted as an ornamental tree. It is adapted to moist, high pH soil and full sun...
points contained within a range. class QuadTree { ... // Find all points that appear within a range function queryRange(AABB range) { // Prepare an array...
deciduous tree in the family Fabaceae, native to central North America where it is mostly found in the moist soil of river valleys. Honey locust trees are highly...