An Efficient Algorithm for 2D Euclidean 2-Center with Outliers

Size: px
Start display at page:

Download "An Efficient Algorithm for 2D Euclidean 2-Center with Outliers"

Transcription

1 An Efficient Algorithm for 2D Euclidean 2-Center with Outliers Pankaj K. Agarwal and Jeff M. Phillips Department of Computer Science, Duke University, Durham, NC Abstract. For a set P of n points in R 2, the Euclidean 2-center problem computes a pair of congruent disks of the minimal radius that cover P. We extend this to the (2, k)-center problem where we compute the minimal radius pair of congruent disks to cover n k points of P. We present a randomized algorithm with O(nk 7 log 3 n) expected running time for the (2, k)-center problem. We also study the (p, k)-center problem in R 2 under the l -metric. We give solutions for p = 4 in O(k O(1) n log n) time and for p = 5 in O(k O(1) n log 5 n) time. 1 Introduction Let P be a set of n points in R 2. For a pair of integers 0 k n and p 1, a family of p congruent disks is called a (p, k)-center if the disks cover at least n k points of P ; (p, 0)-center is the standard p-center. The Euclidean (p, k)- center problems asks for computing a (p, k)-center of P of the smallest radius. In this paper we study the (2, k)-center problem. We also study the (p, k)-center problem under the l -metric for small values of p and k. Here we wish to cover all but k points of P by p congruent axis-aligned squares of the smallest side length. Our goal is to develop algorithms whose running time is n(k log n) O(1). Related work. There has been extensive work on the p-center problem in algorithms and operations research communities [4, 14, 18, 9]. If p is part of the input, the problem is NP-hard [22] even for the Euclidean case in R 2. The Euclidean 1- center problem is known to be LP-type [20], and therefore can be solved in linear time for any fixed dimension. The Euclidean 2-center problem is not LP-type. Agarwal and Sharir [3] proposed an O(n 2 log 3 n) time algorithm for the 2-center problem. The running time was improved to O(n log O(1) n) by Sharir [24]. The exponent of the log n factor was subsequently improved in [15, 6]. The best known deterministic algorithm takes O(n log 2 n log 2 log n) time in the worst case, and the best known randomized algorithm takes O(n log 2 n) expected time. There is little work on the (p, k)-center problem. Using a framework described by Matoušek [19], the (1, k)-center problem can be solved in O(n log k + k 3 n ε ) This work is supported by NSF under grants CNS , CFF , and DEB , by ARO grants W911NF and W911NF , by an NIH grant 1P50-GM , by a DOE grant OEGP200A070505, and by a grant from the U.S. Israel Binational Science Foundation.

2 time for any ε > 0. In general, Matoušek shows how to solve this problem with k outliers in O(nk d ) time where d is the inherent number of constraints in the solution. The bound for the (1, k)-center problem is improved by Chan [7] to O(nβ(n) log n + k 2 n ε ) expected time, where β( ) is a slow-growing inverse- Ackermann-like function and ε > 0. The p-center problem under l -metric is dramatically simpler. Sharir and Welzl [25] show how to compute the l p-center in near-linear time for p 5. In fact, they show that the rectilinear 2- and 3-center problems are LP-type problems and can be solved in O(n) time. Also, they show the 1-dimensional version of the problem is an LP-type problem for any p, with combinatorial dimension O(p). Thus applying Matoušek s framework [19], the l (p, k)-center in R 2 for p 3, can be found in O(k O(1) n) time and in O(k O(p) n), for any p, if the points lie in R 1. Our results. Our main result is a randomized algorithm for the Euclidean (2, k)-center problem in R 2 whose expected running time is O(nk 7 log 3 n). We follow the general framework of Sharir and subsequent improvements by Eppstein. To handle outliers we first prove, in Section 2, a few structural properties of levels in an arrangement of unit disks, which are of independent interest. As in [24, 15], our solution breaks the (2, k)-center problem into two cases depending on the distance between the centers of the optimal disks; (i) the centers are further apart than the optimal radius, and (ii) they are closer than their radius. The first subproblem, which we refer to as the well-separated case and describe in Section 3, takes O(k 6 n log 3 n) time in the worst case and uses parametric search [21]. The second subproblem, which we refer to as the nearly concentric case and describe in Section 4, takes O(k 7 n log 3 n) expected time. Thus we solve the (2, k)-center problem in O(k 7 n log 3 n) expected time. We can solve the nearly concentric case and hence the (2, k)-center problem in O(k 7 n 1+δ ) deterministic time, for any δ > 0. We present near-linear algorithms for the l (p, k)-center in R 2 for p = 4, 5. The l (4, k)-center problem takes O(k O(1) n log n) time, and the l (5, k)-center problem takes O(k O(1) n log 5 n) time. See the full version [2] for the description of these results. We have not made an attempt to minimize the exponent of k. We believe that it can be improved by a more careful analysis. 2 Arrangement of Unit Disks Let D = {D 1,..., D n } be a set of n unit disks in R 2. Let A(D) be the arrangement of D. 1 A(D) consists of O(n 2 ) vertices, edges, and faces. For a subset R D, let I(R) = D R D denote the intersection of disks in R. Each disk in R contributes at most one edge in I(R). We refer to I(R) as a unit-disk polygon and a connected portion of I(R) as a unit-disk curve. We introduce the notion 1 The arrangement of D is the planar decomposition induced by D; its vertices are the intersection points of boundaries of two disks, its edges are the maximal portions of disk boundaries that do not contain a vertex, and its faces are the maximal connected regions of the plane that do not intersect the boundary of any disk.

3 of level in A(D), prove a few structural properties of levels, and describe an algorithm that will be useful for our overall algorithm. Levels and their structural properties. For a point x R 2, the level of x with respect to D, denoted by λ(x, D), is the number of disks in D that do not contain x. (Our definition of level is different from the more common definition in which it is defined as the number of disks whose interiors contain x.) All points lying on an edge or face φ of A(D) have the same level, which we denote by λ(φ). For k n, let A k (D) (resp. A k (D)) denote the set of points in R 2 whose level is k (resp. at most k); see Fig. 1. By definition, A 0 (D) = A 0 (D) = I(D). The boundary of A k (D) is composed of the edges of A(D). Let v D 1 D 2, for D 1, D 2 D, be a vertex of A k (D). We call v convex (resp. concave) if A k (D) lies in D 1 D 2 (resp. D 1 D 2 ) in a sufficiently small neighborhood of v. A 0 (D) is composed of convex vertices; see Fig. 1(a). We define the complexity of A k (D) to be the number of edges of A(D) whose levels are at most k. Since the complexity of A 0 (D) is n, the following lemma follows from the result by Clarkson and Shor [11] (see also Sharir [23] and Chan [8]) (a) (b) (c) Fig. 1. (a) A(D), shaded region is A 1 (D), filled (resp. hollow) vertices are convex (resp. concave) vertices of A 1 (D), covering of A 1 (D) edges by six unit-disk curves. (b) A(Γ + ), shaded region is A 1 (Γ + ), and the covering of A 1 (Γ + ) edges by two concave chains. (c) A(Γ ), shaded region is A 1 (Γ ), and the covering of A 1 (Γ ) edges by two convex chains. Lemma 1. [11] For k 0, the complexity of A k (D) is O(nk). Remark 1. The argument by Clarkson and Shor can also be used to prove that A k (D) has O(k 2 ) connected components and that it has O(k 2 ) local minima in (+y)-direction. See also [19, 10]. These bounds are tight in the worst case; see Fig. 2. It is well known that the edges in the k-level of a line arrangement can be covered by k + 1 concave chains [17], as used in [13, 7]. We prove a similar result for A k (D); it can be covered by O(k) unit-disk curves.

