This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Tutorial 2 Tutorial 2
Finding maximal points Detail of an output sensitive algorithm Output sensitive algorithm Output sensitive algorithm Pick the rightmost point of S, denote it as P (It must be the maximal point!) Discard all the points from S that are invalidated by P Output P and discard P from S Repeat the first step until S is empty Step1: Locate rightmost pt Step1: Locate rightmost pt P Step 2: Discard invalid pts Step 2: Discard invalid pts P Reason: If we pick p as maximal point, then all other points in Q3 can’t be maximal Step 3: output and discard Step 3: output and discard P Output P Step 4: Repeat step 1 Step 4: Repeat step 1 ...
View Full Document
This note was uploaded on 12/09/2010 for the course ENGLISH 1303 taught by Professor May during the Spring '10 term at HKU.
- Spring '10