Question: 2. (20 points) Let P be a convex polygon and P2 be an arbitrary polygon (not necessary convex) inside Pi. The polygon separation problem is

 2. (20 points) Let P be a convex polygon and P2

2. (20 points) Let P be a convex polygon and P2 be an arbitrary polygon (not necessary convex) inside Pi. The polygon separation problem is to find another polygon P3 to separate Pi and P2 (i.e., Ps is inside Pi and contains P2 in its interior) and minimize its number of edges. You may assume that Ps shares a vertex with P1. Design a greedy algorithm to solve this problem and make your algorithm run as fast as possible. You should justify the correctness of your algorithm 2. (20 points) Let P be a convex polygon and P2 be an arbitrary polygon (not necessary convex) inside Pi. The polygon separation problem is to find another polygon P3 to separate Pi and P2 (i.e., Ps is inside Pi and contains P2 in its interior) and minimize its number of edges. You may assume that Ps shares a vertex with P1. Design a greedy algorithm to solve this problem and make your algorithm run as fast as possible. You should justify the correctness of your algorithm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!