4 For a disk D i, let γ + i (resp. γ i ) denote the set of points that lie in or below (resp. above) D i ; γ + i consists of the upper semicircle of D i plus two vertical downward rays emanating from the left and right endpoints of the semicircle we refer to these rays as left and right rays. The curve γ i has a similar structure. See Fig. 1(b). Set Γ + = {γ + i 1 i n} and Γ = {γ i 1 i n}. Each pair of curves γ + i, γ+ j intersect in at most one point. (If we assume that the left and right rays are not vertical but have very large positive and negative slopes, respectively, then each pair of boundary curves intersects in exactly one point.) We define the level of a point with respect to Γ +, Γ, or Γ + Γ in the same way as with respect to D. A point lies in a disk D i if and only if it lies in both γ + i and γ i, so we obtain the following inequalities: max{λ(x, Γ + ), λ(x, Γ )} λ(x, D). (1) λ(x, D) λ(x, Γ + Γ ) 2λ(x, D). (2) We cover the edges of A k (Γ + ) by k + 1 concave chains as follows. The level of the (k + 1)st rightmost left ray is at most k at y =. Let ρ i be such a ray, belonging to γ + i. We trace γ+ i, beginning from the point at y = on ρ i, as long as γ + i remains in A k (Γ + ). We stop when we have reached a vertex v A k (Γ + ) at which it leaves A k (Γ + ); v is a convex vertex on A k (Γ + ). Suppose v = γ + i γ + j. Then A k(γ + ) follows γ + j immediately to the right of v, so we switch to γ + j and repeat the same process. It can be checked that we finally reach y = on a right ray. Since we switch the curve on a convex vertex, the chain Λ + i we trace is a concave chain composed of a left ray, followed by a unit-disk curve ξ + i, and then followed by a right ray. Let Λ+ 0, Λ+ 1,..., Λ+ k be the k+1 chains traversed by this procedure. These chains cover all edges of A k (Γ + ), and each edge lies exactly on one chain. Similarly we cover the edges of A k (Γ ) by k + 1 convex curves Λ 0, Λ 1,..., Λ k. Let Ξ = {ξ+ 0,..., ξ+ k, ξ 0,..., ξ k } be the family of unit-disk curves induced by these convex and concave chains. By (1), Ξ covers all edges of A k (D). Since a unit circle intersects a unit-disk curve in at most two points, we conclude the following. Lemma 2. The edges of A k (D) can be covered by at most 2k + 2 unit-disk curves, and a unit circle intersects O(k) edges of A k (D). The curves in Ξ may contain edges of A(D) whose levels are greater that k. If we wish to find a family of unit-disk curves whose union is the set of edges in A k (D), we proceed as follows. We add the x-extremal points of each disk as vertices of A(D), so each edge is now x-monotone and lies in a lower or an upper semicircle. By (1), only O(k) such vertices lie in A k (D). We call a vertex of A k (D) extremal if it is an x-extremal point on a disk or an intersection point of a lower and an upper semicircle. Lemma 2 implies that there are O(k 2 ) extremal vertices. For each extremal vertex v we do the following. If there is an edge e of A k (D) lying to the right of v, we follow the arc containing e until we reach an extremal vertex or we leave A k (D). In the former case we stop. In the latter

5 case we are at a convex vertex v of A k (D), and we switch to the other arc incident on v and continue. These curves have been drawn in Fig. 1(a). This procedure returns an x-monotone unit-disk curve that lies in A k (D). It can be shown that this procedure covers all edges of A k (D). We thus obtain the following: Lemma 3. Let D be a set of n unit disks in R 2. Given A k (D), we can compute, in time O(nk), a family of O(k 2 ) x-monotone unit-disk curves whose union is the set of edges of A k (D). Fig. 2. Lower bound. A 2 (D) (shaded region) has 4 connected components. Remark 2. Since A k (D) can consist of Ω(k 2 ) connected components, the O(k 2 ) bound is tight in the worst case; see Fig. 2. Emptiness detection of A k (D). We need a dynamic data structure for storing a set D of unit disks that supports the following two operations: (O1) Insert a disk into D or delete a disk from D; (O2) For a given k, determine whether A k (D). As described by Sharir [24], I(D) can be maintained under insertion/deletion in O(log 2 n) time per update. Matoušek [19] has described a data structure for solving LP-type problems with violations. Finding the lowest point in I(D) can be formulated as an LP-type problem. Therefore using the dynamic data structure with Matoušek s algorithm, we can obtain the following result. Lemma 4. There exists a dynamic data structure for storing a set of n unit disks so that (O1) can be performed in O(log 2 n) time, and (O2) takes O(k 3 log 2 n) time. 3 Well-Separated Disks In this section we describe an algorithm for the case in which the two disks D 1, D 2 of the optimal solution are well separated. That is, let c 1 and c 2 be the centers of D 1 and D 2, and let r be their radius. Then c 1 c 2 r ; see Fig. 3(a). Without loss of generality, let us assume that c 1 lies to the left of c 2. Let D i be the semidisk lying to the left of the line passing through c 1 in direction normal to c 1 c 2. A line l is called a separator line if D 1 D 2 = and l separates D1 from D 2, or D 1 D 2 and l separates D1 from the intersection points D 1 D 2. We first show that we can quickly compute a set of O(k 2 ) lines that contains a separator line. Next, we describe a decision algorithm, and then we describe the algorithm for computing D 1 and D 2 provided they are well separated.

6 l ρ + C c 1 c 2 p [i] a (a) p [i] n b u i l D 1 ρ z (b) D 2 Fig. 3. (a) Let l is a separator line for disks D 1 and D 2. (b) Two unit disks D 1 and D 2 or radius r with centers closer than a distance r. Computing separator lines. We fix a sufficiently large constant h and choose a set U = {u 1,..., u h } S 1 of directions, where u i = (cos(2πi/h), sin(2πi/h)). For a point p R 2 and a direction u i, let p [i] be the projection of p in the direction normal to u i. Let P [i] = p [i] 1,..., p[i] n be the sorted sequence of projections of points in the direction normal to u i. For each pair a, b such that a + b k, we choose the interval δ [i] a,b = [p[i] a, p [i] n b ] and we place O(1) equidistant points in this interval. See Fig. 3(a). Let L [i] a,b be the set of (oriented) lines in the direction normal to u i and passing though these points. Set L = L [i] a,b. 1 i h a+b k We claim that L contains at least one separator line. Intuitively, let u i U be the direction closest to c 1 c 2. Suppose p a and p n b are the first and the last points of P in the direction u i that lie inside D 1 D 2. Since P \ (D 1 D 2 ) k, a + b k. If D 1 D 2 =, then let q be the extreme points of D 1 in direction c 1 c 2. Otherwise, let q be the first intersection point of D 1 D 2 in direction u i. Following the same argument as Sharir [24], one can argue that c 1 q, u i α p n b p a, u i, where α 1 is a constant. Hence if at least 2α points are chosen in the interval δ [i] a,b, then one of the lines in L[i] a,b is a separator line. Omitting all the details, which are similar to the one in [24], we conclude the following. Lemma 5. We can compute in O(k 2 n log n) time a set L of O(k 2 ) lines that contains a separator line. Let D 1, D 2 be a (2, k)-center of P, let l L be a line, and let P P be the set of points that lie in the left halfspace bounded by l. We call D 1, D 2 a

7 (2, k)-center consistent with l if P (D 1 D 2 ) D 1, the center of D 1 lies to the left of l, and D 1 contains at least one point of P. We describe a decision algorithm that determines whether there is a (2, k)-center of unit radius that is consistent with l. Next, we describe an algorithm for computing a (2, k)-center consistent with l, which will lead to computing an optimal (2, k)-center of P, provided there is a well-separated optimal (2, k)-center of P. Decision algorithm. Let l L be a line. We describe an algorithm for determining whether there is a unit radius (2, k)-center of P that is consistent with l. Let P (resp. P + ) be the subset of points in P that lie in the left (resp. right) halfspace bounded by l; set n = P, n + = P +. Suppose D 1, D 2 is a unit-radius (2, k)-center of P consistent with l, and let c 1, c 2 be their centers. Then P (D 1 D 2 ) D 1 and P D 1 n k. For a subset Q P, let D(Q) = {D(q) q Q} where D(q) is the unit disk centered at q. Let D = D(P ) and D + = D(P + ). For a point x R 2, let D + x = {D D + x D}. Since D 1 contains a point of P and at most k points of P do not lie in D 1, c 1 lies on an edge of A k (D ). We first compute A k (D ) in O(nk log n) time. For each disk D D +, we compute the intersection points of D with the edges of A k (D ). By Lemma 2, there are O(nk) such intersection points, and these intersection points split each edge into edgelets. The total number of edgelets is also O(nk). Using Lemma 2, we can compute all edgelets in time O(nk log n). All points on an edgelet γ lie in the same subset of disks of D +, which we denote by D + γ. Let P γ + P + be the set of centers of disks in D + γ, and let κ γ = λ(γ, D ). A unit disk centered at a point on γ contains P γ + and all but κ γ points of P. If at least k = k κ γ points of P + \ P γ + can be covered by a unit disk, which is equivalent to A k (D + \ D γ ) being nonempty, then all but k points of P can be covered by two unit disks. When we move from one edgelet γ of A k (D ) to an adjacent one γ with σ as their common endpoint, then D + γ = D + γ (if σ is a vertex of A k(d )), D + γ = D+ γ {D} (if σ D and γ {D}), or D + γ = D+ γ \ {D} (if σ D and γ D). We therefore traverse the graph induced by the edgelets of A k (D) and maintain D + γ in the dynamic data structure described in Section 2 as we visit the edgelets γ of A k (D ). At each step we process an edgelet γ, insert or delete a disk into D + γ, and test whether A j (D + γ ) = where j = k λ(γ, D ). If the answer is yes at any step, we stop. We spend O(k 3 log 2 n) time at each step, by Lemma 4. Since the number of edgelets is O(nk), we obtain the following. Lemma 6. Let P be a set of n points in R 2, l a line in L, and 0 k n an integer. We can determine in O(nk 4 log 2 n) time whether there is a unit-radius (2, k)-center of P that is consistent with l. Optimization algorithm. Let l be a line in L. Let r be the smallest radius of a (2, k)-center of P that is consistent with l. Our goal is to compute a (2, k)-center of P of radius r that is consistent with l. We use the parametric search technique [21] we simulate the decision algorithm generically at r and use the decision algorithm to resolve each comparison, which will be of the form: given r 0 R +,

