[go: nahoru, domu]

Jump to content

Range tree

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Breuwi (talk | contribs) at 19:35, 1 December 2007 (Added stub with basic reference so people can look it up.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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 efficiently retrieved, and is typically used in two or higher dimensions.

It is similar to a kd-tree except with faster query times of O(log2 n + k) but worse storage of O(n log n), with n being the number of points in the tree, and k being the number of points retrieved for a given query.

References