R-Trees
R-Trees
Albert-Jan Yzelman October 22, 2007
Albert-Jan Yzelman
R-Trees Albert-Jan Yzelman October 22, 2007 Albert-Jan Yzelman - - PowerPoint PPT Presentation
R-Trees R-Trees Albert-Jan Yzelman October 22, 2007 Albert-Jan Yzelman R-Trees > Introduction Outline R-trees Introduction 1 Basics 2 Tree Construction 3 Conclusions 4 Albert-Jan Yzelman R-Trees > Introduction Background
R-Trees
Albert-Jan Yzelman
R-Trees > Introduction
Albert-Jan Yzelman
R-Trees > Introduction
Albert-Jan Yzelman
R-Trees > Introduction
Albert-Jan Yzelman
R-Trees > Introduction
1
Albert-Jan Yzelman
R-Trees > Introduction
1
2
Albert-Jan Yzelman
R-Trees > Introduction
Albert-Jan Yzelman
R-Trees > Introduction
Albert-Jan Yzelman
R-Trees > Introduction
Albert-Jan Yzelman
R-Trees > Introduction
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
1 Tree-like data structure 2 Minimal Bounding Rectangles (MBRs) Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Basics
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
n=28, M=3, and so: h=4
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Tree Construction
0.8 0.3 0.5 0.8 0.7 0.7 0.8 0.8 0.8 0.5 0.3 0.5
Albert-Jan Yzelman
R-Trees > Tree Construction
0.4 0.8 0.8 0.8 0.5 0.8 0.3 0.5 0.4 0.7 0.8 0.8 0.1 0.7 0.5 0.4 0.1 0.3
Albert-Jan Yzelman
R-Trees > Tree Construction
Albert-Jan Yzelman
R-Trees > Conclusions
Albert-Jan Yzelman
R-Trees > Conclusions
Albert-Jan Yzelman
R-Trees > Conclusions
10
3
10
4
10
5
10
6
10
7
10 10
1
10
2
10
3
10
4
10
5
10
6
Number of grid elements Building time (in processor ticks) Grid size vs. building time Bisection tree. 2/4 RandomTGS bulk−loaded basic R−tree. 2/4 HilbertTGS bulk−loaded basic R−tree.
Albert-Jan Yzelman
R-Trees > Conclusions
10
2
10
3
10
4
10
5
10
6
10
7
10
−5
10
−4
10
−3
10
−2
10
−1
10 Number of grid elements Average required time per point query (in seconds) Grid size vs. query time −− point query Bisection tree. 2/4 RandomTGS bulk−loaded basic R−tree. 2/4 HilbertTGS bulk−loaded basic R−tree.
Albert-Jan Yzelman
R-Trees > Conclusions
10
2
10
3
10
4
10
5
10
6
10
7
10
−4
10
−3
10
−2
10
−1
10 10
1
Number of grid elements Average required time per line query (in seconds) Grid size vs. query time −− line query Bisection tree. 2/4 RandomTGS bulk−loaded basic R−tree. 2/4 HilbertTGS bulk−loaded basic R−tree.
Albert-Jan Yzelman
R-Trees > Conclusions
10
2
10
3
10
4
10
5
10
6
10
7
10
−4
10
−3
10
−2
10
−1
10 10
1
10
2
Number of grid elements Average required time per box query (in seconds) Grid size vs. query time −− box query Bisection tree. 2/4 RandomTGS bulk−loaded basic R−tree. 2/4 HilbertTGS bulk−loaded basic R−tree.
Albert-Jan Yzelman
R-Trees > Conclusions
10
2
10
3
10
4
10
5
10
6
10
7
10
−3
10
−2
10
−1
10 10
1
10
2
Number of grid elements Average required time per knn query (in seconds) Grid size vs. query time −− knn query Bisection tree. 2/4 RandomTGS bulk−loaded basic R−tree. 2/4 HilbertTGS bulk−loaded basic R−tree.
Albert-Jan Yzelman
R-Trees > Conclusions
Albert-Jan Yzelman
R-Trees > Conclusions
Albert-Jan Yzelman