1
Yaron Ostrovsky-Berman, Computational Geometry, Spring 2005
1
Computational Geometry
Exercise session #9: Arrangements
- Applications of arrangements
- Largest convex subsets
- Ham sandwich cuts
- Substructures of arrangements
- Lower envelopes
- Davenport-Schinzel sequences
- Divide & conquer algorithm
- Homework 4 solution
Yaron Ostrovsky-Berman, Computational Geometry, Spring 2005
2
Largest convex subsets
- Definition: A finite set of points P is in convex
position if all points of P are the vertices of the convex hull polygon of P.
- Definition: let P be a set of n points in general
- position. Then Q is a convex subset of P if
Q⊆P and Q is in convex position.
- Problem: given a point set P, find the largest
convex subset of P.
- Erdös-Szekeres: ES(m) ≤ choose(2m-4,m-2)+1
Yaron Ostrovsky-Berman, Computational Geometry, Spring 2005
3
Reminder: arrangements & convex hulls
- The dual of a set of n points is an arrangement
- f n lines. Denote dual of p with D(p).
- Boundary of lower hull of the points is a set of
line segments supported by lines incident on two points and below all other points.
- In the dual plane: the lower hull is the set of
edges whose level is zero.
- Upper hull is corresponds to set of edges with
level n-1.
Yaron Ostrovsky-Berman, Computational Geometry, Spring 2005
4
The dual problem
characteristic curves
Yaron Ostrovsky-Berman, Computational Geometry, Spring 2005
5
Solution idea
- Dual problem: find pair of characteristic curves with
largest number of edges.
- Idea: solve the problem for a fixed leftmost point p,
maximize over all p in P.
- Linear order on convex subset: leftmost is first, next
are other points in CCW order.
- Define Lp(e) for each edge e of arrangement, such
that Lp(e) = i if the dual point of its supporting line is the ith smallest point of some convex subset with p as leftmost point, and e is on the characteristic curve.
- Find edge with largest index i over all p in P.
Yaron Ostrovsky-Berman, Computational Geometry, Spring 2005
6
Observations I
- Edge e is part of upper (lower) characteristic
curve only if it lies above (below) h = D(p).
- Definitions: