International Journal of Computational Geometry & Applications c World Scientific Publishing Company

Size: px
Start display at page:

Download "International Journal of Computational Geometry & Applications c World Scientific Publishing Company"

Transcription

1 International Journal of Computational Geometry & Applications c World Scientific Publishing Company FINDING SIMPLICES CONTAINING THE ORIGIN IN TWO AND THREE DIMENSIONS KHALED ELBASSIONI Max-Planck-Institut für Informatik, Saarbrücken, Germany elbassio@mpi-inf.mpg.de AMR ELMASRY Max-Planck-Institut für Informatik, Saarbrücken, Germany and Datalogisk Institut, University of Copenhagen, Denmark elmasry@mpi-inf.mpg.de KAZUHISA MAKINO Department of Mathematical Informatics, University of Tokyo, Japan makino@mist.i.u-tokyo.ac.jp Received (received date) Revised (revised date) Communicated by (Name) We show that finding the simplices containing a fixed given point among those defined on a set of n points can be done in O(n + k) time for the two-dimensional case, and in O(n 2 + k) time for the three-dimensional case, where k is the number of these simplices. As a byproduct, we give an alternative (to the algorithm in 4 ) O(n log r) algorithm that finds the red-blue boundary for n bichromatic points on the line, where r is the size of this boundary. Another byproduct is an O(n 2 +t) algorithm that finds the intersections of line segments having two red endpoints with those having two blue endpoints defined on a set of n bichromatic points in the plane, where t is the number of these intersections. Keywords: Enumeration; counting; simplices; output-sensitive algorithms; bichromatic problems; divide and conquer. 1. Introduction Let S R d be a given set of n points in the d-dimensional Euclidean space. Given a point Z R d, let us call a Z-simplex any minimal subset of points of S the convex hull of which contains Z. By Carathéodory theorem 5, the cardinality of any such set is at most d + 1 (under the general position assumption, this would be exactly d + 1). In the sequel, we may assume without loss of generality Z to be the origin. Parts of this paper appeared in References 1, 2, and 3. On leave from Alexandia University of Egypt. 1

2 2 K. Elbassioni, A. Elmasry and K. Makino It is a long-standing open problem, known in other polynomially-equivalent forms as the vertex enumeration or the convex hull problem, to find an algorithm for enumerating Z-simplices whose running time is polynomial in n, d and the number of Z-simplices 6,7. Since the convex hull problem has been extensively studied, assuming fixed dimension 8, it is natural to ask about the complexity of the enumeration of Z-simplices in fixed dimension. However, we only tackle the problem for d = 2 and 3, and leave out this challenging question about higher dimensions. In this paper, we give output-sensitive algorithms for finding Z-simplices: one runs in O(n+k) time for the case d = 2 and the other in O(n 2 +k) time for the case d = 3, where k is the number of such simplices. Throughout the paper, we assume that the points are in general positions, i.e., no two points are on the same line with Z and no three points are in the same plane with Z. Accordingly, we only assume simplices of cardinality 3 (triangles) for the two-dimensional case and of cardinality 4 for the three-dimensional case. To solve our Z-simplices problem in two dimensions, we map it to the problem of computing the decision boundary of a bichromatic set of points in one dimension. Bremner et al. 4 gave an optimal output-sensitive algorithm for computing the decision boundary that runs in O(n log r) time, where r is the number of points that contribute to the decision boundary. The algorithm in 4 relies on performing recursive calls to a median-finding algorithm. In Section 2.2, we give a more practical algorithm that also solves the problem in O(n log r) time by using the groupingand-querying paradigm (this paradigm was first used by Chan 13 to get an outputsensitive convex-hull algorithm, and later formalized by Nielsen 14 ). We also consider the problem of counting the Z-simplices in two dimensions. (The counting algorithm for d = 2 is a direct extension to the enumeration algorithm. This does not seem to apply for d = 3.) In 9,10,11 it was shown that, for a given set S of n points in two dimensions, counting the triangles with corners at S and containing a point Z can be done in O(n log n) time. It was furthermore shown in 9 that counting the triangles with corners at S for each of the points of S when treated as Z can be done in O(n 2 ) time. On the other hand, a lower bound of Ω(n log n) for the triangle-counting problem is known 12. In this paper, we sketch an output-sensitive counting algorithm for Z-simplices (triangles) in two dimensions that runs in O(n log (k/n)) time (which is obviously O(n log n) since k = O(n 3 )). It remains interesting to investigate whether there is a matching output-sensitive lower bound for this counting problem. One of the fundamental problems in computational geometry is the problem of reporting pairwise line-segment intersections. Balaban 15 gave an optimal algorithm that reports t intersecting pairs of n line segments in O(n log n + t) time and O(n) space. A variation of the general line-segment intersection problem is the bichromatic line-segment intersection reporting; Given a set of red segments and another of blue segments, the bichromatic intersection problem is the problem of reporting the intersections between red segments and blue segments. The case where there are no possible monochromatic intersections (intersections between segments having

3 Finding Simplices Containing the Origin 3 the same color) is a special case of the general line-segment intersection problem, and hence inherits the same O(n log n + t) time bound. Mairson and Stolfi 16 gave a simpler algorithm for such special case than that of Balaban. The problem becomes harder when monochromatic intersections exist. In this case, Agarwal 17 and Chazelle 18 showed how to report t bichromatic intersections in O(n 4/3 log O(1) n+t) time. A special case of the latter problem is when the union of each of the red and the blue segments is connected as a graph. In this case, Basch et al. 19 gave an O((n + t) log O(1) n) time algorithm that reports t such intersections. To solve our Z-simplices problem in three dimensions, we use the following bichromatic line-segment intersection problem as a subroutine: Consider a set of n points in the plane, each colored either red or blue; we need to find the intersections between line segments joining two red points and those joining two blue points. Note that the number of the line segments is Θ(n 2 ), and the number of the resulting bichromatic intersections is O(n 4 ). If we consider the possible Θ(n 2 ) red and blue line segments connecting the n-point set, our intersection problem is even a special case of that of Basch et al. 19. Applying their algorithm on these segments, we get an O((n 2 + t) log O(1) n) algorithm. In this paper, we introduce a simpler algorithm and get rid of the poly-logarithmic factor achieving an O(n 2 + t) time bound. 2. The Two-Dimensional Case In this section, we prove the following theorems: Theorem 1. Given a set S R 2 of n points, we can enumerate the Z-simplices from S in O(n + k) time, where k is the number of these simplices. Theorem 2. Given a set S R 2 of n points, we can count the Z-simplices from S in O(n log (k/n)) time, where k is the number of these simplices. In Section 2.1, we present a simple mapping from our two-dimensional problem to the problem of finding the bichromatic boundary of a set of bichromatic points in one dimension. (An alternative mapping was used in 20.) In Section 2.2, we give an O(n log r) algorithm that finds the bichromatic boundary points, whose size is r, for a set of n bichromatic points in one dimension. In Section 2.3, we show how to efficiently count the Z-simplices and as well prove Theorems 1 and A mapping to a sequence of zeros and ones Let l be an arbitrary line passing by Z but not by any other point of S. Let l be a line parallel to l and above all the points of S (all points lie on one side of l ). The points of S can be represented as a sequence S {0, 1} n of zeros and ones by projecting them on l as follows. The line segment joining every point p with Z is extended to meet l. Each point p below l is mapped to a zero, and each point p above l is mapped to a one. Together with every point is associated the angle whose extended line segment, joining it to Z, forms with l ; this angle indicates the