8 is r 0 r? We simulate a parallel version of the decision procedure to reduce the number of times the decision algorithm is invoked to resolve a comparison. Note that we need to parallelize only those steps of the simulation that depend on r, i.e., that require comparing a value with r. Instead of simulating the entire decision algorithm, as in [15], we stop the simulation after computing the edgelets and return the smallest (2, k)-center found so far, i.e., the smallest radius for which the decision algorithm returned yes. Since we stop the simulation earlier, we do not guarantee that we find the a (2, k)-center of P of radius r that is consistent with l. However, as argued by Eppstein [15], this is sufficient for our purpose. Let P, P + be the same as in the decision algorithm. Let D, D + etc. be the same as above except that each disk is of radius r (recall that we do not know the value of r ). We simulate the algorithm to compute the edgelets of A k (D ) as follows. First, we compute the k th order farthest point Voronoi diagram of P in time O(n log n + nk 2 ) [5]. Let e be an edge of the diagram with points p and q of P as its neighbors, i.e., e is a portion of the bisector of p and q. Then for each point x e, the disk of radius xp centered at x contains at least n k points of P. We associate an interval δ e = { xp x e}. By definition, e corresponds to a vertex of A k (D ) if and only if r δ e ; namely, if xp = r, for some x e, then x is a vertex of A k (D ), incident upon the edges that are portions of D(p) and D(q). Let X be the sorted sequence of the endpoints of the intervals. By doing a binary search on X and using the decision procedure at each step, we can find two consecutive endpoints between which r lies. We can now compute all edges e of the Voronoi diagram such that r δ e. We thus compute all vertices of A k (D ). Since we do not know r, we do not have actual coordinates of the vertices. We represent each vertex as a pair of points. Similarly, each edge is represented as a point p P, indiciating that e lies in D(p). Once we have all the edges of A k (P ), we can construct the graph induced by them and compute O(k 2 ) x-monotone unit-disk curves whose union is the set of edges in A k (P ), using Lemma 3. Since this step does not depend on the value of r, we need not parallelize it. Let Ξ = {ξ i,..., ξ u }, u = O(k 2 ), be the set of these curves. Next, for each disk D D + and for each ξ i Ξ, we compute the edges of ξ i that D intersects, using a binary search. We perform these O(nk 2 ) binary searches in parallel and use the decision algorithm at each step. Incorporating Cole s technique [12] in the binary search we need to invoke the decision procedure only O(log n) times. For an edge e A k (D), let D + e D be the set of disks whose boundaries intersect e. We sort the disks in D + e by the order in which their boundaries intersect e. By doing this in parallel for all edges and using a parallel sorting algorithm for each edge, we can perform this step by invoking the decision algorithm O(log n) times. The total time spent is O(nk 4 log 3 n). Putting pieces together. We repeat the optimization algorithm for all lines in L and return the smallest (2, k)-center that is consistent with a line in L. The argument of Eppstein [15] implies that if an optimal (2, k)-center of P is

9 well-separated, then the above algorithm returns an optimal (2, k)-center of P. Hence, we conclude the following: Lemma 7. Let P be a set of n points in R 2 and 0 k n an integer. If an optimal (2, k)-center of P is well separated, then the (2, k)-center problem for P can be solved in O(nk 6 log 3 n) time. 4 Nearly Concentric Disks In this section we describe an algorithm for when the two disks D 1 and D 2 of the optimal solution are not well separated. More specifically, let c 1 and c 2 be the centers of D 1 and D 2 and let r be their radius. Then this section handles the case where c 1 c 2 r. First, we find an intersector point z of D 1 and D 2 a point that lies in D 1 D 2. We show how z defines a set P of O(n 2 ) possible partitions of P into two subsets, such that for one partition P i,j, P \ P i,j the following holds: (D 1 D 2 ) P = (D 1 P i,j ) (D 2 (P \ P i,j )). Finally, we show how to search through the set P in O(k 7 n 1+δ ) time, deterministically, for any δ > 0, or in O(k 7 n log 3 n) expected time. Finding an intersector point. Let C be the circumcircle of P (D 1 D 2 ). Eppstein [15] shows that we can select O(1) points inside C such that at least one, z, lies in D 1 D 2. We can hence prove the following. Lemma 8. Let P be a set of n points in R 2. We can generate in O(nk 3 ) time a set Z of O(k 3 ) points such that for any nearly concentric (2, k)-center D 1, D 2, one of the points in Z is their intersector point. Proof. If the circumcircle of P is not C, then at least one point of P C must not be in D 1 D 2. We remove each point and recurse until we have removed k points. Matoušek [19] shows that we can keep track of which subsets have already been evaluated and bounds the size of the recursion tree to O(k 3 ). Building the entire recursion tree takes O(nk 3 ) time. Since P \ C k, at least one node in the recursion tree describes P C. Generating O(1) possible intersector points for each node completes the proof. Let z be an intersector point of D 1 and D 2, and let ρ +, ρ be the two rays from z to the points of D 1 D 2. Since D 1 and D 2 are nearly concentric, the angle between them is at least some constant θ. We choose a set U S 1 of h = 2π/θ uniformly distributed directions. For at least one u U, the line l in direction u and passing through z separates ρ + and ρ, see Fig. 3(b). We fix a pair z, u in Z U and compute a (2, k)-center of P, as described below. We repeat this algorithm for every pair. If D 1 and D 2 are nearly concentric, then our algorithm returns an optimal (2, k)-center.

10 Fixing z and u. For a subset X P and for an integer t 0, let r t (X) denote the minimum radius of a (1, t)-center of X. Let P + (resp. P ) be the subset of P lying above (resp. below) the x-axis; set n + = P + and n = P. Sort P + = p + 1,..., p+ n in clockwise order and P = p + 1,..., p n in counterclockwise order. For 0 i n +, 0 j n, let P i,j = {p + 1,..., p+ i, p 1,..., p j } and Q i,j = P \ P i,j. For 0 t k, let m t i,j = max{r t (P i,j ), r k t (Q i,j )}. For 0 t k, we define an n + n matrix M t such that M t (i, j) = m t i,j. Suppose z is an intersector point of D 1 and D 2, l separates ρ + and ρ, and ρ + (resp. ρ ) lies between p + a, p + a+1 (resp. p b, p b+1 ). Then P (D 1 D 2 ) = (P a,b D 1 ) (Q a,b D 2 ); see Fig 3(b). If P a,b \ D 1 = t, then r = m t a,b. The problem thus reduces to computing µ(z, u) = min i,j,t mt i,j where the minimum is taken over 0 i n +, 0 j n, and 0 t k. For each t, we compute µ t (z, u) = min i,j m t i,j and choose the smallest among them. Computing µ t (z, u). We note two properties of the matrix M t that will help search for µ t (z, u): (P1) If r t (P i,j ) > r k t (Q i,j ) then m t i,j mt i,j for i i and j j. These partitions only add points to P i,j and thus cannot decrease r t (P i,j ). Similarly, if r k t (Q i,j ) > r t (P i,j ), then m t i,j < mt i,j for i i and j j. (P2) Given a value r, if r t (P i,j ) > r, then m t i,j > r for i i and j j, and if r t (Q i,j ) > r, then m t i,j > r for i i and j j. Deterministic solution. We now have the machinery to use a technique of Frederickson and Johnson [16]. For simplicity, let us assume that n + = n = 2 τ+1 where τ = log 2 n + O(1). The algorithm works in τ phases. In the beginning of the hth phase we have a collection M h of O(2 h ) submatrices of M t, each of size (2 τ h+1 +1) (2 τ h+1 +1). Initially M 1 = {M t }. In the hth phase we divide each matrix N M h into four submatrices each of size (2 τ h +1) (2 τ h +1) that overlap along one row and one column. We call the cell common to all four submatrices the center cell of N. Let M h be the resulting set of matrices. Let C = {(i 1, j 1 ),..., (i s, j s )} be the set of center cells of matrices in M h. We compute m t i l,j l for each 1 l s. We use (P1) to remove the matrices of M h that are guaranteed not to contain the value µ t (z, u). In particular, if m t i l,j l = r t (P il,j l ) and there is a matrix N M h with the upper-left corner cell (i, j ) such that i i l and j j l, then we can remove N. Similarly if m t i l,j l = r k t (Q i,j ) and there is a matrix N M h with the lower-right corner cell (i, j ) such that i i l and j j l, we can delete N. It can be proved that after the pruning step if we have a matrix N in M h such that it spans [a 1, a 2 ] rows and [b 1, b 2 ] columns of M t, then m t a 1,b 1 = r t (P a1,b 1 ) and m t a 2,b 2 = r k t (Q a2,b 2 ). This implies that O(n) cells remain in M h after the pruning step. We set M h to M h+1.

