An Optimal Algorithm for the Separating Common Tangents of two Polygons

Size: px
Start display at page:

Download "An Optimal Algorithm for the Separating Common Tangents of two Polygons"

Transcription

1 An Optimal Algorithm for the Separating Common Tangents of two Polygons arxiv:5.436v [cs.cg] 2 Nov 25 Miel Abrahamsen Department of Computer Science, University of Copenhagen Universitetsparen 5 DK-2 Copanhagen Ø Denmar miab@di.u.d September, 28 Abstract We describe an algorithm for computing the separating common tangents of two simple polygons using linear time and only constant worspace. A tangent of a polygon is a line touching the polygon such that all of the polygon lies to the same side of the line. A separating common tangent of two polygons is a tangent of both polygons where the polygons are lying on different sides of the tangent. Each polygon is given as a read-only array of its corners. If a separating common tangent does not exist, the algorithm reports that. Otherwise, two corners defining a separating common tangent are returned. The algorithm is simple and implies an optimal algorithm for deciding if the convex hulls of two polygons are disjoint or not. This was not nown to be possible in linear time and constant worspace prior to this paper. An outer common tangent is a tangent of both polygons where the polygons are on the same side of the tangent. In the case where the convex hulls of the polygons are disjoint, we give an algorithm for computing the outer common tangents in linear time using constant worspace. Introduction The problem of computing common tangents of two given polygons has received some attention in the case where the polygons are convex. For instance, it is A preliminary version of this paper appeared at SoCG 25 []. In the case where the convex hulls of the polygons are not disjoint, it is not clear that the algorithm for separating common tangents terminates within the given bound on the running time. Here, we give a correct algorithm and simplify the proof of correctness slightly. Research partly supported by Miel Thorup s Advanced Grant from the Danish Council for Independent Research under the Sapere Aude research career programme.

2 necessary to compute outer common tangents of disjoint convex polygons in the classic divide-and-conquer algorithm for the convex hull of a set of n points in the planebypreparataandhong[3]. Theygiveanavelineartimealgorithmforouter common tangents since that suffices for an O(n log n) time convex hull algorithm. The problem is also considered in various dynamic convex hull algorithms[6, 9, 2]. Overmars and van Leeuwen [2] give an O(log n) time algorithm for computing an outer common tangent of two disjoint convex polygons when a separating line is nown, where each polygon has at most n corners. Kirpatric and Snoeyin [] give an O(logn) time algorithm for the same problem, but without using a separatingline. Guibasetal.[8]giveanΩ(log 2 n)lowerboundonthetimerequired to compute an outer common tangent of two intersecting convex polygons, even if it is nown that they intersect in at most two points. They also describe an algorithm achieving that bound. Touissaint [4] considers the problem of computing separating common tangents of convex polygons and notes that the problem occurs in problems related to visibility, collision avoidance, range fitting, etc. He gives a linear time algorithm. Guibas et al. [8] give an O(logn) time algorithm for the same problem. All the here mentioned wors mae use of the convexity of the polygons. If the polygons are not convex, one can use a linear time algorithm to compute the convex hulls before computing the tangents [7, ]. However, if the polygons are given in read-only memory, it requires Ω(n) extra bits to store the convex hulls. In this paper, we also obtain linear time while using only constant worspace, i.e. O(logn) bits. For the outer common tangents, we require the convex hulls of the polygons to be disjoint. There has been some recent interest in constant worspace algorithms for geometric problems, see for instance [2, 3, 4, 5]. The problem of computing separating common tangents is of special interest because these only exist when the convex hulls of the polygons are disjoint, and our algorithm detects if they are not. Thus, we also provide an optimal algorithm for deciding if the convex hulls of two polygons are disjoint or not. This was to the best of our nowledge not nown to be possible in linear time and constant worspace prior to our wor.. Notation and some basic definitions Given two points a and b in the plane, the closed line segment with endpoints a and b is written ab. When a b, the line containing a and b which is infinite in both directions is written L(a, b). Define the dot product of two points x = (x,x ) and y = (y,y ) as x y = x y +x y, and let x = ( x,x ) be the counterclocwise rotation of x by the angle π/2. Now, for three points a, b, and c, we define T (a,b,c) = sgn((b a) (c b)), where sgn is the sign function. T(a,b,c) is if c is to the left of the directed line from a to b, if a, b, and c are collinear, and if c is to the right of the directed line from a to b. We see that T(a,b,c) = T(b,c,a) = T (c,a,b) = T (c,b,a) = T (b,a,c) = T (a,c,b). We also note that if a and b are on the line L(a,b) and appear in the same order as a and b, i.e., (b a) (b a ) >, then T (a,b,c) = T(a,b,c) for every point c. 2

3 P P Figure : Two polygons P and P and their four common tangents as thic lines. The edges of the convex hulls which are not edges of P or P are dashed. The left half-plane LHP(a, b) is the closed half plane with boundary L(a, b) lying to the left of directed line from a to b, i.e., all the points c such that T (a,b,c). The right half-plane RHP(a,b) is just LHP(b,a). Assume for the rest of this paper that P and P are two simple polygons in the plane with n and n corners, respectively, where P is defined by its corners p [],p [],...,p [n ] in clocwise or counterclocwise order, =,. Indices of the corners are considered modulo n, so that p [i] andp [j] arethe same corner when i j (mod n ). We assume that the corners are in general position in the sense that P and P have no common corners and the union of corners =, {p [],...,p [n ]} contains no three collinear corners. A tangent of P is a line l such that l and P are not disjoint and such that P is contained in one of the closed half-planes defined by l. The line l is a common tangent of P and P if it is a tangent of both P and P. A common tangent is an outer common tangent if P and P are on the same side of the tangent, and otherwise the tangent is separating. See Figure. For a simple polygon P, we let H(P) be the convex hull of P. The following lemma is a well-nown fact about H(P). Lemma. For a simple polygon P, H(P) is a convex polygon and the corners of H(P) appear in the same cyclic order as they do on P. The following lemma states follore properties of tangents of polygons. Lemma 2. A line is a tangent of a polygon P if and only if it is a tangent of H(P). Under our general position assumptions, the following holds: If one of H(P ) and H(P ) is completely contained in the other, there are no outer common tangents of P and P. Otherwise, there are two or more. There are exactly two if P and P are disjoint. If H(P ) and H(P ) are not disjoint, there are no separating common tangents of P and P. Otherwise, there are exactly two. 3