4 4 K. Elbassioni, A. Elmasry and K. Makino relative order of the point in S. This mapping is done in linear time; it is crucial to note that the sequence S is not in accordance given in sorted order (only the angles are given). It is straightforward to see that Z-simplices of S are in one-toone correspondence with subsequences of the sorted sequence of S, when sorted by angle, that have one of the two forms 010, 101. We use the following proposition in the proof of Lemma 1. Proposition 1. Let f(x, y) = c + c x x + c y y + c xy xy be a real-valued function of the two variables x and y, where c, c x, c y, c xy are real constants such that c xy 0. If x 1 and y 1, then min{f(x + y 1, 1), f(1, x + y 1)} f(x, y). Proof. Let δ 1 0 and δ 2 0 and note that f(x + δ 1, y δ 1 ) f(x, y) = δ 1 [c xy (δ 1 + x y) + c y c x ], (1) f(x δ 2, y + δ 2 ) f(x, y) = δ 2 [c xy (δ 2 + y x) + c x c y ]. (2) Since c xy 0, then it is not possible that both c xy (δ 1 + x y) + c y c x < 0 and c xy (δ 2 + y x) + c x c y < 0, for otherwise we get a contradiction c xy (δ 1 + δ 2 ) < 0. If c xy (δ 1 + x y) + c y c x 0, it follows from (1) that f(x + δ 1, y δ 1 ) f(x, y). Otherwise, it follows from (2) that f(x δ 2, y + δ 2 ) f(x, y). The proposition is concluded by taking δ 1 = y 1 and δ 2 = x 1. Consider the maximal blocks of consecutive zeros and consecutive ones within the sorted sequence of S. Let us denote by B1, 0 B1, 1 B2, 0 B2, 1..., Br 0, Br 1 the maximal blocks within this sorted sequence, where Bi 0 denotes a block of zeros, and Bi 1 denotes a block of ones. Also, let b 0 i = B0 i and b1 i = B1 i, for i = 1,..., r, be the sizes of these blocks, where b 0 1 0, b 1 r 0, and b j i > 0 for other values of i and j. The following lemma bounds the number of Z-simplices from below as a function of the number of maximal blocks in the sorted sequence of S. Lemma 1. Given a sequence S {0, 1} n corresponding to points in S, where the number of the maximal blocks of consecutive zeros (ones) in the sorted sequence of S is r, the number of Z-simplices defined by S is Ω(nr 2 ) when r 3. Proof. We claim that the number of Z-simplices is minimum when each block, but one, contains exactly one point. We start with a sequence S that has r maximal blocks of consecutive zeros, and transform it through several steps, that do not increase the number of Z-simplices, into another sequence that has the same number of blocks and with the claimed properties. Each step will involve moving points within one or two blocks, B j i Consider any two distinct blocks B j i and B j i simplices in terms of b j i and Bj i, where i, i {1,..., r} and j, j {0, 1}.. We can write the number of Z- and bj i as c 0+c 1 b j i +c 2 b j i +c 3 b j i bj i, where c 0, c 1, c 2 and c 3. Now, apply Proposition have non-negative values and depend on neither b j i nor bj i 1 with x b j i and y bj i to conclude that the minimum number of Z-simplices is

5 Finding Simplices Containing the Origin 5 achieved when b j i = 1 or bj i = 1. In other words, there is a choice of indices i and to Bj i, we do not increase the total j such that if we move all but one point of B j i number of Z-simplices. This establishes our claim. What remains is to count the Z-simplices in this case, which is a lower bound on their number for any sequence. Call the block that has n 2r+1 points the long block. First, consider the count of Z-simplices that have one point from this long block. There are Θ(r 2 ) possibilities for selecting two blocks out of the possible r indices other than the long block. Since r 3, this accounts for a total of (n 2r + 1)Θ(r 2 ) for these Z-simplices. Next, consider the Z-simplices that have none of the three points from the long block. There are Θ(r 3 ) possibilities for selecting these points from three blocks other than the long block. Hence, the total count of Z-simplices is (n 2r+1)Θ(r 2 )+Θ(r 3 ). If r = Θ(n), then the term Θ(r 3 ) implies that the number of Z-simplices is Θ(nr 2 ). If r = o(n), then the term (n 2r + 1)Θ(r 2 ) implies the same bound of Θ(nr 2 ). It follows that the number of Z-simplices is Ω(nr 2 ) Identifying the zero-one blocks Given the sequence S {0, 1} n corresponding to the points of S, we need to get the maximal blocks of consecutive zeros and consecutive ones, by identifying which points are in which blocks, within the sorted-by-angle sequence of S. To do that, we do not have to sort the points within the blocks, instead we need to get the points contributing to the boundary. This is exactly the problem of finding the bichromatic boundary for a set of bichromatic points on the line 4. We give next an O(n log r) time algorithm that does not involve median finding. (1) Partition S into a sequence of zeros S and a sequence of ones S. (2) Split each of S and S into at most n/m arbitrary groups each has at most m points (m is a parameter that will be determined later). (3) Sort each of these groups by angle (using O(m log m) per group). (4) Repeat at most m times alternating between the groups of S and S (4.1.) Find the point with the smallest angle among the groups of one sequence. (4.2.) Use binary search to find and remove all the points having a smaller angle within each of the groups of the other sequence. These points constitute the next block in our output. The above procedure is designed to run in O(n log m) time. If we set m to r, this procedure partitions the sequence correctly in O(n log r) time. Unfortunately, we do not know in advance the value of r. To overcome this problem, we call the above procedure repeatedly with m = 2 2i (i = 1, 2,... ), every time checking if the procedure terminates after partitioning the input sequence or not. It follows that (assuming r 2) the running time is O( log log r i=1 n2 i ) = O(n log r).

