Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
R+ tree
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Tree data structure in computer science}} An '''R+ tree''' is a method for looking up data using a location, often (x, y) [[coordinates]], and often for locations on the [[Geography|surface of the Earth]]. Searching on one number is a solved problem; searching on two or more, and asking for locations that are nearby in both x and y directions, requires craftier algorithms. Fundamentally, an R+ tree is a [[tree data structure]], a variant of the [[R tree]], used for [[spatial index|indexing spatial information]]. ==Difference between R+ trees and R trees== R+ trees are a compromise between [[R-tree]]s and [[K-d tree|kd-trees]]: they avoid overlapping of internal nodes by inserting an object into multiple leaves if necessary. '''Coverage''' is the entire area to cover all related rectangles. '''Overlap''' is the entire area which is contained in two or more nodes.<ref>{{cite book|last=Härder, Rahm|first=Theo, Erhard|title=Datenbanksysteme.|year=2007|publisher=Gardners Books|location=Berlin [etc.]|isbn=978-3-540-42133-7|pages=285, 286|edition=2., überarb. Aufl.}}</ref> Minimal coverage reduces the amount of "dead space" (empty area) which is covered by the nodes of the R-tree. Minimal overlap reduces the set of search paths to the leaves (even more critical for the access time than minimal coverage). Efficient search requires minimal coverage and overlap. R+ trees differ from R trees in that: nodes are not guaranteed to be at least half filled, the entries of any internal node do not overlap, and an object ID may be stored in more than one leaf node. ==Advantages== Because nodes are not overlapped with each other, point query performance benefits since all spatial regions are covered by at most one node. A single path is followed and fewer nodes are visited than with the R-tree. ==Disadvantages== Since rectangles are duplicated, an R+ tree can be larger than an R tree built on same data set. Construction and maintenance of R+ trees is more complex than the construction and maintenance of R trees and other variants of the R tree. ==Notes== {{reflist}} ==References== * T. Sellis, N. Roussopoulos, and [[Christos Faloutsos|C. Faloutsos]]. [http://doi=10.1.1.45.3272 The R+-Tree: A dynamic index for multi-dimensional objects]. In VLDB, 1987. {{CS trees}} {{Data structures}} {{DEFAULTSORT:R Tree}} [[Category:R-tree]] [[Category:Database index techniques]] [[de:R-Baum]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:CS trees
(
edit
)
Template:Cite book
(
edit
)
Template:Data structures
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)