Quad Trees Flashcards
1
Q
Quad trees motive
A
Divide a space recursively to be able to get into resolution where needed and to search in space.
2
Q
Point quad tree idea
A
A quad tree to provide search in 2d space. Each new point divides its space into 4 new spaces and is in the center of these spaces.
3
Q
Point quad tree run time
A
insert: O(logn)
search: If tree is not weighted than can be linear.
Delete: Very bad, find node, delete and reenter all points in sub tree.
4
Q
PR quad tree
A
Provides data about certain areas. Each area can hold p points, when p is reached, subdivide the area into 4 new ones and enter there.