11 Finally, it is shown in [15] that the center cells in C can be connected by a monotone path in M t, which consists of O(n) cells. Since P i,j differs from P i 1,j and P i,j 1 by one point, we can compute m t i l,j l for all (i l, j l ) C using an algorithm of Agarwal and Matoušek [1] in total time O(k 3 n 1+δ ) for any δ > 0. Agarwal and Matoušek s data structure can maintain the value of the radius of the smallest enclosing disk under insertions and deletions in O(n δ ) time per update. Each step in the path is one update, and then searching through the O(k 3 ) nodes of the recursion tree of all possible outliers each requires O(1) updates takes O(k 3 n δ ) time per cell. Hence, each phase of the algorithm takes O(k 3 n 1+δ ) time. Lemma 9. Given z Z, u U, and 0 t k, µ t (z, u) can be computed in time O(k 3 n 1+δ ), for any δ > 0. Randomized solution. We can slightly improve the dependence on n by using the dynamic data structure in Section 2 and (P2). As before, in the hth phase, for some constant c > 1, we maintain a set M h of at most c2 h submatrices of M t, each of side length 2 τ h+1 +1, and their center cells C. Each submatrix is divided into four submatrices of side length 2 τ h + 1, forming a set M h. To reduce the size of M h, we choose a random center cell (i, j) from C and evaluate r = mt i,j in O(k 3 n) time. For each other center cell (i, j ) C, m t 1,j > r with probability 1/2, and using (P2), we can remove a submatrix from M h. Eppstein [15] shows that by repeating this process a constant number of times, we expect to reduce the size of M h to c2h+1. On each iteration we use the dynamic data structure described in Section 2. For O(n) insertions and deletions, it can compare each center cell from C to r in O(k 3 n log 2 n) time. Thus, finding µ t (z, u) takes expected O(nk 3 log 3 n) time. Lemma 10. Given z Z, u U, and 0 t k, µ t (z, u) can be computed in expected time O(k 3 log 3 n). Putting pieces together. By repeating either above algorithm for all 0 t k and for all pair (z, u) Z U, we can compute a (2, k)-center of P that is optimal if D 1 and D 2 are nearly concentric. Combining this with Lemma 7, we obtain the main result of the paper. Theorem 1. Given a set P of n points in R 2 and an integer k 0, an optimal (2, k)-center of P can be computed in O(k 7 n 1+δ ) (deterministic) time, for any δ > 0 or in O(k 7 n log 3 n) expected time. Acknowledgements. We thank Sariel Har-Peled for posing the problem and for several helpful discussions. References 1. P. K. Agarwal and J. Matoušek, Dynamic half-space range reporting and its applications, Algorithmica, 13 (1995),

12 2. P. K. Agarwal and J. M. Phillips, An efficient algorithm for 2D Euclidean 2-center with outliers, arxiv: , P. K. Agarwal and M. Sharir, Planar geometric locations problems, Algorithmica, 11 (1994), P. K. Agarwal and M. Sharir, Efficient algorithms for geometric optimization, ACM Computing Surveys, 30 (1998), A. Aggarwal, L. J. Guibas, J. Saxe, and P. W. Shor, A linear-time algorithm for computing the voronoi diagram of a convex polygon, Discrete Comput. Geom., 4 (1989), T. Chan, More planar two-center algorithms, Comput. Geom.: Theory Apps., 13 (1999), T. Chan, Low-dimensional linear programming with violations, SIAM J. Comput., 34 (2005), T. Chan, On the bichromatic k-set problem, Proc. 19th Annu. ACM-SIAM Sympos. Discrete Algs., 2007, pp M. Charikar, S. Khuller, D. M. Mount, and G. Narasimhan, Algorithms for faciity location problems with outliers, 12th Annu. ACM-SIAM Sympos. on Discrete Algs., 2001, pp K. L. Clarkson, A bound on local minima of arrangements that implies the upper bound theorem, Discrete Comput. Geom., 10 (1993), K. L. Clarkson and P. W. Shor, Applications of random sampling in geometry, II, Discrete Comput. Geom., 4 (1989), R. Cole, Slowing down sorting networks to obtain faster sorting algorithms, Journal of ACM, 34 (1987), T. K. Dey, Improved bounds for planar k-sets and related problems, Discrete Comput. Geom., 19 (1998), Z. Drezner and H. Hamacher, Facility Location: Applications and Theory, Springer, D. Eppstein, Faster construction of planar two-centers, Proc. 8th Annu. ACM- SIAM Sympos. on Discrete Algs., 1997, pp G. N. Frederickson and D. B. Johnson, The complexity of selection and ranking in x+y and matrices with sorted columns, J. Comput. Syst. Sci., 24 (1982), D. Gusfield, Bounds for the parametric minimum spanning tree problem, Humboldt Conf. on Graph Theory, Combinatorics Comput., Utilitas Mathematica, 1979, pp D. S. Hochbaum, ed., Approximation Algorithms for NP-hard Problems, PWS Publishing Company, J. Matoušek, On geometric optimization with few violated constraints, Discrete Comput. Geom., 14 (1995), J. Matoušek, E. Welzl, and M. Sharir, A subexponential bound for linear programming and related problems, Algorithmica, 16 (1996), N. Megiddo, Linear-time algorithms for linear programming in R 3 and related problems, SIAM J. Comput., 12 (1983), N. Megiddo and K. J. Supowit, On the complexity of some common geometric location problems, SIAM J. Comput., 12 (1983), M. Sharir, On k-sets in arrangement of curves and surfaces, Discrete Comput. Geom., 6 (1991), M. Sharir, A near-linear time algorithm for the planar 2-center problem, Discrete Comput. Geom., 18 (1997), M. Sharir and E. Welzl, Rectilinear and polygonal p-piercing and p-center problems, Proc. 12th Annu. Sympos. Comput. Geom., 1996, pp

Tree-Weighted Neighbors and Geometric k Smallest Spanning Trees

Tree-Weighted Neighbors and Geometric k Smallest Spanning Trees Tree-Weighted Neighbors and Geometric k Smallest Spanning Trees David Eppstein Department of Information and Computer Science University of California, Irvine, CA 92717 Tech. Report 92-77 July 7, 1992

More information

Improved Results on Geometric Hitting Set Problems

Improved Results on Geometric Hitting Set Problems Improved Results on Geometric Hitting Set Problems Nabil H. Mustafa nabil@lums.edu.pk Saurabh Ray saurabh@cs.uni-sb.de Abstract We consider the problem of computing minimum geometric hitting sets in which,

More information

Approximation Algorithms for Geometric Intersection Graphs

Approximation Algorithms for Geometric Intersection Graphs Approximation Algorithms for Geometric Intersection Graphs Subhas C. Nandy (nandysc@isical.ac.in) Advanced Computing and Microelectronics Unit Indian Statistical Institute Kolkata 700108, India. Outline

More information

Faster Construction of Planar Two-centers

Faster Construction of Planar Two-centers Faster Construction of Planar Two-centers David Eppstein Abstract Improving on a recent breakthrough of Sharir, we find two minimum-radius circular disks covering a planar point set, in randomized expected

More information

