Lec Coimbatore Jan2011
Lec Coimbatore Jan2011
Lec Coimbatore Jan2011
1. Background
2. Time and space complexity
3. Polygon inclusion problems
4. Intersection problems
5. Convex hull problem
6. Polygon triangulation
7. Ary Gallery problem
8. Concluding remarks
Background
P
z
q
d e
a
c
v
S
◮ For every pair of points u and v , draw the line Luv passing
through u and v .
◮ If every point of S lie on one side of Luv , take uv as a convex
hull edge.
◮ Therefore, the convex hull of S can be computed in O(n3 )
time.
◮ Is it possible to compute the convex hull of S in O(n2 ) time?
Divide and Conquer technique
A B
P P
Guard 1
Guard 2
mobile guard
edge guard