Finding maximal points - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Finding maximal points

Description:

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 ... – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 7
Provided by: Tong84
Category:
Tags: algo | finding | maximal | points

less

Transcript and Presenter's Notes

Title: Finding maximal points


1
Tutorial 2
  • Finding maximal points
  • Detail of an output sensitive algorithm

2
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

3
Step1 Locate rightmost pt
P
4
Step 2 Discard invalid pts
P
Reason If we pick p as maximal point, then all
other points in Q3 cant be maximal
5
Step 3 output and discard
P
Output P
6
Step 4 Repeat step 1
Write a Comment
User Comments (0)
About PowerShow.com