ALGORITHMS FOR BALL HULLS AND BALL INTERSECTIONS IN NORMED PLANES

ALGORITHMS FOR BALL HULLS AND BALL INTERSECTIONS IN NORMED PLANES ALGORITHMS FOR BALL HULLS AND BALL INTERSECTIONS IN NORMED PLANES Pedro Martín and Horst Martini Abstract. Extending results of Hershberger and Suri for the Euclidean plane, we show that ball hulls and

More information

Linear Data Structures for Fast Ray-Shooting amidst Convex Polyhedra

Linear Data Structures for Fast Ray-Shooting amidst Convex Polyhedra Linear Data Structures for Fast Ray-Shooting amidst Convex Polyhedra Haim Kaplan, Natan Rubin, and Micha Sharir School of Computer Science, Tel Aviv University, Tel Aviv, Israel {haimk,rubinnat,michas}@post.tau.ac.il

More information

Packing Two Disks into a Polygonal Environment

Packing Two Disks into a Polygonal Environment Packing Two Disks into a Polygonal Environment Prosenjit Bose, School of Computer Science, Carleton University. E-mail: jit@cs.carleton.ca Pat Morin, School of Computer Science, Carleton University. E-mail:

More information

arxiv: v1 [cs.cg] 8 Jan 2018

arxiv: v1 [cs.cg] 8 Jan 2018 Voronoi Diagrams for a Moderate-Sized Point-Set in a Simple Polygon Eunjin Oh Hee-Kap Ahn arxiv:1801.02292v1 [cs.cg] 8 Jan 2018 Abstract Given a set of sites in a simple polygon, a geodesic Voronoi diagram

More information

CS 532: 3D Computer Vision 14 th Set of Notes

CS 532: 3D Computer Vision 14 th Set of Notes 1 CS 532: 3D Computer Vision 14 th Set of Notes Instructor: Philippos Mordohai Webpage: www.cs.stevens.edu/~mordohai E-mail: Philippos.Mordohai@stevens.edu Office: Lieb 215 Lecture Outline Triangulating

More information

Orthogonal Ham-Sandwich Theorem in R 3

Orthogonal Ham-Sandwich Theorem in R 3 Orthogonal Ham-Sandwich Theorem in R 3 Downloaded 11/24/17 to 37.44.201.8. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Abstract The ham-sandwich theorem

More information

Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem

Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem Chapter 8 Voronoi Diagrams 8.1 Post Oce Problem Suppose there are n post oces p 1,... p n in a city. Someone who is located at a position q within the city would like to know which post oce is closest

More information

G 6i try. On the Number of Minimal 1-Steiner Trees* Discrete Comput Geom 12:29-34 (1994)

G 6i try. On the Number of Minimal 1-Steiner Trees* Discrete Comput Geom 12:29-34 (1994) Discrete Comput Geom 12:29-34 (1994) G 6i try 9 1994 Springer-Verlag New York Inc. On the Number of Minimal 1-Steiner Trees* B. Aronov, 1 M. Bern, 2 and D. Eppstein 3 Computer Science Department, Polytechnic

More information

PTAS for geometric hitting set problems via Local Search

PTAS for geometric hitting set problems via Local Search PTAS for geometric hitting set problems via Local Search Nabil H. Mustafa nabil@lums.edu.pk Saurabh Ray saurabh@cs.uni-sb.de Abstract We consider the problem of computing minimum geometric hitting sets

More information

CS S Lecture February 13, 2017

CS S Lecture February 13, 2017 CS 6301.008.18S Lecture February 13, 2017 Main topics are #Voronoi-diagrams, #Fortune. Quick Note about Planar Point Location Last week, I started giving a difficult analysis of the planar point location

More information

Geometry. Geometric Graphs with Few Disjoint Edges. G. Tóth 1,2 and P. Valtr 2,3. 1. Introduction

Geometry. Geometric Graphs with Few Disjoint Edges. G. Tóth 1,2 and P. Valtr 2,3. 1. Introduction Discrete Comput Geom 22:633 642 (1999) Discrete & Computational Geometry 1999 Springer-Verlag New York Inc. Geometric Graphs with Few Disjoint Edges G. Tóth 1,2 and P. Valtr 2,3 1 Courant Institute, New

More information

Randomized Incremental Constructions of Three-Dimensional Convex Hulls and Planar Voronoi Diagrams, and Approximate Range Counting

Randomized Incremental Constructions of Three-Dimensional Convex Hulls and Planar Voronoi Diagrams, and Approximate Range Counting Randomized Incremental Constructions of Three-Dimensional Convex Hulls and Planar Voronoi Diagrams, and Approximate Range Counting Haim Kaplan Micha Sharir August 7, 005 Abstract We present new algorithms

More information

Dynamic Euclidean Minimum Spanning Trees and Extrema of Binary Functions

Dynamic Euclidean Minimum Spanning Trees and Extrema of Binary Functions Dynamic Euclidean Minimum Spanning Trees and Extrema of Binary Functions David Eppstein Department of Information and Computer Science University of California, Irvine, CA 92717 Abstract We maintain the

More information

Largest Placement of One Convex Polygon inside Another. March 16, Abstract

Largest Placement of One Convex Polygon inside Another. March 16, Abstract Largest Placement of One Convex Polygon inside Another Pankaj K. Agarwal y Nina Amenta z Micha Sharir x March 16, 1996 Abstract We show that the largest similar copy of a convex polygon P with m edges

More information

Minimum-Link Watchman Tours

Minimum-Link Watchman Tours Minimum-Link Watchman Tours Esther M. Arkin Joseph S. B. Mitchell Christine D. Piatko Abstract We consider the problem of computing a watchman route in a polygon with holes. We show that the problem of

More information

Improved Bounds for Intersecting Triangles and Halving Planes

Improved Bounds for Intersecting Triangles and Halving Planes Improved Bounds for Intersecting Triangles and Halving Planes David Eppstein Department of Information and Computer Science University of California, Irvine, CA 92717 Tech. Report 91-60 July 15, 1991 Abstract

More information

Geometric Red-Blue Set Cover for Unit Squares and Related Problems

Geometric Red-Blue Set Cover for Unit Squares and Related Problems Geometric Red-Blue Set Cover for Unit Squares and Related Problems Timothy M. Chan Nan Hu Abstract We study a geometric version of the Red-Blue Set Cover problem originally proposed by Carr, Doddi, Konjevod,

More information

EXTERNAL VISIBILITY. 1. Definitions and notation. The boundary and interior of

EXTERNAL VISIBILITY. 1. Definitions and notation. The boundary and interior of PACIFIC JOURNAL OF MATHEMATICS Vol. 64, No. 2, 1976 EXTERNAL VISIBILITY EDWIN BUCHMAN AND F. A. VALENTINE It is possible to see any eleven vertices of an opaque solid regular icosahedron from some appropriate

More information

Acute Triangulations of Polygons

Acute Triangulations of Polygons Europ. J. Combinatorics (2002) 23, 45 55 doi:10.1006/eujc.2001.0531 Available online at http://www.idealibrary.com on Acute Triangulations of Polygons H. MAEHARA We prove that every n-gon can be triangulated

More information

Finding a minimum-sum dipolar spanning tree in R 3

Finding a minimum-sum dipolar spanning tree in R 3 Finding a minimum-sum dipolar spanning tree in R 3 Steven Bitner and Ovidiu Daescu Department of Computer Science University of Texas at Dallas Richardson, TX 75080, USA Abstract In this paper we consider

More information

Geometric Unique Set Cover on Unit Disks and Unit Squares

Geometric Unique Set Cover on Unit Disks and Unit Squares CCCG 2016, Vancouver, British Columbia, August 3 5, 2016 Geometric Unique Set Cover on Unit Disks and Unit Squares Saeed Mehrabi Abstract We study the Unique Set Cover problem on unit disks and unit squares.

More information

Low-Dimensional Linear Programming with Violations