6 6 K. Elbassioni, A. Elmasry and K. Makino 2.3. Enumerating and counting Z-simplices Given the sequence S {0, 1} n corresponding to the points of S, we apply the above algorithm to identify the r blocks of consecutive zeros and consecutive ones in O(n log r) time. In accordance, enumerating the Z-simplices is straightforward and can be done in O(k) time. If r 2, we spend O(n) time to realize that there are no such Z-simplices. If r 3, the time spent by the algorithm is O(n log r + k), which is O(k) using Lemma 1. This establishes the proof of Theorem 1. For the counting problem, we need to count the number of subsequences of the form 010 and 101, which can be obtained in O(n) time once the zero-one block partitioning is available (see 9,11 for more details). Let us, without loss of generality, concentrate on counting the 010 subsequences. To do this, we scan the processed sequence of S (after applying the partitioning algorithm of Section 2.2) from left to right, computing the sizes of maximal blocks of consecutive zeros and ones b j i, for all i {1,..., r} and j {0, 1}. The number of 010 subsequences is given as 1 i 1 i 2<i 3 r b0 i 1 b 1 i 2 b 0 i 3. This formula can be computed in linear time as follows. Incrementally compute the prefix and postfix sums, for each i = 1,..., r 1: α 0 1 = b 0 1, α 0 i = α 0 i 1 + b 0 i, β 0 1 = r b 0 j, βi 0 = βi 1 0 b 0 i. j=2 Note that each of these values can be computed in constant time from the previously computed value. The number of 010 subsequences is precisely r 1 i=1 α0 i b1 i β0 i. Similarly, the values αi 1, β1 i can be defined for i = 1,..., r 1, from which the count of 101 subsequences can be computed. The running time of the counting algorithm is also asymptotically dominated by the bound of the partitioning. This establishes the proof of Theorem The Three-Dimensional Case In this section, we prove the following theorem: Theorem 3. Given a set S R 3 of n points, we can find the Z-simplices from S in O(n 2 + k) time, where k is the number of these simplices A mapping to two-dimensional problems Given a set S of n points and a point Z R 3, we perform the following mapping to reduce the dimensionality (as we did in the two-dimensional case). Let be an arbitrary plane passing by Z but not by any other point of S. Let be a plane parallel to and above all the points of S. The points of S can be represented as a bichromatic set S of points in two dimensions by projecting them on as follows.

7 Finding Simplices Containing the Origin 7 The line segment joining every point p with Z is extended to meet in an image point p. Each point below has its image point colored red, and each point above has its image point colored blue. This mapping can be done in linear time. Lemma 2. As a result of the above mapping, a set of four points forming a simplex that contains Z in the interior corresponds to either: (i) three points of the same color, the simplex of which contains the fourth point that has a different color, or (ii) two red points defining a red segment and two blue points defining a blue segment, and the two segments intersect. Proof. There are two possibilities for such a simplex: (i) three points p 1, p 2, p 3 lie on one side of, and one point p 4 lies on the other side; or (ii) two points p 1, p 2 lie on one side of and two points p 3, p 4 lie on the other side. We assume without loss of generality that Z = 0. First consider case (i). The point Z lies in the interior of the convex hull of p 1, p 2, p 3, p 4 if and only if there exist λ 1, λ 2, λ 3, λ 4 > 0 such that p 4 = λ1 λ 4 ( p 1 ) + λ 2 λ 4 ( p 2 ) + λ3 λ 4 ( p 3 ), or in other words, if and only if p 4 lies in the interior of the cone defined by the rays p 1, p 2, p 3. The latter condition holds if and only if the triangle formed by the intersection of the three rays p 1, p 2, p 3 with contains in its interior the point of intersection of the ray p 4 with. Next consider case (ii). The point Z lies in the interior of the convex hull of p 1, p 2, p 3, p 4 if and only if there exist λ 1, λ 2, λ 3, λ 4 > 0 such that λ 3 p 3 + λ 4 p 4 = λ 1 ( p 1 ) + λ 2 ( p 2 ), or in other words, if and only if the two cones formed by { p 1, p 2 } and { p 3, p 4 } intersect in the interior. We note that the two segments formed by the intersection of these two cones with cannot be collinear, for otherwise the given simplex is not full-dimensional. Furthermore, the two cones intersect in the interior if and only if these two segments also intersect in the interior. To enumerate simplices of the first type, we find for every point the twodimensional simplices that contain it among the points of the other color. This can be done by applying n calls to the two-dimensional algorithm given in Section 2, for a total of an O(n 2 ) time for the n calls in addition to the time to report the simplices. To find simplices of the second type, we need to apply an algorithm for reporting bichromatic intersections of line segments defined by bichromatic points in the plane. Next, we introduce such an algorithm Finding bichromatic line-segment intersections defined by bichromatic points in the plane Consider a set of n points in R 2, each colored either red or blue. A bichromatic intersection is an intersection between a segment with two red endpoints and a segment with two blue endpoints. In this section, we give an O(n 2 +t) time algorithm that reports the t bichromatic intersections defined by the n points.

