Docsity

Ordering in D Dimensions, Spatial Data Structuring - Outline | CMSC 878R, Study notes of Computer Science

Partial preview of the text

Download Ordering in D Dimensions, Spatial Data Structuring - Outline | CMSC 878R and more Study notes Computer Science in PDF only on Docsity!

FMM CMSC 878R/AMSC 698R

Lecture 13

Outline

Ordering in d-dimensions

Bit interleaving

Children ordering

Bit deinterleaving

Neighbor and other search algorithms

Spatial data structuring

Separability of space

Threshold level of subdivision

Data sorting

Binary search

About some operations on sets (union, difference, intersection)

Scaling

Scaling (2)

When scaling like this, don’t forget about deformation of the domains for your R and S expansions!

Binary Ordering (2)

Finding the number of the box

containing a given point

Level 1:

Level 2:

Level

l

We use numberingstrings!

Binary Ordering (3)

Finding the number of the box

containing a given point (2)

This is analgorithm forfinding of thebox number atlevel

l

Binary Ordering (5)

Neighbor finding

This is the algorithm!

The size of the box at level

l

Ordering in

d

-dimensions (1).

Bit Interleaving.

This maps

R

d

R

, where coordinates are ordered naturally!

Ordering in

d

-dimensions (3).

Convention for Children Ordering.

x

1

x

2

x

1

x

3

x

2

x

1

x

2

x

1

x

3

x

2

d

d

Ordering in

d

-dimensions (4).

Finding the number of the box

containing a given point.

Bit Deinterleaving

Bit deinterleving (2). Example.

2

Number

3

2

10

Number

2

2

10

Number

1

2

1 0

Number = 76893

10

2

Number

3

2

10

Number

2

2

10

Number

1

2

1 0

Number = 76893

10

To break the numberinto groupsof

d

bits start from

the last digit!

It is OK that the first group is incomplete

Neighbor Finding

Neighbor Finding (2). Example.

x

1

x

2

Number

1

Number

2

x

1

x

2

Number

1

Number

2

deinterleaving

generation ofneighbors

interleaving

10

2

2

10