Low-Dimensional Linear Programming with Violations Low-Dimensional Linear Programming with Violations Timothy M. Chan October 21, 2004 Abstract Two decades ago, Megiddo and Dyer showed that linear programming in two and three dimensions (and subsequently

More information

Aggregate-Max Nearest Neighbor Searching in the Plane

Aggregate-Max Nearest Neighbor Searching in the Plane CCCG 2013, Waterloo, Ontario, August 8 10, 2013 Aggregate-Max Nearest Neighbor Searching in the Plane Haitao Wang Abstract We study the aggregate nearest neighbor searching for the Max operator in the

More information

Geometric Red-Blue Set Cover for Unit Squares and Related Problems

Geometric Red-Blue Set Cover for Unit Squares and Related Problems Geometric Red-Blue Set Cover for Unit Squares and Related Problems Timothy M. Chan Nan Hu December 1, 2014 Abstract We study a geometric version of the Red-Blue Set Cover problem originally proposed by

More information

Theoretical Computer Science

Theoretical Computer Science Theoretical Computer Science 408 (2008) 129 142 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Drawing colored graphs on colored points

More information

Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves

Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves Straight-Line Drawings of 2-Outerplanar Graphs on Two Curves (Extended Abstract) Emilio Di Giacomo and Walter Didimo Università di Perugia ({digiacomo,didimo}@diei.unipg.it). Abstract. We study how to

More information

Monotone Paths in Geometric Triangulations

Monotone Paths in Geometric Triangulations Monotone Paths in Geometric Triangulations Adrian Dumitrescu Ritankar Mandal Csaba D. Tóth November 19, 2017 Abstract (I) We prove that the (maximum) number of monotone paths in a geometric triangulation

More information

Polygon decomposition. Motivation: Art gallery problem

Polygon decomposition. Motivation: Art gallery problem CG Lecture 3 Polygon decomposition 1. Polygon triangulation Triangulation theory Monotone polygon triangulation 2. Polygon decomposition into monotone pieces 3. Trapezoidal decomposition 4. Convex decomposition

More information

Average case analysis of dynamic geometric optimization

Average case analysis of dynamic geometric optimization Average case analysis of dynamic geometric optimization David Eppstein Department of Information and Computer Science University of California, Irvine, CA 92717 May 19, 1995 Abstract We maintain the maximum

More information

Geometry. Vertical Decomposition of a Single Cell in a Three-Dimensional Arrangement of Surfaces. O. Schwarzkopf 1 and M. Sharir 2. 1.

Geometry. Vertical Decomposition of a Single Cell in a Three-Dimensional Arrangement of Surfaces. O. Schwarzkopf 1 and M. Sharir 2. 1. Discrete Comput Geom 18:269 288 (1997) Discrete & Computational Geometry 1997 Springer-Verlag New York Inc. Vertical Decomposition of a Single Cell in a Three-Dimensional Arrangement of Surfaces O. Schwarzkopf

More information

The Farthest Point Delaunay Triangulation Minimizes Angles

The Farthest Point Delaunay Triangulation Minimizes Angles The Farthest Point Delaunay Triangulation Minimizes Angles David Eppstein Department of Information and Computer Science UC Irvine, CA 92717 November 20, 1990 Abstract We show that the planar dual to the

More information

Crossing Families. Abstract

Crossing Families. Abstract Crossing Families Boris Aronov 1, Paul Erdős 2, Wayne Goddard 3, Daniel J. Kleitman 3, Michael Klugerman 3, János Pach 2,4, Leonard J. Schulman 3 Abstract Given a set of points in the plane, a crossing

More information

Rectilinear and Polygonal p-piercing and p-center Problems. Micha Sharir y Emo Welzl z. 1 Introduction. piercing points.

Rectilinear and Polygonal p-piercing and p-center Problems. Micha Sharir y Emo Welzl z. 1 Introduction. piercing points. Rectilinear and Polygonal p-piercing and p-center Problems Micha Sharir y Emo Welzl z Abstract We consider the p-piercing problem, in which we are given a collection of regions, and wish to determine whether

More information

On the number of distinct directions of planes determined by n points in R 3

On the number of distinct directions of planes determined by n points in R 3 On the number of distinct directions of planes determined by n points in R 3 Rom Pinchasi August 27, 2007 Abstract We show that any set of n points in R 3, that is not contained in a plane, determines

More information

Estimating the Free Region of a Sensor Node

Estimating the Free Region of a Sensor Node Estimating the Free Region of a Sensor Node Laxmi Gewali, Navin Rongratana, Jan B. Pedersen School of Computer Science, University of Nevada 4505 Maryland Parkway Las Vegas, NV, 89154, USA Abstract We

More information

Lifting Transform, Voronoi, Delaunay, Convex Hulls

Lifting Transform, Voronoi, Delaunay, Convex Hulls Lifting Transform, Voronoi, Delaunay, Convex Hulls Subhash Suri Department of Computer Science University of California Santa Barbara, CA 93106 1 Lifting Transform (A combination of Pless notes and my

More information

Linear Programming in Small Dimensions

Linear Programming in Small Dimensions Linear Programming in Small Dimensions Lekcija 7 sergio.cabello@fmf.uni-lj.si FMF Univerza v Ljubljani Edited from slides by Antoine Vigneron Outline linear programming, motivation and definition one dimensional

More information

Packing two disks in a polygon

Packing two disks in a polygon Computational Geometry 23 (2002) 31 42 www.elsevier.com/locate/comgeo Packing two disks in a polygon Sergei Bespamyatnikh Department of Computer Science, University of British Columbia, Vancouver, BC,

More information

Distance Trisector Curves in Regular Convex Distance Metrics

Distance Trisector Curves in Regular Convex Distance Metrics Distance Trisector Curves in Regular Convex Distance Metrics Tetsuo sano School of Information Science JIST 1-1 sahidai, Nomi, Ishikawa, 923-1292 Japan t-asano@jaist.ac.jp David Kirkpatrick Department

More information

For a set S of line segments, a separator can be found using duality. Under duality, the segments transform to double wedges, and a separator line tra

For a set S of line segments, a separator can be found using duality. Under duality, the segments transform to double wedges, and a separator line tra Separating and Shattering Long Line Segments? Alon Efrat School of Mathematical Sciences, Tel Aviv University, Tel-Aviv 69982, Israel. Email: alone@cs.tau.ac.il Otfried Schwarzkopf Dept of Computer Science,

More information

Approximation Algorithms for the Unit Disk Cover Problem in 2D and 3D

Approximation Algorithms for the Unit Disk Cover Problem in 2D and 3D Approximation Algorithms for the Unit Disk Cover Problem in 2D and 3D Ahmad Biniaz Paul Liu Anil Maheshwari Michiel Smid February 12, 2016 Abstract Given a set P of n points in the plane, we consider the

More information

Parameterized Complexity of Independence and Domination on Geometric Graphs

Parameterized Complexity of Independence and Domination on Geometric Graphs Parameterized Complexity of Independence and Domination on Geometric Graphs Dániel Marx Institut für Informatik, Humboldt-Universität zu Berlin, Unter den Linden 6, 10099 Berlin, Germany. dmarx@informatik.hu-berlin.de

More information

MISCELLANEOUS SHAPES

MISCELLANEOUS SHAPES MISCELLANEOUS SHAPES 4.1. INTRODUCTION Five generic shapes of polygons have been usefully distinguished in the literature: convex, orthogonal, star, spiral, and monotone. 1 Convex polygons obviously do

More information

Line segment intersection. Family of intersection problems

Line segment intersection. Family of intersection problems CG Lecture 2 Line segment intersection Intersecting two line segments Line sweep algorithm Convex polygon intersection Boolean operations on polygons Subdivision overlay algorithm 1 Family of intersection

More information

Updating Widths and Maximum Spanning Trees using the Rotating Caliper Graph

Updating Widths and Maximum Spanning Trees using the Rotating Caliper Graph Updating Widths and Maximum Spanning Trees using the Rotating Caliper Graph David Eppstein Department of Information and Computer Science University of California, Irvine, CA 92717 Tech. Report 93-18 April

More information

Lecture 3: Art Gallery Problems and Polygon Triangulation

Lecture 3: Art Gallery Problems and Polygon Triangulation EECS 396/496: Computational Geometry Fall 2017 Lecture 3: Art Gallery Problems and Polygon Triangulation Lecturer: Huck Bennett In this lecture, we study the problem of guarding an art gallery (specified

More information

Geometric Streaming Algorithms with a Sorting Primitive (TR CS )

Geometric Streaming Algorithms with a Sorting Primitive (TR CS ) Geometric Streaming Algorithms with a Sorting Primitive (TR CS-2007-17) Eric Y. Chen School of Computer Science University of Waterloo Waterloo, ON N2L 3G1, Canada, y28chen@cs.uwaterloo.ca Abstract. We

More information

Fly Cheaply: On the Minimum Fuel Consumption Problem

Fly Cheaply: On the Minimum Fuel Consumption Problem Fly Cheaply: On the Minimum Fuel Consumption Problem Timothy M. Chan Alon Efrat Sariel Har-Peled September 30, 1999 Abstract In planning a flight, stops at intermediate airports are sometimes necessary

More information

6.854J / J Advanced Algorithms Fall 2008

6.854J / J Advanced Algorithms Fall 2008 MIT OpenCourseWare http://ocw.mit.edu 6.854J / 18.415J Advanced Algorithms Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.415/6.854 Advanced

More information

Linear Data Structures for Fast Ray-Shooting amidst Convex Polyhedra

Linear Data Structures for Fast Ray-Shooting amidst Convex Polyhedra Linear Data Structures for Fast Ray-Shooting amidst Convex Polyhedra Haim Kaplan Natan Rubin Micha Sharir Abstract We consider the problem of ray shooting in a three-dimensional scene consisting of k (possibly

More information

Average Case Analysis of Dynamic Geometric Optimization

Average Case Analysis of Dynamic Geometric Optimization Average Case Analysis of Dynamic Geometric Optimization David Eppstein Abstract We maintain the maximum spanning tree of a planar point set, as points are inserted or deleted, in O(log 3 n) time per update

More information

Improved Bounds for Planar k-sets and Related Problems

Improved Bounds for Planar k-sets and Related Problems Discrete Comput Geom 19:373 382 (1998) Discrete & Computational Geometry 1998 Springer-Verlag New York Inc. Improved Bounds for Planar k-sets and Related Problems T. K. Dey Department of Computer Science

More information

Edge Guards for Polyhedra in Three-Space

Edge Guards for Polyhedra in Three-Space Edge Guards for Polyhedra in Three-Space Javier Cano Csaba D. Tóth Jorge Urrutia Abstract It is shown that every polyhedron in R with m edges can be guarded with at most 27 2m The bound improves to 5 6

More information

In what follows, we will focus on Voronoi diagrams in Euclidean space. Later, we will generalize to other distance spaces.

In what follows, we will focus on Voronoi diagrams in Euclidean space. Later, we will generalize to other distance spaces. Voronoi Diagrams 4 A city builds a set of post offices, and now needs to determine which houses will be served by which office. It would be wasteful for a postman to go out of their way to make a delivery

More information

Algorithmica Springer-Verlag New York Inc.

Algorithmica Springer-Verlag New York Inc. Algorithmica (1994) 11: 185-195 Algorithmica 9 1994 Springer-Verlag New York Inc. Planar Geometric Location Problems I Pankaj K. Agarwal 2 and Micha Sharir 3 Abstract. We present an O(n 2 tog 3 n) algorithm

More information

Pebble Sets in Convex Polygons

Pebble Sets in Convex Polygons 2 1 Pebble Sets in Convex Polygons Kevin Iga, Randall Maddox June 15, 2005 Abstract Lukács and András posed the problem of showing the existence of a set of n 2 points in the interior of a convex n-gon

More information

Generalizing Ham Sandwich Cuts to Equitable Subdivisions

Generalizing Ham Sandwich Cuts to Equitable Subdivisions Discrete Comput Geom 24:605 622 (2000) DOI: 10.1007/s004540010065 Discrete & Computational Geometry 2000 Springer-Verlag New York Inc. Generalizing Ham Sandwich Cuts to Equitable Subdivisions S. Bespamyatnikh,

More information

On Computing the Centroid of the Vertices of an Arrangement and Related Problems

On Computing the Centroid of the Vertices of an Arrangement and Related Problems On Computing the Centroid of the Vertices of an Arrangement and Related Problems Deepak Ajwani, Saurabh Ray, Raimund Seidel, and Hans Raj Tiwary Max-Planck-Institut für Informatik, Saarbrücken, Germany

More information

How to Cover Most of a Point Set with a V-Shape of Minimum Width

How to Cover Most of a Point Set with a V-Shape of Minimum Width How to Cover Most of a Point Set with a V-Shape of Minimum Width Boris Aronov aronov@poly.edu John Iacono jiacono@poly.edu Özgür Özkan ozgurozkan@gmail.com Mark Yagnatinsky myag@cis.poly.edu Polytechnic

More information

On Planar Intersection Graphs with Forbidden Subgraphs

On Planar Intersection Graphs with Forbidden Subgraphs On Planar Intersection Graphs with Forbidden Subgraphs János Pach Micha Sharir June 13, 2006 Abstract Let C be a family of n compact connected sets in the plane, whose intersection graph G(C) has no complete

More information

Computational Geometry

Computational Geometry Motivation Motivation Polygons and visibility Visibility in polygons Triangulation Proof of the Art gallery theorem Two points in a simple polygon can see each other if their connecting line segment is

More information

Simultaneously flippable edges in triangulations

Simultaneously flippable edges in triangulations Simultaneously flippable edges in triangulations Diane L. Souvaine 1, Csaba D. Tóth 2, and Andrew Winslow 1 1 Tufts University, Medford MA 02155, USA, {dls,awinslow}@cs.tufts.edu 2 University of Calgary,

More information

Computational Geometry

Computational Geometry Lecture 1: Introduction and convex hulls Geometry: points, lines,... Geometric objects Geometric relations Combinatorial complexity Computational geometry Plane (two-dimensional), R 2 Space (three-dimensional),

More information

An Improved Bound for k-sets in Three Dimensions. November 30, Abstract

An Improved Bound for k-sets in Three Dimensions. November 30, Abstract An Improved Bound for k-sets in Three Dimensions Micha Sharir Shakhar Smorodinsky y Gabor Tardos z November 30, 1999 Abstract We prove that the maximum number of k-sets in a set S of n points in IR 3 is

More information

Crossings between curves with many tangencies

Crossings between curves with many tangencies Crossings between curves with many tangencies Jacob Fox,, Fabrizio Frati, János Pach,, and Rom Pinchasi Department of Mathematics, Princeton University, Princeton, NJ jacobfox@math.princeton.edu Dipartimento

More information

Optimal algorithms for constrained 1-center problems

Optimal algorithms for constrained 1-center problems Optimal algorithms for constrained 1-center problems Luis Barba 12, Prosenjit Bose 1, and Stefan Langerman 2 1 Carleton University, Ottawa, Canada, jit@scs.carleton.ca 2 Université Libre de Bruxelles,

More information

Classifying a Point Set for a Convex Body with Few Queries

Classifying a Point Set for a Convex Body with Few Queries Classifying a Point Set for a Convex Body with Few Queries Sariel Har-Peled Mitchell Jones Saladi Rahul December 7, 2018 Abstract Consider a set P R d of n points, and a convex body C provided via a separation

More information

of a set of n straight lines, have been considered. Among them are k-sets in higher dimensions or k-levels of curves in two dimensions and surfaces in

of a set of n straight lines, have been considered. Among them are k-sets in higher dimensions or k-levels of curves in two dimensions and surfaces in Point-sets with few k-sets Helmut Alt? Stefan Felsner Ferran Hurtado y Marc Noy y Abstract A k-set of a nite set S of points in the plane is a subset of cardinality k that can be separated from the rest

More information

On s-intersecting Curves and Related Problems

On s-intersecting Curves and Related Problems On s-intersecting Curves and Related Problems Sarit Buzaglo, Ron Holzman, and Rom Pinchasi Mathematics Dept., Technion Israel Institute of Technology Haifa 32000, Israel sarahb@tx.technion.ac.il, holzman@tx.technion.ac.il,

More information

Approximating Node-Weighted Multicast Trees in Wireless Ad-Hoc Networks

Approximating Node-Weighted Multicast Trees in Wireless Ad-Hoc Networks Approximating Node-Weighted Multicast Trees in Wireless Ad-Hoc Networks Thomas Erlebach Department of Computer Science University of Leicester, UK te17@mcs.le.ac.uk Ambreen Shahnaz Department of Computer

More information

Connected Components of Underlying Graphs of Halving Lines

Connected Components of Underlying Graphs of Halving Lines arxiv:1304.5658v1 [math.co] 20 Apr 2013 Connected Components of Underlying Graphs of Halving Lines Tanya Khovanova MIT November 5, 2018 Abstract Dai Yang MIT In this paper we discuss the connected components

More information

arxiv: v1 [cs.cg] 11 Sep 2007

arxiv: v1 [cs.cg] 11 Sep 2007 Unfolding Restricted Convex Caps Joseph O Rourke arxiv:0709.1647v1 [cs.cg] 11 Sep 2007 September 11, 2007 Abstract This paper details an algorithm for unfolding a class of convex polyhedra, where each

More information

Preferred directions for resolving the non-uniqueness of Delaunay triangulations

Preferred directions for resolving the non-uniqueness of Delaunay triangulations Preferred directions for resolving the non-uniqueness of Delaunay triangulations Christopher Dyken and Michael S. Floater Abstract: This note proposes a simple rule to determine a unique triangulation

More information

On the perimeter of k pairwise disjoint convex bodies contained in a convex set in the plane

On the perimeter of k pairwise disjoint convex bodies contained in a convex set in the plane On the perimeter of k pairwise disjoint convex bodies contained in a convex set in the plane Rom Pinchasi August 2, 214 Abstract We prove the following isoperimetric inequality in R 2, conjectured by Glazyrin

More information

Optimal detection of intersections between convex polyhedra

Optimal detection of intersections between convex polyhedra 1 2 Optimal detection of intersections between convex polyhedra Luis Barba Stefan Langerman 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Abstract For a polyhedron P in R d, denote by P its combinatorial complexity,

More information

Voronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here)

Voronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here) Voronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here) Voronoi Diagram & Delaunay Triangualtion Algorithms Divide-&-Conquer Plane Sweep Lifting

More information

Geometric approximation of curves and singularities of secant maps Ghosh, Sunayana

Geometric approximation of curves and singularities of secant maps Ghosh, Sunayana University of Groningen Geometric approximation of curves and singularities of secant maps Ghosh, Sunayana IMPORTANT NOTE: You are advised to consult the publisher's version (publisher's PDF) if you wish