8 8 K. Elbassioni, A. Elmasry and K. Makino A main result of the geometric duality is that the angular order of a given set of n points can be produced with respect to each of these n points, all in O(n 2 ) time and storage 21. We use this result, and assume that throughout the algorithm the angular orders are known and stored by a preprocessing phase. We use a divide-and-conquer approach to solve our problem. The set of n points is divided into two sets of almost equal sizes ( n/2 and n/2 ) via a line L. This can be done by finding the median of the points with respect to their Y -coordinates. Two categories of line segments are defined: A crossing segment is a segment whose endpoints are each on a different side of L. A non-crossing segment is a segment whose two endpoints are on the same side of L. Three types of intersections are thereby possible depending on the type of the two intersecting segments: crossing/non-crossing crossing/crossing non-crossing/non-crossing We start by finding the first two types of intersections (crossing/non-crossing and crossing/crossing), and then we recursively solve the problem on each of the two sides of L to find the third type of intersections (non-crossing/non-crossing). Being able to find the first two types of intersections for a single recursive step in O(n 2 ) time plus the time required to report these intersections, the claimed O(n 2 +t) time bound is concluded following the recursive relation: T (n) = T ( n/2 ) + T ( n/2 ) + O(n 2 ) whose solution is T (n) = O(n 2 ). For an efficient implementation, instead of finding the median of the Y - coordinates of the points within every recursive call, we sort the n points with respect to their Y-coordinates in a preprocessing phase. An iterative bottom-up (considering the recursion tree) implementation is possible Finding crossing/non-crossing intersections Fixing a point x, consider the line segments that cross L and join x to the points on the other side and have the same color as x. We call these segments the segments of the cone of x. The angular order of these segments around x has been computed in the preprocessing phase. We show how to efficiently find the intersections of the segments of the cone of x with the non-crossing line segments of the other color. The points that are on the same side as x and have a different color are identified and grouped such that the points between each two consecutive segments of the cone of x are in one group. Since the angular order of the points around x has been precomputed, these groups are identified in O(n) time. A special group is the group of the points that are outside the segments of the cone of x. Except for that special group, a line segment whose two endpoints are from the same group does not intersect with the segments of the cone of x. On the other hand, a line segment whose two endpoints are from two different groups intersects with all the segments of the cone of x that lie between (with respect to the angular order around x) these

9 Finding Simplices Containing the Origin 9 p 1 x p 6 p 2 p 4 p 3 p 5 Fig. 1. crossing/non-crossing intersections two groups. Finding these intersections is straightforward using an extra O(n) time. A line segment whose both endpoints are in the special group either intersects all the segments of the cone of x or none of them. To find these intersections, we start traversing the points of the special group in a clockwise increasing angular order around x. For each such point y, we start another traversal for the points of the special group in increasing anti-clockwise angular order. Once we reach a point y in the anti-clockwise traversal that together with y forms a line segment which does not intersect the cone of x, we proceed with the clockwise direction for another point y and restart the anti-clockwise traversal. The idea is that any line segment formed by the point y and a point after y in the anti-clockwise traversal does not intersect the cone of x. It follows that, for every point y, we spend a constant time in addition to the time to report the intersections. That way, we will be able to find the bichromatic intersections for the crossing line segments of the cone of x in O(n) time plus the time to report the intersections. Repeating the procedure for every point in S instead of the point x, we use an extra O(n 2 ) time to find all the crossing/non-crossing intersections. For the example in Figure 1, the points p 3 and p 4 are in the same group, while the points p 1, p 2 and p 6 are in the special group. The line segment p 2 p 6 intersects all the line segments of the cone of x, while the line segments p 1 p 2 and p 1 p 6 have no intersections with the segments of the cone of x Finding crossing/crossing intersections As stated in Section 3.2.1, the crossing line segments joining a point to the points with the same color but on the other side form a cone of segments. Also, the order of these segments around that point is determined in a preprocessing phase. Consider any two points x and y on the same side of L and having two different colors. There are two cases depending on the position of one point with respect to the cone of segments of the other. For Case 1, one of the two points lies inside the

10 10 K. Elbassioni, A. Elmasry and K. Makino x y c b a Fig. 2. crossing/crossing intersections cone of segments of the other. Assume without loss of generality that y lies in the cone of x. For every point y that lies inside the cone of x, the segment that precedes y and the segment that follows y in the sorted angular order around x can be found and stored all in O(n) time; this can be done by one angular traversal for the points around x. Hence, a total of O(n 2 ) time is required to perform such task for all the possible pairs x and y. Once we know these two segments for a pair of points x and y, we may consider the segments of the cone of x as two cones of segments and handle Case 1 as two problems of Case 2, where none of the points is inside the cone of the other point. Next, we show how to treat such case. As shown in Figure 2, we start from the segment with the largest angle around y among the segments of the cone of y. Let a be the intersection of this segment with L. Let c be the intersection of L with the segment of the cone of x forming the smallest angle with L. We traverse the segments of the cone of y in order until we reach the segment that intersects with L in b; this is the last line segment whose intersection with L is to the right of c. Note that each of the traversed segments of the cone of y intersects at least one segment of the cone of x, and hence the time spent in traversing these segments can be covered by the time spent in reporting such intersections. Once we reach the point b, we start traversing the segments of the cone of y again but now in the other direction. This can be done by maintaining a stack that holds these segments. Simultaneous to the reversed traversal of the segments of the cone of y, we traverse the segments of the cone of x in the same direction of increasing angular order. Whenever the intersection of the segment of the cone of y, which is at the top of the stack, with L is to the right of the intersection of the current segment of the cone of x with L, we report that the current segment of the cone of x intersects with all the segments of the cone of y that are still in the stack. We then proceed traversing the next segment of x, and in accordance perform as many pops to the stack of the segments of the cone of y as necessary. That way, we will be able to find the intersections of the segments of the cone of

11 Finding Simplices Containing the Origin 11 x with those of the cone of y in an O(1) time plus the time required for reporting these intersections. Repeating the procedure for all possible pairs of points x and y, we use an extra O(n 2 ) time for finding all the crossing/crossing intersections. 4. Conclusions We gave output-sensitive algorithms for the problem of enumerating simplices containing the origin in two and three dimensions. We also gave an output sensitive algorithm for the problem of counting simplices in two dimensions. The linear-time two-dimensional enumeration algorithm is obviously optimal. It remains to either prove lower bounds or develop better algorithms for the twodimensional counting problem as well as the three-dimensional problems. It is not difficult to modify our enumeration algorithms to output a prescribed number k of simplices in time O(n+k ) for the two-dimensional case, and O(n 2 +k ) for the three-dimensional case. For the the two-dimensional case, we have to replace the algorithm for identifying the zero-one blocks, that we use as a preprocessing step, with the straightforward incremental algorithm that works in O(nr ), where r is the required number of blocks needed to produce k simplices (which can be derived from k using a more precise bound than that in Lemma 1 including the constants). It does not seem that the methods used in the paper can be generalized to higher dimensions. So, it remains interesting to obtain non-trivial lower and upper bounds on counting and enumerating Z-simplices in any fixed dimension. The problem of finding bichromatic intersections for segments defined by bichromatic points is interesting in its own right. It is quite straightforward to modify the enumeration algorithm to perform the counting task in O(n 3 ) time. The decision problem about the existence of any bichromatic intersections is much easier though; one can answer this question in linear time by checking the separability of the set of red points from the set of blue points. References 1. A. Elmasry, Distribution-sensitive set multi-partitioning, Proc. 1st International Conference on Analysis of Algorithms, (2005) pp A. Elmasry and K. Elbassioni, Output-sensitive algorithms for counting and enumerating simplices containing a given point in the plane, Proc. 17th Canadian Conference on Computational Geometry, (2005) pp A. Elmasry and K. Makino, Finding intersections of bichromatic segments defined by points, Proc. 19th Canadian Conference on Computational Geometry, (2007) pp D. Bremner, E. Demaine, J. Erickson, J. Iacono, S. Langerman, P. Morin and G. Toussaint, Output-sensitive algorithms for computing nearest-neighbour decision boundaries, Discrete and Computational Geometry, 33(4) (2005) A. Schrijver, Theory of Linear and Integer Programming, Wiley-Interscience, (1986). 6. M. Bussieck and M. Lübbecke, The vertex set of a 0/1-polytope is strongly p- enumerable, Computational Geometry: Theory and Applications, 11(2) (1998) G. Swart, Finding the convex hull facet by facet, Journal of Algorithms, 6 (1985)