4 P s (2) s () s (7) P s () Figure 2: Algorithm running on two polygons P and P. The corners p [s (i) ] are mared and labeled as s (i) for the initial values s () and after each iteration i where an update of s happens. The segments p [s (i) ]p [s (i) ] on the temporary line are dashed. 2 Computing separating common tangents In this section, we assume that the corners of P and P are both given in counterclocwise order. We prove that Algorithm returns a pair of indices (s,s ) such that the line L(p [s ],p [s ]) is a separating common tangent with P contained in RHP(p [s ],p [s ]) for =,. If the tangent does not exist, the algorithm returns NULL. The other separating common tangent can be found by a similar algorithm if the corners of the polygons are given in clocwise order and = is changed to = in line 3. Algorithm : SeparatingCommonTangent(P,P ) s ; t ; s ; t ; u 2 while t < 3n or t < 3n 3 if T (p u [s u ],p u [s u ],p u [t u ]) = 4 if t u 2n u 5 return NULL 6 s u t u 7 t u s u + 8 t u t u + 9 u u return (s,s ) The algorithm traverses the polygons in parallel one corner at a time using the indices t and t. We say that the indices (s,s ) define a temporary line, which is the line L(p [s ],p [s ]). We update the indices s and s until the temporary line is the separating common tangent. At the beginning of an iteration of the loop at line 2, we traverse one corner p u [t u ] of P u, u =,. If the corner happens to be on the wrong side of the intermediate line, we mae the temporary line pass through that corner by updating s u to t u and we reset t u to s u +. The reason for resetting t u is that a corner of P u which was on the correct side of 4

