Rectangle Quadtree Insertion and Deletion Operation - Prof. Hanan Samet, Study Guides, Projects, Research of Data Structures and Algorithms

The implementation of rectangle quadtree data structure where rectangles are inserted and deleted based on their spatial relationship with existing rectangles. Examples of successful and failed insertions and deletions.

Typology: Study Guides, Projects, Research

Pre 2010

Uploaded on 07/29/2009

koofers-user-z7i
koofers-user-z7i 🇺🇸

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1 Sat Oct 1 00:16:46 2005
INIT
C234 CREATED
AAA CREATED
123 CREATED
ABC4 CREATED
ABCD CREATED
Z9 CREATED
C5 CREATED
420 CREATED
HJS CREATED
JAG CREATED
START LIST
AAA 64 64 16 6
ABCD 190 220 50 20
ABC4 130 100 120 10
C234 100 150 25 100
C5 250 40 7 12
HJS 110 155 20 11
JAG 10 70 10 60
Z9 10 20 120 20
123 124 64 4 6
420 80 130 20 20
END LIST
C234 INSERTED
AAA INSERTED
123 INSERTED
ABC4 INSERTED
ABCD INSERTED
Z9 INSERTED
INSERTION OF C5 FAILED AS C5 LIES PARTIALLY OUTSIDE SPACE SPANNED BY RECT QUADTREE
INSERTION OF HJS FAILED AS HJS INTERSECTS C234
JAG INSERTED
C5 DOES NOT INTERSECT AN EXISTING RECTANGLE
420 DOES NOT INTERSECT AN EXISTING RECTANGLE
HJS INTERSECTS RECTANGLE C234
SEARCH_POINT: Z9
SEARCH_POINT: NONE
START DISPLAY
pf2

Partial preview of the text

Download Rectangle Quadtree Insertion and Deletion Operation - Prof. Hanan Samet and more Study Guides, Projects, Research Data Structures and Algorithms in PDF only on Docsity!

1 Sat Oct 1 00:16:46 2005

INIT C234 CREATED AAA CREATED 123 CREATED ABC4 CREATED ABCD CREATED Z9 CREATED C5 CREATED 420 CREATED HJS CREATED JAG CREATED START LIST AAA 64 64 16 6 ABCD 190 220 50 20 ABC4 130 100 120 10 C234 100 150 25 100 C5 250 40 7 12 HJS 110 155 20 11 JAG 10 70 10 60 Z9 10 20 120 20 123 124 64 4 6 420 80 130 20 20 END LIST C234 INSERTED AAA INSERTED 123 INSERTED ABC4 INSERTED ABCD INSERTED Z9 INSERTED INSERTION OF C5 FAILED AS C5 LIES PARTIALLY OUTSIDE SPACE SPANNED BY RECT QUADTREE INSERTION OF HJS FAILED AS HJS INTERSECTS C JAG INSERTED C5 DOES NOT INTERSECT AN EXISTING RECTANGLE 420 DOES NOT INTERSECT AN EXISTING RECTANGLE HJS INTERSECTS RECTANGLE C SEARCH_POINT: Z SEARCH_POINT: NONE START DISPLAY

2 Sat Oct 1 00:16:46 2005

C

ABCD

AAA 123

Z

ABC

JAG

END DISPLAY

C234 DELETED

HJS INSERTED

HJS DELETED