














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Lecture Slides of Advanced Data Structures which includes Split Algorithm, Unbalanced Binary Search Trees, Forward Pass, Forward Pass Example, Backward Cleanup Pass, Retrace Path, Current Nodes, Roots of Respective Tries, Branch Nodes etc. Key important points are: R-Trees, Dimensional Rectangles, Trivial Rectangle, Non-Rectangular Data, Minimum Bounding Rectangles, Rectangle Collections, Data Nodes, Index Nodes, Parent Node, Possible Partitioning
Typology: Slides
1 / 22
This page cannot be seen from the preview
Don't miss anything!















Collection of d-dimensional rectangles. A point in d-dimensions is a trivial rectangle.
a b c d e f g h i j k l
m n o p
Leaves are data nodes that contain 4 input rectangles each.
a-p are MBRs
a
b
c d
m
a b cd e f g h i j k l
m n o p
a
b
c d
m
e n f
a b cd e f g h i j k l
m n o p
m
n
o p
a b cd e f g h i j k l
m n o p
m
n
o p
a
b
c d
a b cd e f g h i j k l
m n o p
n
o
p
A and B each have at least m rectangles/MBRs. Sum of areas of MBRs of A and B is minimum.
M = 8, m = 4
Compute area(MBR(A)) + area(MBR(B)) for each possible A. Note—for each A, the B is unique. Select partition that minimizes this sum.
m!(M+1-m)!
Impractical for large M.
area(MBR(a,b)) – area(a) – area(b) M = 8, m = 4
area(MBR(a,b)) – area(a) – area(b) M = 8, m = 4
M = 8, m = 4
Continue assigning in this way until all remaining rectangles must necessarily be assigned to one of the two partitions for that partition to have m rectangles.
M = 8, m = 4
M = 8, m = 4
M = 8, m = 4
Separation in x- dimension
M = 8, m = 4
Separation in y- dimension
M = 8, m = 4
Rectangles with max y-separation
M = 8, m = 4
Divide by y-width to normalize
Assign remaining rectangles in random order. Rectangle is assigned to partition whose MBR area increases least. Stop when all remaining rectangles must be assigned to one of the partitions so that the partition has its minimum required m rectangles. M = 8, m = 4