More information

Planar Graphs. 1 Graphs and maps. 1.1 Planarity and duality

Planar Graphs. 1 Graphs and maps. 1.1 Planarity and duality Planar Graphs In the first half of this book, we consider mostly planar graphs and their geometric representations, mostly in the plane. We start with a survey of basic results on planar graphs. This chapter

More information

5. THE ISOPERIMETRIC PROBLEM

5. THE ISOPERIMETRIC PROBLEM Math 501 - Differential Geometry Herman Gluck March 1, 2012 5. THE ISOPERIMETRIC PROBLEM Theorem. Let C be a simple closed curve in the plane with length L and bounding a region of area A. Then L 2 4 A,

More information

[8] that this cannot happen on the projective plane (cf. also [2]) and the results of Robertson, Seymour, and Thomas [5] on linkless embeddings of gra

[8] that this cannot happen on the projective plane (cf. also [2]) and the results of Robertson, Seymour, and Thomas [5] on linkless embeddings of gra Apex graphs with embeddings of face-width three Bojan Mohar Department of Mathematics University of Ljubljana Jadranska 19, 61111 Ljubljana Slovenia bojan.mohar@uni-lj.si Abstract Aa apex graph is a graph

More information

Ice-Creams and Wedge Graphs

Ice-Creams and Wedge Graphs Ice-Creams and Wedge Graphs Eyal Ackerman Tsachik Gelander Rom Pinchasi Abstract What is the minimum angle α > such that given any set of α-directional antennas (that is, antennas each of which can communicate

More information

Smallest Intersecting Circle for a Set of Polygons

Smallest Intersecting Circle for a Set of Polygons Smallest Intersecting Circle for a Set of Polygons Peter Otfried Joachim Christian Marc Esther René Michiel Antoine Alexander 31st August 2005 1 Introduction Motivated by automated label placement of groups

More information

EXTREME POINTS AND AFFINE EQUIVALENCE

EXTREME POINTS AND AFFINE EQUIVALENCE EXTREME POINTS AND AFFINE EQUIVALENCE The purpose of this note is to use the notions of extreme points and affine transformations which are studied in the file affine-convex.pdf to prove that certain standard

More information

Voronoi Diagrams and Delaunay Triangulations. O Rourke, Chapter 5

Voronoi Diagrams and Delaunay Triangulations. O Rourke, Chapter 5 Voronoi Diagrams and Delaunay Triangulations O Rourke, Chapter 5 Outline Preliminaries Properties and Applications Computing the Delaunay Triangulation Preliminaries Given a function f: R 2 R, the tangent

More information

Restricted-Orientation Convexity in Higher-Dimensional Spaces

Restricted-Orientation Convexity in Higher-Dimensional Spaces Restricted-Orientation Convexity in Higher-Dimensional Spaces ABSTRACT Eugene Fink Derick Wood University of Waterloo, Waterloo, Ont, Canada N2L3G1 {efink, dwood}@violetwaterlooedu A restricted-oriented

More information

OUTPUT-SENSITIVE ALGORITHMS FOR TUKEY DEPTH AND RELATED PROBLEMS

OUTPUT-SENSITIVE ALGORITHMS FOR TUKEY DEPTH AND RELATED PROBLEMS OUTPUT-SENSITIVE ALGORITHMS FOR TUKEY DEPTH AND RELATED PROBLEMS David Bremner Dan Chen John Iacono Stefan Langerman Pat Morin ABSTRACT. The Tukey depth (Tukey 1975) of a point p with respect to a finite

More information

Chapter 3. Sukhwinder Singh

Chapter 3. Sukhwinder Singh Chapter 3 Sukhwinder Singh PIXEL ADDRESSING AND OBJECT GEOMETRY Object descriptions are given in a world reference frame, chosen to suit a particular application, and input world coordinates are ultimately

More information

arxiv: v1 [cs.cc] 30 Jun 2017

arxiv: v1 [cs.cc] 30 Jun 2017 On the Complexity of Polytopes in LI( Komei Fuuda May Szedlá July, 018 arxiv:170610114v1 [cscc] 30 Jun 017 Abstract In this paper we consider polytopes given by systems of n inequalities in d variables,

More information

Conflict-free Covering

Conflict-free Covering CCCG 05, Kingston, Ontario, August 0, 05 Conflict-free Covering Esther M. Arkin Aritra Banik Paz Carmi Gui Citovsky Matthew J. Katz Joseph S. B. Mitchell Marina Simakov Abstract Let P = {C, C,..., C n

More information

A Grid-Based Approximation Algorithm for the Minimum Weight Triangulation Problem

A Grid-Based Approximation Algorithm for the Minimum Weight Triangulation Problem A Grid-Based Approximation Algorithm for the Minimum Weight Triangulation Problem arxiv:1706.03263v1 [cs.cg] 10 Jun 2017 Sharath Raghvendra, Mariëtte C. Wessels Abstract Given a set of n points on a plane,

More information

On Covering a Graph Optimally with Induced Subgraphs

On Covering a Graph Optimally with Induced Subgraphs On Covering a Graph Optimally with Induced Subgraphs Shripad Thite April 1, 006 Abstract We consider the problem of covering a graph with a given number of induced subgraphs so that the maximum number

More information

Divided-and-Conquer for Voronoi Diagrams Revisited. Supervisor: Ben Galehouse Presenter: Xiaoqi Cao

Divided-and-Conquer for Voronoi Diagrams Revisited. Supervisor: Ben Galehouse Presenter: Xiaoqi Cao Divided-and-Conquer for Voronoi Diagrams Revisited Supervisor: Ben Galehouse Presenter: Xiaoqi Cao Outline Introduction Generalized Voronoi Diagram Algorithm for building generalized Voronoi Diagram Applications

More information

Computing intersections in a set of line segments: the Bentley-Ottmann algorithm

Computing intersections in a set of line segments: the Bentley-Ottmann algorithm Computing intersections in a set of line segments: the Bentley-Ottmann algorithm Michiel Smid October 14, 2003 1 Introduction In these notes, we introduce a powerful technique for solving geometric problems.

More information

Convex Hull of the Union of Convex Objects in the Plane: an Adaptive Analysis

Convex Hull of the Union of Convex Objects in the Plane: an Adaptive Analysis CCCG 2008, Montréal, Québec, August 13 15, 2008 Convex Hull of the Union of Convex Objects in the Plane: an Adaptive Analysis Jérémy Barbay Eric Y. Chen Abstract We prove a tight asymptotic bound of Θ(δ

More information

Improved algorithms for constructing fault-tolerant spanners

Improved algorithms for constructing fault-tolerant spanners Improved algorithms for constructing fault-tolerant spanners Christos Levcopoulos Giri Narasimhan Michiel Smid December 8, 2000 Abstract Let S be a set of n points in a metric space, and k a positive integer.

More information

Dynamic Half-Space Reporting, Geometric Optimization, and Minimum Spanning Trees

Dynamic Half-Space Reporting, Geometric Optimization, and Minimum Spanning Trees Dynamic Half-Space Reporting, Geometric Optimization, and Minimum Spanning Trees Pankaj K. Agarwal David Eppstein Jiří Matoušek Abstract We describe dynamic data structures for half-space range reporting

More information