12 12 K. Elbassioni, A. Elmasry and K. Makino 8. R. Seidel, Convex hull computations, Handbook of Discrete and Computational Geometry, CRC Press LLC, (1997) S. Khuller and J. S.B. Mitchell, On a triangle counting problem, Information Processing Letters, 33 (1989/90) G. Gil, W. Steiger and A. Wigderson, Geometric medians, Discrete Mathematics, 108 (1992) P. Rousseeuw and I. Ruts, Bivariate location depth, Applied Statistics, 45 (1996), G. Aloupis, C. Corts, F. Gmez, M. Soss and G. Toussaint, Lower bounds on computing statistical depth, Computational Statistics and Data Analysis, 40(2) (2002) T. Chan, Output-sensitive results on convex hulls, extreme points, and related problems, Discrete and Computational Geometry, 16 (1996) F. Nielsen, Grouping and querying: a paradigm to get output sensitive algorithms, Proc. Japan Conference on Discrete and Computational Geometry, (1998) pp I. Balaban, An optimal algorithm for finding segment intersections, Proc. 11th ACM Symposium on Computational Geometry, (1995) pp H. Mairson and J. Stolfi, Reporting and counting intersections between two sets of line segments, Theoretical Foundations of Computer Graphics and CAD, (1988) P. Agarwal, Partitioning arrangements of lines: II. Applications, Discrete Computational Geometry: Theory and Applications, 5 (1990) B. Chazelle, Cutting hyperplanes for divide-and-conquer, Discrete and Computational Geometry, 9 (1993) J. Basch, L. Guibas and G. Ramkumar, Reporting red-blue intersections between two sets of connected line segments, Proc. 4th European Symposium on Algorithms, LNCS 1136 (1996) pp M. Szegedy and J. Pach, The number of simplices embracing the origin, Discrete Geometry: Pure and Applied Mathematics, (2003) B. Chazelle, L. Guibas and D. Lee, The power of geometric duality, BIT, 25 (1985)

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

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

A Reduction of Conway s Thrackle Conjecture

A Reduction of Conway s Thrackle Conjecture A Reduction of Conway s Thrackle Conjecture Wei Li, Karen Daniels, and Konstantin Rybnikov Department of Computer Science and Department of Mathematical Sciences University of Massachusetts, Lowell 01854

More information

Solution for Homework set 3

Solution for Homework set 3 TTIC 300 and CMSC 37000 Algorithms Winter 07 Solution for Homework set 3 Question (0 points) We are given a directed graph G = (V, E), with two special vertices s and t, and non-negative integral capacities

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

ON THE EMPTY CONVEX PARTITION OF A FINITE SET IN THE PLANE**

ON THE EMPTY CONVEX PARTITION OF A FINITE SET IN THE PLANE** Chin. Ann. of Math. 23B:(2002),87-9. ON THE EMPTY CONVEX PARTITION OF A FINITE SET IN THE PLANE** XU Changqing* DING Ren* Abstract The authors discuss the partition of a finite set of points in the plane

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

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

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 Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem

An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem Ahmad Biniaz Anil Maheshwari Michiel Smid September 30, 2013 Abstract Let P and S be two disjoint sets of n and m points in 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

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

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

On the Hardness of Computing Intersection, Union and Minkowski Sum of Polytopes

On the Hardness of Computing Intersection, Union and Minkowski Sum of Polytopes On the Hardness of Computing Intersection, Union and Minkowski Sum of Polytopes Hans Raj Tiwary hansraj@cs.uni-sb.de FR Informatik Universität des Saarlandes D-66123 Saarbrücken, Germany Tel: +49 681 3023235

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

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

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

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

The Geometry of Carpentry and Joinery

The Geometry of Carpentry and Joinery The Geometry of Carpentry and Joinery Pat Morin and Jason Morrison School of Computer Science, Carleton University, 115 Colonel By Drive Ottawa, Ontario, CANADA K1S 5B6 Abstract In this paper we propose

More information

Convex hulls of spheres and convex hulls of convex polytopes lying on parallel hyperplanes

Convex hulls of spheres and convex hulls of convex polytopes lying on parallel hyperplanes Convex hulls of spheres and convex hulls of convex polytopes lying on parallel hyperplanes Menelaos I. Karavelas joint work with Eleni Tzanaki University of Crete & FO.R.T.H. OrbiCG/ Workshop on Computational

More information

be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that

