Advanced Geometric Algorithms Lecture Notes

Advanced Geometric Algorithms Lecture Notes

Advanced Geometric Algorithms Lecture Notes Vladlen Koltun1 Spring 2006 1Computer Science Department, 353 Serra Mall, Gates 464, Stanford University, Stanford, CA 94305, USA; [email protected]. Contents 1 Preliminaries from Convex Geometry 1 1.1 Definitions................................. 1 1.2 Radon’stheorem ............................. 2 1.3 Helly’stheorem .............................. 2 1.4 Carath´eodory’stheorem . 3 2 ε-nets and VC-dimension 5 2.1 Defining ε-nets .............................. 5 2.2 DefiningVC-dimension.......................... 5 2.3 The existence of small ε-nets....................... 6 2.4 ε-samples ................................. 9 2.5 Bounding the VC-dimension . 9 3 Applications of ε-nets 13 3.1 Arrangementsandpointlocation . 13 3.2 Segment intersection searching . .. 16 3.3 Rangesearching.............................. 18 3.4 Nearest-neighborsearch . .. .. 19 4 Centerpoints, Planar Graphs, and Planar Separators 23 4.1 Rado’scenterpointtheorem . 23 4.2 Drawinggraphsintheplane . 24 4.3 Euler’sformula .............................. 25 4.4 Coloringplanargraphs .......................... 28 4.5 Koebe’sTheorem ............................. 29 4.6 ExistenceofPlanarSeparators. 33 5 Well-separated Pair Decompositions and Their Applications 37 5.1 WSPD Definition and Applications . 37 5.1.1 Closestpair ............................ 38 5.1.2 Allnearestneighbors . 38 5.1.3 Spanners.............................. 38 5.1.4 Euclidean minimum spanning trees . 39 5.1.5 Diameter ............................. 40 5.2 ConstructingWSPDs........................... 40 i 5.2.1 Introducingquadtrees . 40 5.2.2 Constructing compressed quadtrees . 41 5.2.3 ConstructingWSPDs. 43 6 Euclidean Traveling Salesperson 45 6.1 Background ................................ 45 6.2 Thealgorithm............................... 46 7 Approximating the Extent of Point Sets 53 7.1 Diameter.................................. 53 7.2 Width ................................... 56 7.3 Coresets .................................. 59 ii Chapter 1 Preliminaries from Convex Geometry 1.1 Definitions Let Rd denote the d-dimensional Euclidean space. A k-flat passing through the origin is said to be a linear subspace of Rd. A general k-flat is called an affine subspace of Rd. In both cases, the dimension of the subspace is defined to be k. An affine combination of a set of points a , a ,...,a Rd is an expression of the 1 2 n ∈ form n n ciai, where ci =1. i=1 i=1 X X A set of points a , a ,...,a Rd is said to be affinely dependent if one of the 1 2 n ∈ points can be expressed as an affine combination of the others. This is the case if and only if there exist c ,c ,...,c R, not all zero, such that 1 2 n ∈ n n ciai = 0, where ci =0. i=1 i=1 X X Note the distinction between linear combinations and affine combinations: Given two points in the plane, the set of their linear combinations covers the whole plane, but their set of affine combinations is a single line. Similarly, three points in the plane are linearly dependent, but affinely independent. A useful fact from linear algebra is that any set of d +1 or more points in Rd is linearly dependent and any set of d +2 or more points in Rd is also affinely dependent. A convex combination of a set A = a , a ,...,a Rd is an expression of the { 1 2 n} ⊆ form n n c a , where c = 1, and c 0 for all 1 i n. i i i i ≥ ≤ ≤ i=1 i=1 X X The set of all convex combinations of A is called the convex hull of A, denoted by conv(A). 1 1.2 Radon’s theorem d Theorem 1.2.1. Given A = a1, a2,...,ad+2 R , there exist two disjoint subsets A , A A such that { } ⊆ 1 2 ⊂ conv(A ) conv(A ) = . 1 ∩ 2 6 ∅ Proof. We have d + 2 points in d-space, so they are affinely dependent. Therefore, there exist c ,c ,...,c R, not all zero, such that 1 2 d+2 ∈ d+2 d+2 ciai = 0 and ci =0. i=1 i=1 X X Let P = i : c > 0 and N = i : c < 0 . Since d+2 c = 0, we have P, N = . { i } { i } i=1 i 6 ∅ We claim that A1 = ai : i P and A2 = ai : i N are the desired sets. { ∈ } { ∈ P} Indeed, put S = i P ci = i N ci. Consider the point ∈ − ∈ P P ci x = a . S i i P X∈ ci ci x lies in the convex hull of P since i P S = 1 and S 0 for all i P . Furthermore, ∈ ≥ ∈ recall that d+2 P ciai =0= ciai + ciai, i=1 i P i N X X∈ X∈ and thus c a = c a , i i − i i i P i N X∈ X∈ which implies that c x = i a . − S i i N X∈ ci ci Therefore x also lies in the convex hull of N since i N S = 1 and −S 0 for all i N. − ∈ ≥ ∈ P 1.3 Helly’s theorem We can use Radon’s theorem to prove the celebrated result by Helly. Theorem 1.3.1. Given a collection of n d +1 convex sets in Rd, if the intersec- ≥ tion of every d +1 of these sets is nonempty, then the intersection of all the sets is nonempty. Proof. The proof is by induction on n. The base case of d + 1 sets is trivial. Suppose the claim holds for collections of n 1 sets and consider a collection C1,C2,...,Cn of convex sets in Rd. Let S = C : j−= i for 1 i n. By the induction hypothesis, i { j 6 } ≤ ≤ for any S , there exists a point a that lies in every C S . Consider the collection i i ∈ i 2 A = a , a ,...,a . By Radon’s theorem, A can be partitioned into disjoint subsets { 1 2 n} A and A whose convex hulls intersect. Let x conv(A ) conv(A ). Consider some 1 2 ∈ 1 ∩ 2 set Ci and assume without loss of generality that ai A1. Note that aj C for all C S , and that C S for all j = i. Therefore, for∈ all a A , a ∈C , which ∈ j i ∈ j 6 j ∈ 2 j ∈ i implies A2 Ci. Thus, conv(A2) Ci and x Ci. Since this holds for all 1 i n, the proof is⊆ complete. ⊆ ∈ ≤ ≤ 1.4 Carath´eodory’s theorem d Theorem 1.4.1. Any convex combination of a set of points A = a1, a2,...,an R is a convex combination of at most d +1 points in A. { } ⊆ Proof. By contradiction. Given x conv(A), suppose, without loss of generality, that k c a , where k c = 1 and∈c 0 for all 1 i n, is a representation of x i=1 i i i=1 i i ≥ ≤ ≤ as a convex combination of a subset of A involving the smallest possible such subset, P P and that k d + 2. Thus the points a1, a2,...,ak are affinely dependent and there exist d ,d ,...,d≥ R, not all zero, such that 1 2 k ∈ k k diai = 0 and di =0. i=1 i=1 X X Assume without loss of generality that d > 0 and c /d c /d for those i (1 i k k k ≤ i i ≤ ≤ k 1) for which di > 0. We shall express x as a convex combination of a1, a2,...,ak 1, − ck − obtaining a contradiction. For this, define the coefficients ei = ci dk di for all 1 i k 1. − ≤ ≤ − ck ci If di 0 then ei ci 0, and if di > 0 then ei = ci dk di ci di di = 0. Furthermore,≤ ≥ ≥ − ≥ − k 1 k 1 k 1 k 1 k k k − − c − c − c e = c k d = c k d = c k d = c =1. i i − d i i − d i i − d i i i=1 i=1 k i=1 k i=1 i=1 k i=1 i=1 X X X X X X X Thus the coefficients ei are nonnegative and sum to 1. Finally, k k k k 1 k 1 c − c − x = c a = c a k d a = c k d a = e a . i i i i − d i i i − d i i i i i=1 i=1 k i=1 i=1 k i=1 X X X X X We have reached a contradiction that proves the theorem. 3 4 Chapter 2 ε-nets and VC-dimension 2.1 Defining ε-nets A remarkably useful tool in modern computational geometry is the notion of ε-nets, which is used to power many randomized geometric constructions, as we shall see below. To define ε-nets, consider a set X with a probability measure µ on X. Most often, µ will be the uniform measure on the set X, which may be finite or infinite. Let F be a collection of subsets of X. Together, the pair (X, F ) is called a set system. (When X is finite, a set system on X is sometimes referred to as a hypergraph.) Given 0 ε 1, an ε-net for (X, F ) is a subset of X that “hits” all the heavy sets in F , namely≤ ≤ all the set in F that have measure at least ε. More formally, Definition 2.1.1. Given a set system (X, F ) as above, a subset N X is called an ε-net for (X, F ) if N S = for all S F with µ(S) ε. ⊆ ∩ 6 ∅ ∈ ≥ S For example, given a finite set system (X, F ) with X = n, µ(S) = | | for any | | n S 2X , and r N+, a (1/r)-net for (X, F ) is a subset N that has a nonempty intersection∈ with∈ all sets of F that have at least n/r elements.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    65 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us