5 the old temporary line can be on the wrong side of the new line and thus needs be traversed again. We show that if the temporary line is not a separating common tangent after each polygon has been traversed twice, then the convex hulls of the polygons are not disjoint. Therefore, if a corner is found to be on the wrong side of the temporary line when a polygon is traversed for the third time, no separating common tangent can exist and NULL is returned. Let s (i) be the value of s after i =,,... iterations, =,. We always have s () = due to the initialization of s. See Figure 2. Assume that s is updated in line 6 in iteration i. The point p [s (i) ] is in ]). the half-plane LHP(p [s (i ) ],p [s (i ) ]), but not on the line L(p [s (i ) ],p [s (i ) Therefore, we have the following observation. Observation 3. When s is updated, the temporary line is rotated counterclocwise around s by an angle less than π. Assume in the following that the convex hulls of P and P are disjoint so that separating common tangents exist. Let (r,r ) be the indices that define the separating common tangent such that P is contained in RHP(p [r ],p [r ]), i.e., (r,r ) is the result we are going to prove that the algorithm returns. SinceH(P )isconvex, thetemporarylinealwaysdividesh(p )intotwoconvex parts. If we follow the temporary line from p [s ] in the direction towards p [s ], we enter H(P ) at some point x and thereafter leave H(P ) again at some point y. We clearly have x = y if and only if the temporary line is a tangent to H(P ), since if x = y and the line was no tangent, H(P ) would only be a line segment. The part of the boundary of H(P ) counterclocwise from x to y is in RHP(p [s ],p [s ]) whereas the part from y to x is on LHP(p [s ],p [s ]). We therefore have the following observation. Observation 4. Let d be the index of the corner of H(P ) strictly after y in counterclocwiseorder. Thereexists acorner p [t] ofp suchthat T(p [s ],p [s ],p [t]) = if and only if T (p [s ],p [s ],p [d]) =. Let c be the index of the first corner of H(P ) when following H(P ) in counterclocwise orderfromy,c =,...,n. Ify isitselfacornerofh(p ), we have p [c ] = y. ByObservation4we see thatt(p [s ],p [s ],p [c ]) with equality if and only if p [c ] = p [s ] = y. Let c () be c when only line has been executed. Consider now the value of c after i =,2,... iterations. Let c (i) = c andaddn toc (i) untilc(i) c (i ). This gives a non-decreasing sequence of indices c (),c(),... of the first corner of H(P ) in LHP(p [s ],p [s ]). Actually, we proveinthefollowingthatweneedtoaddn toc (i) atmostoncebeforec(i) c (i ). If r < c () we add n to r. Thus we have = s () c () r < 2n. The following lemma intuitively says that the algorithm does not jump over the correct solution and it expresses the main idea in our proof of correctness. Lemma 5. After each iteration i =,,... and for each =, we have s (i) c (i) r < 2n. Furthermore, the test in line 4 is never positive. 5

6 s (i ) P w y s (i ) x r c (i ) v s (i) r P c (i) Figure 3: An update of s happens in iterationifrom s (i ) to s (i) and p [c ] moves forward on H(P ) from p [c (i ) ] to p [c (i) ]. The relevant corners are mared and labeled with their indices. The polygon C from the proof of Lemma 5 is drawn with thic lines. Proof. We prove the lemma for =. From the definition of r, we get that = s () c () r < 2n. Since the sequence s (),s(),... is non-decreasing, the inequality s (i) is true for every i. Now, assume inductively that s (i ) c (i ) r and consider what happens during iteration i. If neither s nor s is updated, the statement is trivially true from the induction hypothesis, so assume that an update happens. By the old temporary line we mean the temporary line defined by (s (i ),s (i ) ) and the new temporary line is the one defined by (s (i),s (i) ). The old temporary line enters H(P ) at some point x and exits at some point y when followed from p [s (i ) ]. Liewise, let v be the point where the new temporary line exits H(P ) when followed from p [s (i) ]. The point x exists since the convex hulls are disjoint. Assume first that the variable u in the algorithm is, i.e., a corner of the polygon P is traversed. In this case s (i ) = s (i). We now prove s (i) c (i). Assume that p [s (i ) ] p [c (i ) ]. The situation is depicted in Figure 3. In this case T (p [s (i ) ],p [s (i ) ],p [c (i ) ]) =. Hence, the update happens when p [c (i ) ] is traversed or earlier, so s (i) c (i ) c (i). Assume now that p [s (i ) ] = p [c (i ) ]. We cannot have c (i) = c (i ) since T (p [s (i) ],p [s (i) ],p [c (i ) ]) = T (p [s (i ) ],p [s (i ) ],p [s (i) ]) =, therefore c (i) > c (i ). Consider the corner p [c ] on H(P ) following p [c (i ) ] in counterclocwise order, c > c (i ). Due to the minimality of c, we have c c (i). By Observation 4, T (p [s (i ) ],p [s (i ) ],p [c ]) =. Therefore, s must be updated when p [c ] is traversed or earlier, so s (i) c c (i). For the inequality c (i) r, consider the new temporary line in the direction from p [s (i ) ] to p [s (i) ]. We prove that v is in the part of H(P ) from y counterclocwise to r. The point p [s (i) ] is in the polygon Q defined by the segment xy together with the part of H(P ) from y counterclocwise to x. Therefore, the new temporary line enters and exits Q. It cannot exit through the segment xy, 6

7 since the old and new temporary lines intersect at p [s (i ) ], which is in H(P ). Therefore, v must be on the part of H(P ) from y to x. If r is on the part of H(P ) from x counterclocwise to y, then v is on the part from y to r as we wanted. Otherwise, assume for contradiction that the points appear in the order y, p [r ], v, x counterclocwise along H(P ), where p [r ] v x. The endpoints of the segment p [s (i ) ]x are on different sides of the tangent defined by (r,r ), so the segment intersects the tangent at a point w. The part of H(P ) from p [r ] to x and the segments xw and wp [r ] form a simple polygon C, see Figure 3 for an example. The new temporary line enters C at the point v, so it must leave C after v. The line cannot cross H(P ) after v since H(P ) is convex. It also cannot cross the segment xw at a point after v since the old and the new temporary line cross before v, namely at p [s (i ) ]. The tangent defined by (r,r ) and the new temporary line intersect before v since the endpoints of the segment p [s (i ) ]v are on different sides of the tangent. Therefore, the line cannot cross the segment wp [r ] at a point after v. Hence, the line cannot exit C. That is a contradiction. Therefore, v is on the part of H(P ) from y to p [r ] and hence the first corner p [c (i) ] of H(P ) after v must be before or coincident with p [r ], so that c (i) r. Assume now that u = in the beginning of iteration i, i.e., a corner of the other polygon P is traversed. In that case, we have s (i) = s (i ) c (i ) c (i), and we need only prove c (i) r. Observation 3 gives that v is in the part of H(P ) from y to x, since the new temporary line is obtained by rotating the old temporary line counterclocwise around p [s (i ) ] by an angle less than π. That v appears before p [r ] on H(P ) counterclocwise from y follows from exactly the same arguments as in the case u =. We have nowhere used the test at line 4 to conclude that s < 2n. Hence, the test is never positive. This completes the proof. We are now ready to prove that Algorithm has the desired properties. Theorem 6. If the polygons P and P have separating common tangents, Algorithm returns a pair of indices (s,s ) defining a separating common tangent such that P is contained in RHP(p [s ],p [s ]) for =,. If no separating common tangents exist, the algorithm returns NULL. The algorithm runs in linear time and uses constant worspace. Proof. Assume first that thealgorithmreturns (s,s ). We nowthat s < 2n for each =,,sinceweneverupdates tovaluesaslargeas2n. Therefore, wehave that p [t] RHP(p [s ],p [s ]) for each =, and each t {2n,...,3n }. Hence the pair (s,s ) indeed defines the separating common tangent. Assume now that there exists a separating common tangent. By Lemma 5, a pair (s,s ) is returned. As we already saw, this means that (s,s ) defines the separating common tangent. If an update happens in iteration i, the sum s +s is increased by at least i j, 2 where j was the previous iteration where an update happened. Inductively, we see that when the final update of s and s happens, there has been at most 2(s + s ) iterations. After the final update, at most 3n s +3n s iterations follow. In total, the algorithm performs 3n +s +3n +s 5(n +n ) iterations. 7

8 s (9) s (6) P s () s (5) s () s (9) s (3) s (6) s () s (4) s (2) s (2) P s () Figure 4: Algorithm 2 running on two polygons P and P. The corners p [s (i) ] are mared and labeled as s (i) for the initial values s () and after each iteration i where an update of s happens. The segments p [s (i) ]p [s (i) ] on the temporary line are dashed. 3 Computing outer common tangents In this section, we assume that two polygons P and P are given such that their convex hulls are disjoint. We assume that the corners p [],...,p [n ] of P are given in counterclocwise order and the corners p [],...,p [n ] of P are given in clocwise order. We say that the orientation of P and P is counterclocwise and clocwise, respectively. We prove that Algorithm 2 returns two indices (s,s ) that define an outer common tangent such that P and P are both contained in RHP(p [s ],p [s ]). Algorithm 2: OuterCommonTangent(P,P ) s ; t ; s ; t ; u 2 while t < 2n or t < 2n 3 if T (p [s ],p [s ],p u [t u ]) = 4 s u t u 5 t u s u + 6 t u t u + 7 u u 8 return (s,s ) As in the case of separating common tangents, we define s (i) as the value of s after i =,,... iterations of the loop at line 2 of Algorithm 2. See Figure 4. For this algorithm, we get a slightly different analogue to Observation 3: Observation 7. When s is updated, the temporary line is rotated around s in the orientation of P by an angle less than π. Let y be the point where the temporary line enters H(P ) when followed from p [s ] and x the point where it exits H(P ). We have the following analogue of Observation 4. 8

9 l l x P r r y s (i ) r s (i ) P Figure 5: The area A from the proof of Lemma 9 in grey. The relevant corners are mared and labeled with their indices. Observation 8. Let d be the index of the corner of H(P ) strictly after y following the orientationof P. Thereexists acorner p [t] ofp suchthat T(p [s ],p [s ],p [t]) = if and only if T (p [s ],p [s ],p [d]) =. Let c be the index of the first corner of H(P ) after y following the orientation of P, where p [c ] = y if y is itself a corner of H(P ). By Observation 8, we have T (p [s ],p [s ],p [c ]) with equality if and only if p [c ] = p [s ] = y. Define a non-decreasing sequence c (),c(),... of the value of c after i =,,... iterations as we did for separating tangents. Also, let the indices (r,r ) define the outer common tangent that we want the algorithm to return such that c () r < 2n. We can now state the analogue to Lemma 5 for outer common tangents. Lemma 9. After each iteration i =,,... and for each =, we have s (i) c (i) r < 2n. Proof. Assume = and the induction hypothesis s (i ) c (i ) r. The inequality s (i) c (i) can be proven exactly as in the proof of Lemma 5. Therefore, consider the inequality c (i) r and assume that an update happens in iteration i. Let the old temporary line and the new temporary line be the lines defined by the indices (s (i ),s (i ) ) and (s (i),s (i) ), respectively. Let y and x be the points where the old temporary line enters and exits H(P ) followed from p [s (i ) ], respectively, and let v be the point where the new temporary line enters H(P ). The points y and v exist since the convex hulls of P and P are disjoint. Assume first that the variable u in the algorithm equals when the update happens. We prove that v is in the part of H(P ) from y to p [r ] following the orientation of P, which is counterclocwise. The point p [s (i) ] is in the simple polygon Q bounded the part of H(P ) from y counterclocwise to x and the segment xy. Therefore, the new temporary line must enter Q to get to p [s (i) ]. It cannot enter through xy, since the old and new temporary line cross at p [s (i ) ] which is not in H(P ) by assumption. Therefore, it must enter through the part 9

10 of H(P ) from y to x, so v is in this part. If r is not in the part of H(P ) from y to x, it is clearly true that v is in the part from y to p [r ]. Otherwise, assume for contradiction that the points appear on H(P ) in the order y,p [r ],v,x and p [r ] v x. Let l be the half-line starting at p [r ] following the tangent away from p [r ], and let l be the half-line starting at x following the old temporary line away from p [s (i ) ]. The part of H(P ) from p [r ] to x and the half-lines l and l define a possibly unbounded area A outside H(P ), see Figure 5. We follow the new temporary line from p [s (i ) ] towards v. The point p [s (i ) ] is not in A and the new temporary line exits A at v since it enters H(P ) at v, so it must enter A somewhere at a point on the segment p [s (i ) ]v. It cannot enter through H(P ) since H(P ) is convex. It cannot enter through l since v and p [s (i ) ] are on the same side of the outer common tangent. It cannot enter through l since the old and new temporary line intersect in p [s (i ) ], which is not in A. That is a contradiction, so v is on the part of H(P ) from y to p [r ]. Hence, the first corner after y is coincident with or before p [r ], i.e., c (i) r. Assume now that u = in the beginning of iteration i so that a corner of the polygon P is traversed. Observation 7 gives that v is on the part of H(P ) from y counterclocwise to x. It follows that v appears before p [r ] on H(P ) counterclocwise fromy fromexactly thesame arguments asinthecase u =. Lemma. If p [s ] p [r ] or p [s ] p [r ], then T(p [s ],p [s ],p [t]) = for some =, and some index t {s +,...,r }. Proof. Assume that T(p [s ],p [s ],p [r ]) for =,, since otherwise, we are done. Liewise, assume that all of the part P [s,r ] of P from p [s ] to p [r ] is in RHP(p [s ],p [s ]). The part P [s,r ] separates p [s ] from p [r ] in the set W = RHP(p [s ],p [s ]) RHP(p [r ],p [r ]). Since the part P [s,r ] of P from p [s ] to p [r ] cannot cross P [s,r ] or L(p [r ],p [r ]), it must exit and enter W through points on L(p [s ],p [s ]) when followed from p [s ], and hence the claim is true. We can now prove the stated properties of Algorithm 2. Theorem. If the polygons P and P have disjoint convex hulls, Algorithm 2 returns a pair of indices (s,s ) defining an outer common tangent such that P and P are contained in RHP(s,s ). The algorithm runs in linear time and uses constant worspace. Proof. Assume that the pair (s,s ) does not define the outer common tangent. By Lemma, an update of s or s happens when p [r ] or p [r ] is traversed or before. By Lemma 9, the algorithm does not terminate before p [r ] and p [r ] has been traversed. Hence, when the algorithm terminates, (s,s ) defines the outer common tangent. Lie in the proof of Theorem 6, we see inductively that when the final update of s and s happens, there has been at most 2(s +s ) iterations. After that, at most 2n s +2n s iterations follow. Hence, the algorithm terminates after at most 4n +4n iterations.

11 s () s () P P Figure 6: Two polygons P and P where Algorithm 2 does not wor for the initial values of s and s as shown. The correct tangent is drawn as a dashed line. 4 Concluding Remars We have described an algorithm for computing the separating common tangents of two simple polygons in linear time using constant worspace. We have also described an algorithm for computing outer common tangents using linear time and constant worspace when the convex hulls of the polygons are disjoint. Figure 6 shows an example where Algorithm 2 does not wor when applied to two disjoint polygons with overlapping convex hulls. In fact, if there was no bound on the values t and t in the loop at line 2, the algorithm would update s and s infinitely often and never find the correct tangent. An obvious improvement is to find an equally fast and space efficient algorithm which does not require the convex hulls to be disjoint. An algorithm for computing an outer common tangent of two polygons, when such one exists, also decides if one convex hull is completely contained in the other. Together with the algorithm for separating common tangents presented in Section 2, we would have an optimal algorithm for deciding the complete relationship between the convex hulls: if one is contained in the other, and if not, whether they are disjoint or not. However, eeping in mind that it is harder to compute an outer common tangent of intersecting convex polygons than of disjoint ones [8], it would not be surprising if it was also harder to compute an outer common tangent of general simple polygons than simple polygons with disjoint convex hulls when only constant worspace is available. Acnowledgments We would lie to than Mathias Tejs Bæ Knudsen for pointing out the error in the algorithm for separating common tangents in the preliminary version of the paper []. References [] M. Abrahamsen. An optimal algorithm for the separating common tangents of two polygons. In 3st International Symposium on Computational Geometry (SoCG 25), pages

12 [2] M. Abrahamsen. An optimal algorithm computing edge-to-edge visibility in a simple polygon. In Proceedings of the 25th Canadian Conference on Computational Geometry, CCCG, pages 57 62, 23. [3] T. Asano, K. Buchin, M. Buchin, M. Korman, W. Mulzer, G. Rote, and A. Schulz. Memory-constrained algorithms for simple polygons. Computational Geometry: Theory and Applications, 46(8): , 23. [4] T. Asano, W. Mulzer, G. Rote, and Y. Wang. Constant-wor-space algorithms for geometric problems. Journal of Computational Geometry, 2():46 68, 2. [5] L. Barba, M. Korman, S. Langerman, and R.I. Silveira. Computing the visibility polygon using few variables. In Proceedings of the 22nd International Symposium on Algorithms and Computation, ISAAC, volume 74 of Lecture Notes in Computer Science, pages Springer, 2. [6] G.S. Brodal and R. Jacob. Dynamic planar convex hull. In Proceedings of the 43rd annual IEEE Symposium on Foundations of Computer Science, FOCS, pages , 22. [7] R.L. Graham and F.F. Yao. Finding the convex hull of a simple polygon. Journal of Algorithms, 4(4):324 33, 983. [8] Leonidas Guibas, John Hershberger, and Jac Snoeyin. Compact interval trees: A data structure for convex hulls. International Journal of Computational Geometry & Applications, (): 22, 99. [9] J. Hershberger and S. Suri. Applications of a semi-dynamic convex hull algorithm. BIT Numerical Mathematics, 32(2): , 992. [] D. Kirpatric and J. Snoeyin. Computing common tangents without a separating line. In Proceedings of the 4th International Worshop on Algorithms and Data Structures, WADS, volume 955 of Lecture Notes in Computer Science, pages Springer, 995. [] A.A. Melman. On-line construction of the convex hull of a simple polyline. Information Processing Letters, 25(): 2, 987. [2] M.H. Overmars and J. van Leeuwen. Maintenance of configurations in the plane. Journal of Computer and System Sciences, 23(2):66 24, 98. [3] F.P. Preparata and S.J. Hong. Convex hulls of finite sets of points in two and three dimensions. Communications of the ACM, 2(2):87 93, 977. [4] G.T. Toussaint. Solving geometric problems with the rotating calipers. In Proceedings of the IEEE Mediterranean Electrotechnical Conference, MELE- CON, pages A.2/ 4,

An Optimal Algorithm for the Separating Common Tangents of Two Polygons

An Optimal Algorithm for the Separating Common Tangents of Two Polygons An Optimal Algorithm for the Separating Common Tangents of Two Polygons Miel Abrahamsen Department of Computer Science, University of Copenhagen Universitetsparen 5 DK-2 Copanhagen Ø Denmar miab@di.u.d

More information

arxiv: v3 [cs.cg] 16 Jan 2018

arxiv: v3 [cs.cg] 16 Jan 2018 Common Tangents of Two Disjoint Polygons in Linear Time and Constant Workspace arxiv:1601.01816v3 [cs.cg] 16 Jan 2018 MIKKEL ABRAHAMSEN, University of Copenhagen BARTOSZ WALCZAK, Jagiellonian University

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

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 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

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

[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

Polygon Triangulation

Polygon Triangulation Polygon Triangulation Definition Simple Polygons 1. A polygon is the region of a plane bounded by a finite collection of line segments forming a simple closed curve. 2. Simple closed curve means a certain

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

Which n-venn diagrams can be drawn with convex k-gons?

Which n-venn diagrams can be drawn with convex k-gons? Which n-venn diagrams can be drawn with convex k-gons? Jeremy Carroll Frank Ruskey Mark Weston Abstract We establish a new lower bound for the number of sides required for the component curves of simple

More information

Euclidean TSP Between Two Nested Convex Obstacles

Euclidean TSP Between Two Nested Convex Obstacles Euclidean TSP Between Two Nested Convex Obstacles August 11, 2005 Jeff Abrahamson, Dept. of Computer Science, Drexel University, Philadelphia, PA, USA, jeffa@cs.drexel.edu. Ali Shokoufandeh, Dept. of Computer

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

4. Conclusion. 5. Acknowledgment. 6. References

4. Conclusion. 5. Acknowledgment. 6. References [10] F. P. Preparata and S. J. Hong, Convex hulls of finite sets of points in two and three dimensions, Communications of the ACM, vol. 20, pp. 87-93, 1977. [11] K. Ichida and T. Kiyono, Segmentation of

More information

Rubber bands. Chapter Rubber band representation

Rubber bands. Chapter Rubber band representation Chapter 1 Rubber bands In the previous chapter, we already used the idea of looking at the graph geometrically, by placing its nodes on the line and replacing the edges by rubber bands. Since, however,

More information

2017 SOLUTIONS (PRELIMINARY VERSION)

2017 SOLUTIONS (PRELIMINARY VERSION) SIMON MARAIS MATHEMATICS COMPETITION 07 SOLUTIONS (PRELIMINARY VERSION) This document will be updated to include alternative solutions provided by contestants, after the competition has been mared. Problem

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

Tutte s Theorem: How to draw a graph

Tutte s Theorem: How to draw a graph Spectral Graph Theory Lecture 15 Tutte s Theorem: How to draw a graph Daniel A. Spielman October 22, 2018 15.1 Overview We prove Tutte s theorem [Tut63], which shows how to use spring embeddings to obtain

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

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

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

6. Concluding Remarks

6. Concluding Remarks [8] K. J. Supowit, The relative neighborhood graph with an application to minimum spanning trees, Tech. Rept., Department of Computer Science, University of Illinois, Urbana-Champaign, August 1980, also

More information

An almost four-approximation algorithm for maximum weight triangulation

An almost four-approximation algorithm for maximum weight triangulation J Comb Optim (200) 9: 3 42 DOI 0.007/s0878-008-958-9 An almost four-approximation algorithm for maximum weight triangulation Shiyan Hu Published online: 9 April 2008 Springer Science+Business Media, LLC

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

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

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

Touring a Sequence of Line Segments in Polygonal Domain Fences

Touring a Sequence of Line Segments in Polygonal Domain Fences Touring a Sequence of Line Segments in Polygonal Domain Fences Amirhossein Mozafari mozafari@alum.sharif.edu Alireza Zarei zarei@sharif.edu Abstract In this paper, we consider the problem of touring a

More information

Technische Universität München Zentrum Mathematik

Technische Universität München Zentrum Mathematik Technische Universität München Zentrum Mathematik Prof. Dr. Dr. Jürgen Richter-Gebert, Bernhard Werner Projective Geometry SS 208 https://www-m0.ma.tum.de/bin/view/lehre/ss8/pgss8/webhome Solutions for

More information

Cutting out polygons with a circular saw

Cutting out polygons with a circular saw Cutting out polygons with a circular saw Adrian Dumitrescu Masud Hasan April 0, 202 Abstract Given a simple (cuttable) polygon Q drawn on a piece of planar material R, we cut Q out of R by a (small) circular

More information

Three applications of Euler s formula. Chapter 10

Three applications of Euler s formula. Chapter 10 Three applications of Euler s formula Chapter 10 A graph is planar if it can be drawn in the plane R without crossing edges (or, equivalently, on the -dimensional sphere S ). We talk of a plane graph if

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

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

Quasi-Parallel Segments and Characterization of Unique Bichromatic Matchings

Quasi-Parallel Segments and Characterization of Unique Bichromatic Matchings Quasi-Parallel Segments and Characterization of Unique ichromatic Matchings Andrei Asinowski Tillmann Miltzow Günter Rote arxiv:1302.4400v1 [cs.cg] 18 Feb 2013 November 13, 2018 Abstract Given n red and

More information

Prof. Gill Barequet. Center for Graphics and Geometric Computing, Technion. Dept. of Computer Science The Technion Haifa, Israel

Prof. Gill Barequet. Center for Graphics and Geometric Computing, Technion. Dept. of Computer Science The Technion Haifa, Israel Computational Geometry (CS 236719) http://www.cs.tufts.edu/~barequet/teaching/cg Chapter 1 Introduction 1 Copyright 2002-2009 2009 Prof. Gill Barequet Center for Graphics and Geometric Computing Dept.

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

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

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

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

Points covered an odd number of times by translates

Points covered an odd number of times by translates Points covered an odd number of times by translates Rom Pinchasi August 5, 0 Abstract Let T be a fixed triangle and consider an odd number of translated copies of T in the plane. We show that the set of

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

arxiv: v2 [cs.cg] 24 Jul 2011

arxiv: v2 [cs.cg] 24 Jul 2011 Ice-Creams and Wedge Graphs Eyal Ackerman Tsachik Gelander Rom Pinchasi Abstract arxiv:116.855v2 [cs.cg] 24 Jul 211 What is the minimum angle α > such that given any set of α-directional antennas (that

More information

A NOTE ON BLOCKING VISIBILITY BETWEEN POINTS

A NOTE ON BLOCKING VISIBILITY BETWEEN POINTS A NOTE ON BLOCKING VISIBILITY BETWEEN POINTS Adrian Dumitrescu János Pach Géza Tóth Abstract Given a finite point set P in the plane, let b(p) be the smallest number of points q 1,q 2,... not belonging

More information

QUASI-PARALLEL SEGMENTS AND CHARACTERIZATIONS OF UNIQUE BICHROMATIC MATCHINGS

QUASI-PARALLEL SEGMENTS AND CHARACTERIZATIONS OF UNIQUE BICHROMATIC MATCHINGS QUASI-PARALLEL SEGMENTS AND CHARACTERIZATIONS OF UNIQUE ICHROMATIC MATCHINGS Andrei Asinowski, Tillmann Miltzow, and Günter Rote Abstract. Given a set of n blue and n red points in general position in

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

On the Minimum Number of Convex Quadrilaterals in Point Sets of Given Numbers of Points

On the Minimum Number of Convex Quadrilaterals in Point Sets of Given Numbers of Points On the Minimum Number of Convex Quadrilaterals in Point Sets of Given Numbers of Points Hu Yuzhong Chen Luping Zhu Hui Ling Xiaofeng (Supervisor) Abstract Consider the following problem. Given n, k N,

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

Ramsey s Theorem on Graphs

Ramsey s Theorem on Graphs Ramsey s Theorem on Graphs 1 Introduction Exposition by William Gasarch Imagine that you have 6 people at a party. We assume that, for every pair of them, either THEY KNOW EACH OTHER or NEITHER OF THEM

More information

Technische Universität München Zentrum Mathematik

Technische Universität München Zentrum Mathematik Question 1. Incidence matrix with gaps Technische Universität München Zentrum Mathematik Prof. Dr. Dr. Jürgen Richter-Gebert, Bernhard Werner Projective Geometry SS 2016 www-m10.ma.tum.de/projektivegeometriess16

More information

6th Bay Area Mathematical Olympiad

6th Bay Area Mathematical Olympiad 6th Bay Area Mathematical Olympiad February 4, 004 Problems and Solutions 1 A tiling of the plane with polygons consists of placing the polygons in the plane so that interiors of polygons do not overlap,

More information

MAT 3271: Selected Solutions to the Assignment 6

MAT 3271: Selected Solutions to the Assignment 6 Chapter 2: Major Exercises MAT 3271: Selected Solutions to the Assignment 6 1. Since a projective plan is a model of incidence geometry, Incidence Axioms 1-3 and Propositions 2.1-2.5 (which follow logically

More information

Reconstructing Orthogonal Polyhedra from Putative Vertex Sets

Reconstructing Orthogonal Polyhedra from Putative Vertex Sets Reconstructing Orthogonal Polyhedra from Putative Vertex Sets Therese Biedl 1 and Burkay Genc 1 David R. Cheriton School of Computer Science, University of Waterloo, Waterloo ON N2L 3G1, Canada biedl@uwaterloo.ca,

More information

Geometric Algorithms. 1. Objects

Geometric Algorithms. 1. Objects Geometric Algorithms 1. Definitions 2. Line-Segment properties 3. Inner Points of polygons 4. Simple polygons 5. Convex hulls 6. Closest pair of points 7. Diameter of a point set 1. Objects 2-dimensional

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

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

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

Problem Set 3. MATH 776, Fall 2009, Mohr. November 30, 2009

Problem Set 3. MATH 776, Fall 2009, Mohr. November 30, 2009 Problem Set 3 MATH 776, Fall 009, Mohr November 30, 009 1 Problem Proposition 1.1. Adding a new edge to a maximal planar graph of order at least 6 always produces both a T K 5 and a T K 3,3 subgraph. Proof.

More information

Lectures 19: The Gauss-Bonnet Theorem I. Table of contents

Lectures 19: The Gauss-Bonnet Theorem I. Table of contents Math 348 Fall 07 Lectures 9: The Gauss-Bonnet Theorem I Disclaimer. As we have a textbook, this lecture note is for guidance and supplement only. It should not be relied on when preparing for exams. In

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

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

Visibilty: Finding the Staircase Kernel in Orthogonal Polygons

Visibilty: Finding the Staircase Kernel in Orthogonal Polygons American Journal of Computational and Applied Mathematics 2012, 2(2): 17-24 DOI: 10.5923/j.ajcam.20120202.04 Visibilty: Finding the Staircase Kernel in Orthogonal Polygons Stefan A. Pape, Tzvetalin S.

More information

The statement implies that any three intersection points of two distinct planes lie on a line.

The statement implies that any three intersection points of two distinct planes lie on a line. Math 3181 Dr. Franz Rothe February 23, 2015 All3181\3181_spr15ts1.tex 1 Solution of Test Name: Problem 1.1. The second part of Hilbert s Proposition 1 states: Any two different planes have either no point

More information

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( )

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( ) The clique number of a random graph in (,1 2) Let () # -subgraphs in = 2 =:() We will be interested in s.t. ()~1. To gain some intuition note ()~ 2 =2 and so ~2log. Now let us work rigorously. () (+1)

More information

CS522: Advanced Algorithms

CS522: Advanced Algorithms Lecture 1 CS5: Advanced Algorithms October 4, 004 Lecturer: Kamal Jain Notes: Chris Re 1.1 Plan for the week Figure 1.1: Plan for the week The underlined tools, weak duality theorem and complimentary slackness,

More information

The Geodesic Integral on Medial Graphs

The Geodesic Integral on Medial Graphs The Geodesic Integral on Medial Graphs Kolya Malkin August 013 We define the geodesic integral defined on paths in the duals of medial graphs on surfaces and use it to study lens elimination and connection

More information

The angle measure at for example the vertex A is denoted by m A, or m BAC.

The angle measure at for example the vertex A is denoted by m A, or m BAC. MT 200 ourse notes on Geometry 5 2. Triangles and congruence of triangles 2.1. asic measurements. Three distinct lines, a, b and c, no two of which are parallel, form a triangle. That is, they divide the

More information

UNM - PNM STATEWIDE MATHEMATICS CONTEST XLI. February 7, 2009 Second Round Three Hours

UNM - PNM STATEWIDE MATHEMATICS CONTEST XLI. February 7, 2009 Second Round Three Hours UNM - PNM STATEWIDE MATHEMATICS CONTEST XLI February 7, 009 Second Round Three Hours (1) An equilateral triangle is inscribed in a circle which is circumscribed by a square. This square is inscribed in

More information

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( )

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( ) 1 The clique number of a random graph in (,1 2) Let () # -subgraphs in = 2 =:() We will be interested in s.t. ()~1. To gain some intuition note ()~ 2 =2 and so ~2log. Now let us work rigorously. () (+1)

More information

Discrete Mathematics I So Practice Sheet Solutions 1

Discrete Mathematics I So Practice Sheet Solutions 1 Discrete Mathematics I So 2016 Tibor Szabó Shagnik Das Practice Sheet Solutions 1 Provided below are possible solutions to the questions from the practice sheet issued towards the end of the course. Exercise

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

Planar Point Location

Planar Point Location C.S. 252 Prof. Roberto Tamassia Computational Geometry Sem. II, 1992 1993 Lecture 04 Date: February 15, 1993 Scribe: John Bazik Planar Point Location 1 Introduction In range searching, a set of values,

More information

Decreasing the Diameter of Bounded Degree Graphs

Decreasing the Diameter of Bounded Degree Graphs Decreasing the Diameter of Bounded Degree Graphs Noga Alon András Gyárfás Miklós Ruszinkó February, 00 To the memory of Paul Erdős Abstract Let f d (G) denote the minimum number of edges that have to be

More information

arxiv: v2 [cs.cg] 3 May 2015

arxiv: v2 [cs.cg] 3 May 2015 Contact Representations of Graphs in 3D Md. Jawaherul Alam, William Evans, Stephen G. Kobourov, Sergey Pupyrev, Jackson Toeniskoetter, and Torsten Ueckerdt 3 arxiv:50.00304v [cs.cg] 3 May 05 Department

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

[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

arxiv: v1 [math.co] 5 Nov 2010

arxiv: v1 [math.co] 5 Nov 2010 Segment representation of a subclass of co-planar graphs Mathew C. Francis, Jan Kratochvíl, and Tomáš Vyskočil arxiv:1011.1332v1 [math.co] 5 Nov 2010 Department of Applied Mathematics, Charles University,

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

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

Lecture 5: Properties of convex sets

Lecture 5: Properties of convex sets Lecture 5: Properties of convex sets Rajat Mittal IIT Kanpur This week we will see properties of convex sets. These properties make convex sets special and are the reason why convex optimization problems

More information

The following is a summary, hand-waving certain things which actually should be proven.

The following is a summary, hand-waving certain things which actually should be proven. 1 Basics of Planar Graphs The following is a summary, hand-waving certain things which actually should be proven. 1.1 Plane Graphs A plane graph is a graph embedded in the plane such that no pair of lines

More information

THREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions.

THREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions. THREE LECTURES ON BASIC TOPOLOGY PHILIP FOTH 1. Basic notions. Let X be a set. To make a topological space out of X, one must specify a collection T of subsets of X, which are said to be open subsets of

More information

Computational Geometry Algorithmische Geometrie

Computational Geometry Algorithmische Geometrie Algorithmische Geometrie Panos Giannopoulos Wolfgang Mulzer Lena Schlipf AG TI SS 2013 !! Register in Campus Management!! Outline What you need to know (before taking this course) What is the course about?

More information

HW Graph Theory Name (andrewid) - X. 1: Draw K 7 on a torus with no edge crossings.

HW Graph Theory Name (andrewid) - X. 1: Draw K 7 on a torus with no edge crossings. 1: Draw K 7 on a torus with no edge crossings. A quick calculation reveals that an embedding of K 7 on the torus is a -cell embedding. At that point, it is hard to go wrong if you start drawing C 3 faces,

More information

Computational Geometry: Lecture 5

Computational Geometry: Lecture 5 Computational Geometry: Lecture 5 Don Sheehy January 29, 2010 1 Degeneracy In many of the algorithms that we have discussed so far, we have run into problems when that input is somehow troublesome. For

More information

Ma/CS 6b Class 26: Art Galleries and Politicians

Ma/CS 6b Class 26: Art Galleries and Politicians Ma/CS 6b Class 26: Art Galleries and Politicians By Adam Sheffer The Art Gallery Problem Problem. We wish to place security cameras at a gallery, such that they cover it completely. Every camera can cover

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

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

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

Wolfgang Mulzer Institut für Informatik. Computational Geometry with Limited Work-Space: State of the Art and Challenges

Wolfgang Mulzer Institut für Informatik. Computational Geometry with Limited Work-Space: State of the Art and Challenges Wolfgang Mulzer Institut für Informatik Computational Geometry with Limited Work-Space: State of the Art and Challenges Algorithms with Limited Work-Space Today s software is versatile, fast, and BIG.

More information

The Farey Tessellation

The Farey Tessellation The Farey Tessellation Seminar: Geometric Structures on manifolds Mareike Pfeil supervised by Dr. Gye-Seon Lee 15.12.2015 Introduction In this paper, we are going to introduce the Farey tessellation. Since

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

Math 777 Graph Theory, Spring, 2006 Lecture Note 1 Planar graphs Week 1 Weak 2

Math 777 Graph Theory, Spring, 2006 Lecture Note 1 Planar graphs Week 1 Weak 2 Math 777 Graph Theory, Spring, 006 Lecture Note 1 Planar graphs Week 1 Weak 1 Planar graphs Lectured by Lincoln Lu Definition 1 A drawing of a graph G is a function f defined on V (G) E(G) that assigns

More information

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME PLANAR GRAPH BIPARTIZATION IN LINEAR TIME SAMUEL FIORINI, NADIA HARDY, BRUCE REED, AND ADRIAN VETTA Abstract. For each constant k, we present a linear time algorithm that, given a planar graph G, either

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

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

Minimum-Area Rectangle Containing a Set of Points

Minimum-Area Rectangle Containing a Set of Points Minimum-Area Rectangle Containing a Set of Points David Eberly, Geometric Tools, Redmond WA 98052 https://www.geometrictools.com/ This work is licensed under the Creative Commons Attribution 4.0 International

More information

Approximate Algorithms for Touring a Sequence of Polygons

Approximate Algorithms for Touring a Sequence of Polygons Approximate Algorithms for Touring a Sequence of Polygons Fajie Li 1 and Reinhard Klette 2 1 Institute for Mathematics and Computing Science, University of Groningen P.O. Box 800, 9700 AV Groningen, The

More information

arxiv: v1 [math.co] 2 Nov 2018

arxiv: v1 [math.co] 2 Nov 2018 On the sets of n points forming n+1 directions Cédric Pilatte October, 2018 arxiv:1811.01055v1 [math.co] 2 Nov 2018 Abstract Let S be a set of n 7 points in the plane, no three of which are collinear.

More information

arxiv: v1 [cs.cg] 28 Mar 2012

arxiv: v1 [cs.cg] 28 Mar 2012 Circle separability queries in logarithmic time Greg Aloupis Luis Barba Stefan Langerman arxiv:1203.6266v1 [cs.cg] 28 Mar 2012 Abstract Let P be a set of n points in the plane. In this paper we study a

More information

arxiv: v1 [math.co] 7 Dec 2018

arxiv: v1 [math.co] 7 Dec 2018 SEQUENTIALLY EMBEDDABLE GRAPHS JACKSON AUTRY AND CHRISTOPHER O NEILL arxiv:1812.02904v1 [math.co] 7 Dec 2018 Abstract. We call a (not necessarily planar) embedding of a graph G in the plane sequential

More information

T. Biedl and B. Genc. 1 Introduction

T. Biedl and B. Genc. 1 Introduction Complexity of Octagonal and Rectangular Cartograms T. Biedl and B. Genc 1 Introduction A cartogram is a type of map used to visualize data. In a map regions are displayed in their true shapes and with

More information

Drawing cubic graphs with at most five slopes

Drawing cubic graphs with at most five slopes Drawing cubic graphs with at most five slopes B. Keszegh, J. Pach, D. Pálvölgyi, and G. Tóth Abstract We show that every graph G with maximum degree three has a straight-line drawing in the plane using

More information