be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that ( Shelling (Bruggesser-Mani 1971) and Ranking Let be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that. a ranking of vertices

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

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

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

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

Theorem 2.9: nearest addition algorithm

Theorem 2.9: nearest addition algorithm There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used

More information

1 The range query problem

1 The range query problem CS268: Geometric Algorithms Handout #12 Design and Analysis Original Handout #12 Stanford University Thursday, 19 May 1994 Original Lecture #12: Thursday, May 19, 1994 Topics: Range Searching with Partition

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

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

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

Chordal deletion is fixed-parameter tractable

Chordal deletion is fixed-parameter tractable Chordal deletion is fixed-parameter tractable Dániel Marx Institut für Informatik, Humboldt-Universität zu Berlin, Unter den Linden 6, 10099 Berlin, Germany. dmarx@informatik.hu-berlin.de Abstract. It

More information

Line Arrangement. Chapter 6

Line Arrangement. Chapter 6 Line Arrangement Chapter 6 Line Arrangement Problem: Given a set L of n lines in the plane, compute their arrangement which is a planar subdivision. Line Arrangements Problem: Given a set L of n lines

More information

Lecture 2 September 3

Lecture 2 September 3 EE 381V: Large Scale Optimization Fall 2012 Lecture 2 September 3 Lecturer: Caramanis & Sanghavi Scribe: Hongbo Si, Qiaoyang Ye 2.1 Overview of the last Lecture The focus of the last lecture was to give

More information

Convex Geometry arising in Optimization

Convex Geometry arising in Optimization Convex Geometry arising in Optimization Jesús A. De Loera University of California, Davis Berlin Mathematical School Summer 2015 WHAT IS THIS COURSE ABOUT? Combinatorial Convexity and Optimization PLAN

More information

Exact adaptive parallel algorithms for data depth problems. Vera Rosta Department of Mathematics and Statistics McGill University, Montreal

Exact adaptive parallel algorithms for data depth problems. Vera Rosta Department of Mathematics and Statistics McGill University, Montreal Exact adaptive parallel algorithms for data depth problems Vera Rosta Department of Mathematics and Statistics McGill University, Montreal joint work with Komei Fukuda School of Computer Science McGill

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

2 Geometry Solutions

2 Geometry Solutions 2 Geometry Solutions jacques@ucsd.edu Here is give problems and solutions in increasing order of difficulty. 2.1 Easier problems Problem 1. What is the minimum number of hyperplanar slices to make a d-dimensional

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

Number Theory and Graph Theory

Number Theory and Graph Theory 1 Number Theory and Graph Theory Chapter 6 Basic concepts and definitions of graph theory By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com

More information

26 The closest pair problem

26 The closest pair problem The closest pair problem 1 26 The closest pair problem Sweep algorithms solve many kinds of proximity problems efficiently. We present a simple sweep that solves the two-dimensional closest pair problem

More information

Detecting intersections between convex polyhedra

Detecting intersections between convex polyhedra Detecting intersections between convex polyhedra Luis Barba Stefan Langerman Abstract For a polyhedron P in R d, denote by P its combinatorial complexity, i.e., the number of faces, edges and vertices

More information

APPROXIMATING THE MAXMIN AND MINMAX AREA TRIANGULATIONS USING ANGULAR CONSTRAINTS. J. Mark Keil, Tzvetalin S. Vassilev

APPROXIMATING THE MAXMIN AND MINMAX AREA TRIANGULATIONS USING ANGULAR CONSTRAINTS. J. Mark Keil, Tzvetalin S. Vassilev Serdica J. Computing 4 00, 3 334 APPROXIMATING THE MAXMIN AND MINMAX AREA TRIANGULATIONS USING ANGULAR CONSTRAINTS J. Mark Keil, Tzvetalin S. Vassilev Abstract. We consider sets of points in the two-dimensional

More information

FACES OF CONVEX SETS

FACES OF CONVEX SETS FACES OF CONVEX SETS VERA ROSHCHINA Abstract. We remind the basic definitions of faces of convex sets and their basic properties. For more details see the classic references [1, 2] and [4] for polytopes.

More information

Lecture 15: The subspace topology, Closed sets

Lecture 15: The subspace topology, Closed sets Lecture 15: The subspace topology, Closed sets 1 The Subspace Topology Definition 1.1. Let (X, T) be a topological space with topology T. subset of X, the collection If Y is a T Y = {Y U U T} is a topology

More information

CMSC 754 Computational Geometry 1

CMSC 754 Computational Geometry 1 CMSC 754 Computational Geometry 1 David M. Mount Department of Computer Science University of Maryland Fall 2005 1 Copyright, David M. Mount, 2005, Dept. of Computer Science, University of Maryland, College

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

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

Geometry. Every Simplicial Polytope with at Most d + 4 Vertices Is a Quotient of a Neighborly Polytope. U. H. Kortenkamp. 1.

Geometry. Every Simplicial Polytope with at Most d + 4 Vertices Is a Quotient of a Neighborly Polytope. U. H. Kortenkamp. 1. Discrete Comput Geom 18:455 462 (1997) Discrete & Computational Geometry 1997 Springer-Verlag New York Inc. Every Simplicial Polytope with at Most d + 4 Vertices Is a Quotient of a Neighborly Polytope

More information

Figure 2.1: An example of a convex set and a nonconvex one.

Figure 2.1: An example of a convex set and a nonconvex one. Convex Hulls 2.1 Definitions 2 Convexity is the key to understanding and simplifying geometry, and the convex hull plays a role in geometry akin to the sorted order for a collection of numbers. So what

More information

Faster parameterized algorithms for Minimum Fill-In

Faster parameterized algorithms for Minimum Fill-In Faster parameterized algorithms for Minimum Fill-In Hans L. Bodlaender Pinar Heggernes Yngve Villanger Technical Report UU-CS-2008-042 December 2008 Department of Information and Computing Sciences Utrecht

More information

Bichromatic Line Segment Intersection Counting in O(n log n) Time

Bichromatic Line Segment Intersection Counting in O(n log n) Time Bichromatic Line Segment Intersection Counting in O(n log n) Time Timothy M. Chan Bryan T. Wilkinson Abstract We give an algorithm for bichromatic line segment intersection counting that runs in O(n log

More information

Voronoi diagram and Delaunay triangulation

Voronoi diagram and Delaunay triangulation Voronoi diagram and Delaunay triangulation Ioannis Emiris & Vissarion Fisikopoulos Dept. of Informatics & Telecommunications, University of Athens Computational Geometry, spring 2015 Outline 1 Voronoi

More information

Simplicial Cells in Arrangements of Hyperplanes

Simplicial Cells in Arrangements of Hyperplanes Simplicial Cells in Arrangements of Hyperplanes Christoph Dätwyler 05.01.2013 This paper is a report written due to the authors presentation of a paper written by Shannon [1] in 1977. The presentation

More information

Partitions and Packings of Complete Geometric Graphs with Plane Spanning Double Stars and Paths

Partitions and Packings of Complete Geometric Graphs with Plane Spanning Double Stars and Paths Partitions and Packings of Complete Geometric Graphs with Plane Spanning Double Stars and Paths Master Thesis Patrick Schnider July 25, 2015 Advisors: Prof. Dr. Emo Welzl, Manuel Wettstein Department of

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

[Me] Meisters, G. H., Polygons have ears, American Mathematical Monthly, June/July 1975, pp

[Me] Meisters, G. H., Polygons have ears, American Mathematical Monthly, June/July 1975, pp 4. Applications Meisters [Me] Two-Ears Theorem was motivated by the problem of triangulating a simple polygon. In fact Meisters suggests a greedy, but concise algorithm to achieve this goal, i.e., find

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

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

On the Size of Higher-Dimensional Triangulations

On the Size of Higher-Dimensional Triangulations Combinatorial and Computational Geometry MSRI Publications Volume 52, 2005 On the Size of Higher-Dimensional Triangulations PETER BRASS Abstract. I show that there are sets of n points in three dimensions,

More information

Combinatorial Geometry & Topology arising in Game Theory and Optimization

Combinatorial Geometry & Topology arising in Game Theory and Optimization Combinatorial Geometry & Topology arising in Game Theory and Optimization Jesús A. De Loera University of California, Davis LAST EPISODE... We discuss the content of the course... Convex Sets A set is

More information

arxiv: v2 [cs.ds] 9 Apr 2009

arxiv: v2 [cs.ds] 9 Apr 2009 Pairing Heaps with Costless Meld arxiv:09034130v2 [csds] 9 Apr 2009 Amr Elmasry Max-Planck Institut für Informatik Saarbrücken, Germany elmasry@mpi-infmpgde Abstract Improving the structure and analysis

More information

Stabbers of line segments in the plane

Stabbers of line segments in the plane Stabbers of line segments in the plane M. Claverol D. Garijo C. I. Grima A. Márquez C. Seara August 3, 2010 Abstract The problem of computing a representation of the stabbing lines of a set S of segments

More information

Lecture 3 February 9, 2010

Lecture 3 February 9, 2010 6.851: Advanced Data Structures Spring 2010 Dr. André Schulz Lecture 3 February 9, 2010 Scribe: Jacob Steinhardt and Greg Brockman 1 Overview In the last lecture we continued to study binary search trees

More information

Automorphism Groups of Cyclic Polytopes

Automorphism Groups of Cyclic Polytopes 8 Automorphism Groups of Cyclic Polytopes (Volker Kaibel and Arnold Waßmer ) It is probably well-known to most polytope theorists that the combinatorial automorphism group of a cyclic d-polytope with n

More information

Faster parameterized algorithms for Minimum Fill-In

Faster parameterized algorithms for Minimum Fill-In Faster parameterized algorithms for Minimum Fill-In Hans L. Bodlaender Pinar Heggernes Yngve Villanger Abstract We present two parameterized algorithms for the Minimum Fill-In problem, also known as Chordal

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

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings On the Relationships between Zero Forcing Numbers and Certain Graph Coverings Fatemeh Alinaghipour Taklimi, Shaun Fallat 1,, Karen Meagher 2 Department of Mathematics and Statistics, University of Regina,

More information

A Simpler Linear-Time Algorithm for Intersecting Two Convex Polyhedra in Three Dimensions

A Simpler Linear-Time Algorithm for Intersecting Two Convex Polyhedra in Three Dimensions A Simpler Linear-Time Algorithm for Intersecting Two Convex Polyhedra in Three Dimensions Timothy M. Chan 1 1 Cheriton School of Computer Science, University of Waterloo tmchan@uwaterloo.ca Abstract Chazelle

More information

Lecture 12 March 4th

Lecture 12 March 4th Math 239: Discrete Mathematics for the Life Sciences Spring 2008 Lecture 12 March 4th Lecturer: Lior Pachter Scribe/ Editor: Wenjing Zheng/ Shaowei Lin 12.1 Alignment Polytopes Recall that the alignment

More information

A technique for adding range restrictions to. August 30, Abstract. In a generalized searching problem, a set S of n colored geometric objects

A technique for adding range restrictions to. August 30, Abstract. In a generalized searching problem, a set S of n colored geometric objects A technique for adding range restrictions to generalized searching problems Prosenjit Gupta Ravi Janardan y Michiel Smid z August 30, 1996 Abstract In a generalized searching problem, a set S of n colored

More information

[Ba] Bykat, A., Convex hull of a finite set of points in two dimensions, Info. Proc. Lett. 7 (1978),

[Ba] Bykat, A., Convex hull of a finite set of points in two dimensions, Info. Proc. Lett. 7 (1978), [Ba] Bykat, A., Convex hull of a finite set of points in two dimensions, Info. Proc. Lett. 7 (1978), 296-298. [Ch] [CI] [EET] [ET] [FM] [GJPT] [Gr] [HM] [KKT] Chazelle, B., A theorem on polygon cutting

More information

Problem Set 1. Solution. CS4234: Optimization Algorithms. Solution Sketches

Problem Set 1. Solution. CS4234: Optimization Algorithms. Solution Sketches CS4234: Optimization Algorithms Sketches Problem Set 1 S-1. You are given a graph G = (V, E) with n nodes and m edges. (Perhaps the graph represents a telephone network.) Each edge is colored either blue

More information

Combinatorial Gems. Po-Shen Loh. June 2009

Combinatorial Gems. Po-Shen Loh. June 2009 Combinatorial Gems Po-Shen Loh June 2009 Although this lecture does not contain many offical Olympiad problems, the arguments which are used are all common elements of Olympiad problem solving. Some of

More information

A SIMPLE APPROXIMATION ALGORITHM FOR NONOVERLAPPING LOCAL ALIGNMENTS (WEIGHTED INDEPENDENT SETS OF AXIS PARALLEL RECTANGLES)

A SIMPLE APPROXIMATION ALGORITHM FOR NONOVERLAPPING LOCAL ALIGNMENTS (WEIGHTED INDEPENDENT SETS OF AXIS PARALLEL RECTANGLES) Chapter 1 A SIMPLE APPROXIMATION ALGORITHM FOR NONOVERLAPPING LOCAL ALIGNMENTS (WEIGHTED INDEPENDENT SETS OF AXIS PARALLEL RECTANGLES) Piotr Berman Department of Computer Science & Engineering Pennsylvania

More information

2 Solution of Homework

2 Solution of Homework Math 3181 Name: Dr. Franz Rothe February 6, 2014 All3181\3181_spr14h2.tex Homework has to be turned in this handout. The homework can be done in groups up to three due February 11/12 2 Solution of Homework

More information

Convex Hulls in Three Dimensions. Polyhedra

Convex Hulls in Three Dimensions. Polyhedra Convex Hulls in Three Dimensions Polyhedra Polyhedron 1.A polyhedron is the generalization of a 2- D polygon to 3-D A finite number of flat polygonal faces The boundary or surface of a polyhedron - Zero-dimensional

More information

CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension

CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension Antoine Vigneron King Abdullah University of Science and Technology November 7, 2012 Antoine Vigneron (KAUST) CS 372 Lecture

More information

6. Lecture notes on matroid intersection

6. Lecture notes on matroid intersection Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans May 2, 2017 6. Lecture notes on matroid intersection One nice feature about matroids is that a simple greedy algorithm

More information

Lecture 2 - Introduction to Polytopes

Lecture 2 - Introduction to Polytopes Lecture 2 - Introduction to Polytopes Optimization and Approximation - ENS M1 Nicolas Bousquet 1 Reminder of Linear Algebra definitions Let x 1,..., x m be points in R n and λ 1,..., λ m be real numbers.

More information

Optimal Parallel Randomized Renaming

Optimal Parallel Randomized Renaming Optimal Parallel Randomized Renaming Martin Farach S. Muthukrishnan September 11, 1995 Abstract We consider the Renaming Problem, a basic processing step in string algorithms, for which we give a simultaneously

More information

On Minimum Weight Pseudo-Triangulations

On Minimum Weight Pseudo-Triangulations On Minimum Weight Pseudo-Triangulations Oswin Aichholzer Franz Aurenhammer Thomas Hackl Bettina Speckmann Abstract In this note we discuss some structural properties of minimum weight pseudo-triangulations.

More information

3 No-Wait Job Shops with Variable Processing Times

3 No-Wait Job Shops with Variable Processing Times 3 No-Wait Job Shops with Variable Processing Times In this chapter we assume that, on top of the classical no-wait job shop setting, we are given a set of processing times for each operation. We may select

More information

The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards

The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards Nicole Chesnokov May 16, 2018 Contents 1 Introduction 2 2 The Art Gallery Problem 3 2.1 Proof..................................

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

The simplex method and the diameter of a 0-1 polytope

The simplex method and the diameter of a 0-1 polytope The simplex method and the diameter of a 0-1 polytope Tomonari Kitahara and Shinji Mizuno May 2012 Abstract We will derive two main results related to the primal simplex method for an LP on a 0-1 polytope.

More information

1/60. Geometric Algorithms. Lecture 1: Introduction. Convex Hulls

1/60. Geometric Algorithms. Lecture 1: Introduction. Convex Hulls 1/60 Geometric Algorithms Lecture 1: Introduction Convex Hulls Geometric algorithms scope 2/60 Geometry algorithms (practice): Study of geometric problems that arise in various applications and how algorithms

More information

On Merging Straight Skeletons

On Merging Straight Skeletons On Merging Straight Skeletons Franz Aurenhammer 1 and Michael Steinkogler 2 1 Institute for Theoretical Computer Science, University of Technology, Graz, Austria auren@igi.tugraz.at 2 Institute for Theoretical

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

Definition 2 (Projective plane). A projective plane is a class of points, and a class of lines satisfying the axioms:

Definition 2 (Projective plane). A projective plane is a class of points, and a class of lines satisfying the axioms: Math 3181 Name: Dr. Franz Rothe January 30, 2014 All3181\3181_spr14h2.tex Homework has to be turned in this handout. The homework can be done in groups up to three due February 11/12 2 Homework 1 Definition

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

9 Bounds for the Knapsack Problem (March 6)

9 Bounds for the Knapsack Problem (March 6) 9 Bounds for the Knapsack Problem (March 6) In this lecture, I ll develop both upper and lower bounds in the linear decision tree model for the following version of the (NP-complete) Knapsack 1 problem:

More information

Definition 1 (Hand-shake model). A hand shake model is an incidence geometry for which every line has exactly two points.

Definition 1 (Hand-shake model). A hand shake model is an incidence geometry for which every line has exactly two points. Math 3181 Dr. Franz Rothe Name: All3181\3181_spr13t1.tex 1 Solution of Test I Definition 1 (Hand-shake model). A hand shake model is an incidence geometry for which every line has exactly two points. Definition

More information

Computational Geometry. Algorithm Design (10) Computational Geometry. Convex Hull. Areas in Computational Geometry

Computational Geometry. Algorithm Design (10) Computational Geometry. Convex Hull. Areas in Computational Geometry Computational Geometry Algorithm Design (10) Computational Geometry Graduate School of Engineering Takashi Chikayama Algorithms formulated as geometry problems Broad application areas Computer Graphics,

More information

12.1 Formulation of General Perfect Matching

12.1 Formulation of General Perfect Matching CSC5160: Combinatorial Optimization and Approximation Algorithms Topic: Perfect Matching Polytope Date: 22/02/2008 Lecturer: Lap Chi Lau Scribe: Yuk Hei Chan, Ling Ding and Xiaobing Wu In this lecture,

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

Analyze the obvious algorithm, 5 points Here is the most obvious algorithm for this problem: (LastLargerElement[A[1..n]:

Analyze the obvious algorithm, 5 points Here is the most obvious algorithm for this problem: (LastLargerElement[A[1..n]: CSE 101 Homework 1 Background (Order and Recurrence Relations), correctness proofs, time analysis, and speeding up algorithms with restructuring, preprocessing and data structures. Due Thursday, April

More information

arxiv: v1 [math.co] 27 Feb 2015

arxiv: v1 [math.co] 27 Feb 2015 Mode Poset Probability Polytopes Guido Montúfar 1 and Johannes Rauh 2 arxiv:1503.00572v1 [math.co] 27 Feb 2015 1 Max Planck Institute for Mathematics in the Sciences, Inselstraße 22, 04103 Leipzig, Germany,

More information

Extremal results for Berge-hypergraphs

Extremal results for Berge-hypergraphs Extremal results for Berge-hypergraphs Dániel Gerbner Cory Palmer Abstract Let G be a graph and H be a hypergraph both on the same vertex set. We say that a hypergraph H is a Berge-G if there is a bijection

More information

Polyhedral Computation Today s Topic: The Double Description Algorithm. Komei Fukuda Swiss Federal Institute of Technology Zurich October 29, 2010

Polyhedral Computation Today s Topic: The Double Description Algorithm. Komei Fukuda Swiss Federal Institute of Technology Zurich October 29, 2010 Polyhedral Computation Today s Topic: The Double Description Algorithm Komei Fukuda Swiss Federal Institute of Technology Zurich October 29, 2010 1 Convexity Review: Farkas-Type Alternative Theorems Gale

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