An alternative to the 2-d tree is the quad tree. Figure 12.52 shows how a plane

Chapter 12, Problem 12.33

(choose chapter or problem)

An alternative to the 2-d tree is the quad tree. Figure 12.52 shows how a plane ispartitioned by a quad tree. Initially we have a region (which is often a square, butneed not be). Each region may store one point. If a second point is inserted into aregion, then the region is split into four equal-sized quadrants (northeast, southeast,southwest, and northwest). If this places the points in different quadrants (aswhen p2 is inserted), we are done; otherwise, we continue splitting recursively (asis done when p5 is inserted).a. For a given set of N items, does the order of insertion affect the final partition?b. Show the final partition if the same elements that were in the 2-d tree inFigure 12.39 are inserted into the quad tree.

Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.

Becoming a subscriber
Or look for another answer

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back