11.07.2015 Views

Data Structures and Algorithm Analysis - Computer Science at ...

Data Structures and Algorithm Analysis - Computer Science at ...

Data Structures and Algorithm Analysis - Computer Science at ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

452 Chap. 13 Advanced Tree <strong>Structures</strong>xCyADxyABBEFxyCDEF(a)(b)Figure 13.18 An example of the bintree, a binary tree using key space decomposition<strong>and</strong> discrimin<strong>at</strong>ors rot<strong>at</strong>ing among the dimensions. Compare this withthe k-d tree of Figure 13.11 <strong>and</strong> the PR quadtree of Figure 13.16.0 0 127CADBEFnwCneAswBseDEF127(a)(b)Figure 13.19 An example of the point quadtree, a 4-ary tree using object spacedecomposition. Compare this with the PR quadtree of Figure 13.11.<strong>and</strong> altern<strong>at</strong>es discrimin<strong>at</strong>ors <strong>at</strong> each level in a manner similar to the k-d tree. Thebintree for the points of Figure 13.11 is shown in Figure 13.18. Altern<strong>at</strong>ively, wecan use a four-way decomposition of space centered on the d<strong>at</strong>a points. The treeresulting from such a decomposition is called a point quadtree. The point quadtreefor the d<strong>at</strong>a points of Figure 13.11 is shown in Figure 13.19.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!