Computing the Convex Hull of. W. Hochstattler, S. Kromberg, C. Moll

Size: px
Start display at page:

Download "Computing the Convex Hull of. W. Hochstattler, S. Kromberg, C. Moll"

Transcription

1 Reort No A new Linear Time Algorithm for Comuting the Convex Hull of a Simle Polygon in the Plane by W. Hochstattler, S. Kromberg, C. Moll 994 W. Hochstattler, S. Kromberg, C. Moll Universitat zu Koln Weyertal D{5093 Koln Germany Telefon (0) 470{60 (603) e{mail WH@MI.UNI-KOELN.DE SK@MI.UNI-KOELN.DE CM@MI.UNI-KOELN.DE

2 99 Mathematics Subject Classication: 68U05, 5N0 Keywords: convex hull, linear time algorithm, simle olygon, lanar geometry

3 A new Linear Time Algorithm for Comuting the Convex Hull of a Simle Polygon in the Plane W. Hochstattler, S. Kromberg, C. Moll Abstract The roblem of determining the convex hull of a simle olygon has received a lot of attention in the early eighties. The rst linear time algorithm for this task roosed by Sklansky in [S7] was based on the simle idea of removing all left turns while moving around the olygon in clockwise orientation. This algorithm was shown to fail in some cases. Since then several correct, yet more comlicated linear algorithms have been ublished and classes of olygons have been determined for which Sklansky's original algorithm can be used. In our note we show how to mend Sklansky's Algorithm in a simle way and rove the correctness of the resulting algorithm. As an alication we show how to comute a rectangle of smallest area containing a given simle olygon in linear time. Introduction The roblem of determining the convex hull of a simle olygon has received a lot of attention in the early eighties. The rst linear time algorithm for this task was roosed by Sklansky in [S7]. Sklansky's Algorithm can be described as follows: Start at an extreme oint of the olygon. Delete all left turns while moving around the olygon in clockwise direction. After each ste backtrack until the ath from the starting oint to the oint currently considered given by the not (yet) deleted oints has right turns only. The asset of this algorithm is the simlicity of its idea and that it requires only a minimum amount of global information about the given simle olygon in advance { its orientation and an extreme oint. Its idea is based on the observation that at each left turn q of a simle clockwise oriented olygon there exists a line segment containing q whose extremities are oints belonging to the interior of the olygon so that q cannot be an extreme oint of the convex hull of the olygon (see Figure ). The roblem with Sklansky's Algorithm is that it may return a non{simle olygon and that it hence fails in some cases. An examle it fails on is given in Figure. Note that there also is a local reason for the failure of Sklansky's Algorithm on the examle given in Figure. Although the original olygon had a left turn at and hence cannot be an extreme oint of the convex hull of the olygon, the olygon stored at the time the

4 q Figure : A counterexamle to Sklansky's Algorithm algorithm rocesses has a right turn at and hence is not deleted. On this examle Sklansky's Algorithm thus in a sense violates its very idea. The algorithm resented in this note sulements Sklansky's algorithm in a simle way assuring that the ath u to the currently considered oint reresented by the oints which have been tentatively acceted as extreme oints is always simle and consists of right turns only. Like Sklansky's and dierent from other (correct) O(n)-algorithms for comuting the convex hull of a simle olygon our algorithm only requires that the simle olygon be given in clockwise orientation and that the starting oint is known to be an extreme oint of the convex hull. From then on the decision whether or not to delete a oint is based solely on local information. Our algorithm thus can not only be regarded as being simler than the algorithms in [MA79], [GS83], [BE84], it also rovides new insight into the structure of the roblem. Denitions and Notation In this note the term oint refers to a oint in the Euclidean lane reresented by its coordinates. For two oints = (x; y) and q = (x 0 ; y 0 ) in the lane [; q] denotes the line segment f + (? )q j [0; ]g and det(; q) denotes xy 0? x 0 y. If and q are dierent, L(; q) denotes the directed line through and q directed from to q. We say a oint r is to the right of (resectively on, left of) L(; q) if det(? q; r? q) is ositive (resectively zero, negative) and denote by H(; q) the halfsace of oints on or to the right of L(; q). The term olygon refers to a iecewise linear closed curve in the lane. A olygon is reresented by a sequence P = : : : n of oints in the order they are encountered as the curve is traversed, it being understood that for i n the curve traverses [ i ; i+ ]

5 i j tail (a) tail K P ( i, j ) (b) head head run Figure : Some K P ( i ; j ) from i to i+ (indices read modulo n). The oints i ( i n) are referred to as the turn oints of the olygon, i is a right turn (resectively left turn) or a convex turn oint (resectively reex turn oint) of P if i+ is to the right (resectively left) of L( i? ; i ). A olygon is convex if all its turn oints are convex. Given a olygon P = : : : n and i; j f; : : :; ng, we let P ath P ( i ; j ) denote the ath in P from i to j which follows the orientation of P. P ath P ( i ; j ) is convex if all turn oints dierent from i and j that are visited by the ath are convex turn oints of P. If P ath P ( i ; j ) is simle and all turn oints visited by the ath are contained in H( i ; j ), we let K P ( i ; j ) denote the union of the bounded regions enclosed by the olygon i i+ : : : j and its boundary. A few examles are shown in Figure. The convex hull of a set S of oints is denoted by conv(s). It is well known that conv(s) is a (convex) olyhedron, if S is nite. The vertices of the olyhedron conv(s) are also called extreme oints of conv(p ). The set of extreme oints is uniquely characterized as the minimal subset E of S with conv(e) = conv(s). A simle olygon is clockwise oriented if its interior lies to the right as the olygon is traversed. It follows from the Jordan Curve theorem that for a simle clockwise oriented olygon P = : : : n the boundary of its convex hull is reresented by the subsequence of extreme oints of : : : n. 3

6 inut: A sequence of oints : : : n stored in a doubly linked list reresenting a clockwise oriented simle olygon with the roerty that is an extreme oint of conv(p ) outut:a subsequence i (= ) : : : ik reresenting the simle convex olygon that is the boundary of conv(p ) () run := succ() () if run = sto (3) if succ( run ) is to the right of L(red( run ); run ) then (4) run := succ( run ) and go to () (5) else (6) head := succ( run ) tail := red( run ) (7) if head is on or to the left of L(red( tail ); tail ) then (8) tail := red( tail ) and go to (7) (9) L 0 := L( tail ; head ) (0) if succ( head ) is on or to the right of L 0 and to the left of L(red( head ); head ) then () head := succ( head ) () if head is on or to the right of L 0 then go to () (3) else go to (7) (4) succ( tail ) := head red( head ) := tail (5) run := head and go to () 3 The Algorithm Figure 3: The Algorithm We now give an informal descrition of our algorithm ointing out where it sulements Sklansky's algorithm. The algorithm requires that the inut olygon is given in clockwise orientation and that the starting oint is an extreme oint of the convex hull. As, however, it is easy to nd such a oint and determine the orientation of a simle olygon in linear time, this assumtion does not restrict its generality. The inut olygon is stored in a doubly linked list S. During oeration the algorithm deletes oints from S. When it stos the contents of S reresents the simle convex olygon that is the boundary of the convex hull of the inut olygon. At any time during oeration our algorithm kees a variable run set to some turn oint of the inut olygon P. At run we do not have that the currently stored olygon has a right turn at run while the original olygon had a left turn at run. We leave S unchanged and move to the next oint, if the currently stored olygon has a right turn at run. If not, we initialize head to the successor of the currently considered oint run and tail to its redecessor. Now we alternate two stes as follows (see Figure ): (a) If the ath given by the (current) redecessors of tail followed by head has a left turn at tail, we backtrack tail until the resulting ath has right turns only. (b) If the successor of head belongs to K P ( tail ; head ), i.e. lies inside the olygon formed by the original ath from tail to head and [ tail ; head ], we advance head to the rst 4

7 (ii) q (iii) s S r q Figure 4: The situations considered in Lemma ((ii) & (iii)) oint outside of this olygon. If none of the two conditions holds, we remove the oints between tail and head and set run to head. The algorithm stos once it reaches the starting oint. 4 Correctness of the Algorithm The roof of the correctness of our algorithm is based on the following two lemmas. In the rst lemma we collect the facts from lanar geometry we need. Most imortant for our uroses is the contents of Lemma (ii) a icture of which is given in Figure 4. The second lemma contains crucial observations about certain subsequences of the inut sequence of our algorithm occurring during oeration which lead to a roof of the correctness of our algorithm. In what follows we abbreviate K P ( i ; j ) by K( i ; j ). Lemma Let s and P = : : : s be a sequence of airwise distinct oints. (i) If is an extreme oint of conv(p ) and P ath P ( ; s ) is convex then P ath P ( ; s ) is simle i 8 3 i s 8 j i? : i is to the right of L( j ; j+ ). (ii) If P ath P ( ; s ) is simle, i is on or to the right of L( ; s ) for all i s and and q are oints such that is on or to the right of L( ; s ), = K( ; s ) and [; q] \ K( ; s ) 6= ; then also [; q] \ [ i ; i+ ] 6= ; for some i s?. (iii) Let S denote a directed line, H the halfsace of oints on or to the right of S and let ; q; r be three oints such that is on S, q and r are to the right of S and r is on or to the left of L(; q). Then H \ H(; q) H \ H(; r). 5

8 Lemma Let P = : : : n be the inut olygon of the algorithm. (a) If P 0 = i : : : ik of either ( i < i < : : : < i k n) denotes the subsequence of P consisting or the currently stored redecessors of run (= ik ) in line () the currently stored redecessors of tail (= ik? ) followed by head (= ik ) in line (9), then the following holds: (i) i =, k and i is to the right of L( n ; ) (ii) P ath P 0( i ; ik ) is simle and convex, (iii) 8 k? : P ath P ( i ; i+ ) T = H( i ; i+ ), (iv) 8 k 8? : i = K( i ; i+ ), (v) all oints j that were discarded (i.e. j i k ; j = P 0 ) are not extreme oints of conv(p ). If ik = run, we furthermore have that (vi) succ( run ) = K( ik? ; ik ): (b) The algorithm stos. If P 0 = i : : : ik the list when the algorithm stos, then ( i < i < : : : < i k n) is the contents of (i) i = and k 3, (ii) P 0 reresents a simle convex olygon, (iii) all oints that were discarded are not extreme oints of conv(p ). Proof. The roof is by induction. Initially run =, is the current sequence of redecessors of run and (i){(vi) hold trivially. Let P 0 = i : : : ik denote a subsequence of P of the kind considered in (a) and suose (i){(vi), resectively (i){(v) hold. From the assumtion that is an extreme oint of conv(p ) it follows that there exists a directed line containing such that all turn oints of P dierent from are to the right of that line. Let L denote some such line and let H be the half lane of oints on or to the right of L. We have to consider every situation that might ossibly occur when the algorithm asses line (9) or (). The case requiring the most involved roof occurs when the algorithm iterates stes () and (). As in all other cases the roof of (i)-(vi) (res. (i)-(v)) is either trivial or uses the same arguments we only give a roof for this case. Thus, suose we have that ik = head ; ik? = tail, ik + = succ( head ) K( ik? ; ik ) and (i){(v) hold. Observe that from the simlicity of P it follows that we have ik + K( ik? ; ik ) if and only if ik + is on or to the right of L( ik? ; ik ) and to the left of L( ik?; ik ). In the situation considered the algorithm starts iterating lines () and () 6

9 (a) (b) s (c) n i + i i - k i k j L H() L n Figure 5: Situations considered in the roof of Lemma until the new head is to the left of L( ik? ; ik ). Thus, we rst have to show that there always exists s fi k ; : : :; n; g such that s is to the left of L( ik? ; ik ). As the boundary of K( ik? ; ik ) consists { with the excetion of [ ik? ; ik ] { of edges of the original olygon P, it suces to show that we cannot have f r+ ; r+ ; : : :; n ; g K( ik? ; ik ): If this were the case, it would follow that we must have = i k? since is assumed to be an extreme oint of conv(p ) and hence [ n ; ] K( ; i ) (See Figure 5 (a)). This, however, would imly that n is to the left of L( ; ) contradicting the assumtion that P is clockwise oriented. Thus, either there exists n s > r + such that s = K( ik? ; ik ) or f r+ ; : : :; n g K( ik? ; ik ) and = K( ik? ; ik ). We consider the two cases searately. Case (): 9 i k < s n : s = K( ik? ; ik ) In this situation the algorithm udates head to s where s is smallest between i k and n such that s = K( ik? ; ik ), and backtracks tail. First we claim that tail is not backtracked beyond. If s = n the claim follows from inductive assumtion (i). Thus, suose s 6= n and s is on or to the left of L( i ; i ). Then by inductive assumtion we are in the situation of Lemma (iii), where L is as above (see Figure 5 (b)). Hence s is to the right of L( n ; ). Thus, the sequence to consider is P 00 = i : : : ik 0 s where k 0 k? and the new tail = ik 0. By what already has been shown this sequence satises (i). In order to show (iv) we rst claim that j = K( i ; i+ ) for all i k j < s and all k 0?. This holds for i k by inductive assumtion (iv) and follows inductively for 7

10 the other j using Lemma (ii) and j K( ik? ; ik ) conv(f j i k? i k g) k\ 0? = H( i ; i+ ); by inductive assumtion (iii). (See Figure 5 (c)). Another alication of Lemma (ii) then also roves s = K( i ; i+ ) for all k 0? and hence (iv). Now, suose P ath P 00 ( i ; s ) is not simle, i.e. there exists < k 0? such that [ ik 0 ; s ] \ [ i ; i+ ] 6= ;: We then by (iv) and inductive assumtion (ii) { using Lemma (i) { have that s is not contained in the olyhedron H \ k\ 0? = H( i ; i+ ): The one{dimensional faces of this olyhedron are line segments contained in either L, or [ i ; i+ ] ( k 0? ), or L( ik 0? ; ik 0). As it follows from inductive assumtion (iii) that s? is contained in the interior of this olyhedron we therefore must have that [ s? ; s ] meets some one{dimensional face of this olyhedron in a oint dierent from s? and s. As both of these oints are contained in H and H( ik 0? ; ik 0) we deduce that we must have [ i ; i+ ] \ [ s? ; s ] 6= ; for some < k 0? and hence K( i ; i+ ) \ [ s? ; s ] 6= ; for some < k 0? : Using Lemma (ii) this contradicts the simlicity of P. As P ath P 00( i ; s ) is also convex by construction we thus get (ii). An alication of Lemma (iii) with = ik 0 ; q = ik 0 + ; r = s and S = L( ik 0? ; ik 0 ) in case k 0, resectively S = L in case k 0 = then also shows (iii) for P 00 (See Figure 6 (d)). In order to rove (v) we only have to to show that i is not an extreme oint of conv(p ) for all k 0 < k the claim being clear from (iii) for the other oints. Suose to the contrary that i is an extreme oint. Let j denote its redecessor in the subsequence of P reresenting the boundary of the convex hull. By inductive assumtion (v) we have j = i for some <. Since for? it follows from inductive assumtion (ii) that i+ is to the left of L( i ; i ) we must have that j = i?. But as s is on or to the left of L( i? ; i ) and s = [ i? ; i ] by (iv) which already has been roved we have reached a contradiction to the fact that P is all on or to the right of L( i? ; i ), which suorts a face of conv(p ). Case (): f ik : : : n g K( ik? ; ik ) and = K( ik? ; ik ) In this situation the algorithm udates head to and backtracks tail. Dierent from case () we have to argue that at least three oints stay in the list. Since [ n ; ]\[ ik? ; ik ] 6= ; and n is on or to the right of L( ik? ; ik ) and is to the left of L( ik? ; ik ) we must have that ik? is to the left of L( n ; ). Hence, since all oints are to the right of L the oint ik 0 that tail is backtracked to is to the left of L( n ; ), too, and therefore by inductive assumtion (i) we get that ik 0 is to the right of L( ; i ) and k 0 3. We also get that for 8

11 (d) r (e) q S i k n ik- tail Figure 6: Situations considered in the roof of Lemma the new head = and tail = ik 0 that succ( head ) = i is to the right of L( tail ; head ) and to the right of L(red( head ; head )) since red( head ) = n (See Figure 6 (e)). Hence run is udated to and the algorithm stos. That the sequence i i : : : ik 0 the algorithm returns reresents a simle olygon follows by the same arguments given above to rove simlicity of the ath considered in case (). Again this olygon is convex by construction. That all oints discarded cannot be extreme oints of conv(p ) also follows similarly as above. Theorem The algorithm nds the convex hull of a simle olygon in linear time. Proof. The oerativeness of the algorithm was shown in Lemma. It has linear running time since for every constant time oeration we either move one oint further or discard a oint and oints once discarded are never considered again. 5 An Alication: Comuting the Smallest Box Containing a Simle Polygon in Linear Time Our original interest in linear time algorithms for comuting the convex hull of a simle olygon arose from the following cutting stock roblem. We have to cut work ieces of a olygonal shae from some sheet. In a rst ste the sheet is rocessed by a machine able to cut vertically or horizontally only. This yields the roblem of determining a rectangle of least ossible area containing a given simle olygon. In order to show that this is ossible in linear time it suces { by what has already been shown { to show that one can nd a 9

12 rectangle of smallest area containing a given simle convex olygon in linear time, as any rectangle containing a set of oints in the lane must also contain their convex hull. Given a oint and a line (-segment) M in the lane we say that covers M, if M. Crucial for the solution of the task at hand is the following roosition. Proosition Let P be a simle convex olygon in the lane. If R is a rectangle of minimum area circumscribing P, then at least one edge of P is contained in the boundary of R. Proof. Since R is assumed to be of least area containing P we obviously must have that each of the four edges of R is covered by at least one of the turn oints of P. The claim follows, if we show that some edge of R is covered by two turn oints of P. Thus, we have to show that none of the following situations occurs for a rectangle of smallest ossible area circumscribing P : () Exactly four turn oints ; ; 3 ; 4 of P are contained in the boundary of R and every edge of R is covered by exactly one of the i. () There are exactly three turn oints of P contained in the boundary of R one of which equals a vertex of R and the other two each cover exactly one of the two edges of R not containing that vertex. (3) Two oosite vertices of R are turn oints of P and no other turn oint of P is contained in the boundary of R. Suose () holds and consider the convex quadrangle Q whose vertices are the i. The situation is shown in gure 7 and we use the notation given there. The volume of Q is x. Hence, the area vol(r) of R is minimal if and only if the sum of the areas of the four triangles ( i ; r i ; i+ ); i = ; ; 3; 4 (indices read modulo 4) is minimal. Each of these triangles has area given by If we choose = as free arameter then Hence vol(r) = f() = vol(q) + 4 l i sin( i ) cos( i ) = 4 l i sin( i ): =? + 3 =?? + 4 = 3??? 3 + : 4X i= 0 Xi? l i + (i? )? Considering the second derivative of this we nd 0 4X Xi? f 00 () =? l i + (i? )? i= 0 j= j A : j= j A :

13 r ax? a?? 4??? l l 4 4 aaaaaaaaaaaa x 3 x??? XXXX l 3 X l XXXXXXXXX x 3 r r 3 Figure 7: The situation in the roof of roosition 3 r 4 4 But this exression is strictly negative since each of the i ]0; [. As, by assumtion, can vary in both directions R cannot be a rectangle of minimum area circumscribing Q and a fortiori not a rectangle of least ossible area circumscribing P contradicting the assumtion. The cases () and (3) are done along the same line. We now briey describe how roosition yields a linear time algorithm for determining a rectangle of least ossible area containing a given simle convex olygon. Similar O(n)- algorithms are described in [FS83] and [MS] Let P = : : : n reresent a simle clockwise oriented convex olygon and let e i = [ i ; i+ ] denote the edges of P. For the rectangle R i of least ossible area containing P that contains e i on its boundary let f ij ( j 4) denote the four edges of R i listed in clockwise order where e i f i. From Proosition we know that among the R i there is a rectangle of smallest ossible area containing P. Traversing P in clockwise orientation starting at i let l i denote the rst turn oint of P encountered that lies on f i, u i the rst turn oint of P on f i3 and r i the rst turn oint of P on f i4. Note that R i is uniquely determined by (e i ; l i ; u i ; r i ) and that its reresentation as the sequence of its vertices listed in clockwise order and its area may be comuted in constant time from these data. We have that j = l i () ( i+? i ) T ( j+? j ) 0 and ( i+? i ) T ( j? j? ) > 0; j = u i () det( i+? i ; j+? j ) 0 and det( i+? i ; j? j? ) < 0; j = r i () ( i+? i ) T ( j+? j ) 0 and ( i+? i ) T ( j? j? ) < 0: If l = j, we furthermore have that there exists some < k n and some subsequence j j : : : jk of j j + : : : n : : : j? j such that the sequence l : : : l n equals j : : : j j : : : j : : : jk : : : jk. It follows that, given l, it is ossible to comute the sequence l : : :l n in O(n). In fact, this sequence can be determined by comuting at most n of the n dot roducts considered in the characterisation of the l i above. Similarly, given u, resectively r, it is ossible to determine the sequences u : : :u n and r : : : r n in linear time. As it obviously is also ossible to comute (e ; l ; u ; r ) in O(n) it follows from the above

14 discussion that one may nd all (e i ; l i ; u i ; r i ) in linear time and hence the R i of least ossible area may be determined in linear time, too. Note: After nishing the aer we learned about the linear time algorithm for determining the convex hull of a simle olygon by Graham and Yao [GY83] that we missed while doing the research. That algorithm avoids the roblems of Sklansky's algorithm in exactly the same way our does, i.e. when running into a K P ( i ; j ) { in [GY83] suggestively called a \ocket" { the currently considered turn oint is advanced to the rst turn oint outside of the ocket. However, although the main idea is the same that algorithm diers from ours in that it avoids \curling in" by using a air of antiodal extreme oints one of which is the starting oint for the rocessing and the other is used in each iteration of the outer loo to determine a second scanline. The consequence of this dierence is that our algorithm should be faster than Graham and Yao's on inut olygons that are \close" to being convex already. In articular, if the inut olygon is convex, our algorithm detects this by considering each turn oint exactly once while the algorithm from [GY83] considers each turn oint twice { once for each of the two scan lines. On the other hand, our algorithm does sueruous work on each instance of \curling in" as in these situations it rst tentatively accets turn oints and discards them later while the algorithm from [GY83] discards these oints right away. References [BE84] B. Bhattacharya, H. Elgindy: A new Linear Convex Hull Algorithm for Simle Polygons. IEEE Trans. Inform. Theory, vol. IT-30, no. 85 { 88, 984 [FS83] H. Freeman, R. Shaira: Determining the Minimum-Area Encasing Rectangle for an Arbitrary Closed Curve. Comm. ACM, 8 (7), 409 { 43, 975 [GS83] S. Ghosh, R. Shyamasundar: A Linear Time Algorithm for Obtaining the Convex Hull of a Simle Polygon. Patt. Recogn., vol. 6, no. 6, 587 { 59, 983 [GY83] R. Graham, F. Yao: Finding the Convex Hull of a Simle Polygon. J. Algo. 4, 34 { 33, 983 [MS] R. Martin, P. Stehenson: Containment Algorithms for Objects in Rectangular Boxes. rerint [MA79] D. McCallum, D. Avis: A Linear Algorithm for Finding the Convex Hull of a Simle Polygon. Inform. Proc. Lett., vol. 9, no. 5, 0 { 06, 979 [S7] J. Sklansky: Measuring concavity on a rectangular mosaic., 355 { 364, 97 IEEE Trans. Comut.

Lecture 3: Geometric Algorithms(Convex sets, Divide & Conquer Algo.)

Lecture 3: Geometric Algorithms(Convex sets, Divide & Conquer Algo.) Advanced Algorithms Fall 2015 Lecture 3: Geometric Algorithms(Convex sets, Divide & Conuer Algo.) Faculty: K.R. Chowdhary : Professor of CS Disclaimer: These notes have not been subjected to the usual

More information

Convex Hulls. Helen Cameron. Helen Cameron Convex Hulls 1/101

Convex Hulls. Helen Cameron. Helen Cameron Convex Hulls 1/101 Convex Hulls Helen Cameron Helen Cameron Convex Hulls 1/101 What Is a Convex Hull? Starting Point: Points in 2D y x Helen Cameron Convex Hulls 3/101 Convex Hull: Informally Imagine that the x, y-lane is

More information

Cross products. p 2 p. p p1 p2. p 1. Line segments The convex combination of two distinct points p1 ( x1, such that for some real number with 0 1,

Cross products. p 2 p. p p1 p2. p 1. Line segments The convex combination of two distinct points p1 ( x1, such that for some real number with 0 1, CHAPTER 33 Comutational Geometry Is the branch of comuter science that studies algorithms for solving geometric roblems. Has alications in many fields, including comuter grahics robotics, VLSI design comuter

More information

CMSC 425: Lecture 16 Motion Planning: Basic Concepts

CMSC 425: Lecture 16 Motion Planning: Basic Concepts : Lecture 16 Motion lanning: Basic Concets eading: Today s material comes from various sources, including AI Game rogramming Wisdom 2 by S. abin and lanning Algorithms by S. M. LaValle (Chats. 4 and 5).

More information

Cross products Line segments The convex combination of two distinct points p

Cross products Line segments The convex combination of two distinct points p CHAPTER Comutational Geometry Is the branch of comuter science that studies algorithms for solving geometric roblems. Has alications in many fields, including comuter grahics robotics, VLSI design comuter

More information

COT5405: GEOMETRIC ALGORITHMS

COT5405: GEOMETRIC ALGORITHMS COT5405: GEOMETRIC ALGORITHMS Objects: Points in, Segments, Lines, Circles, Triangles Polygons, Polyhedra R n Alications Vision, Grahics, Visualizations, Databases, Data mining, Networks, GIS Scientific

More information

We will then introduce the DT, discuss some of its fundamental properties and show how to compute a DT directly from a given set of points.

We will then introduce the DT, discuss some of its fundamental properties and show how to compute a DT directly from a given set of points. Voronoi Diagram and Delaunay Triangulation 1 Introduction The Voronoi Diagram (VD, for short) is a ubiquitious structure that aears in a variety of discilines - biology, geograhy, ecology, crystallograhy,

More information

arxiv: v1 [math.gt] 1 May 2018

arxiv: v1 [math.gt] 1 May 2018 CIRCUIT PRESENTATION AND LATTICE STICK NUMBER WITH EXACTLY 4 z-sticks HYOUNGJUN KIM AND SUNGJONG NO arxiv:805.0023v [math.gt] May 208 Abstract. The lattice stick number s L(L) of a link L is defined to

More information

The Edge-flipping Distance of Triangulations

The Edge-flipping Distance of Triangulations The Edge-fliing Distance of Triangulations Sabine Hanke (Institut für Informatik, Universität Freiburg, Germany hanke@informatik.uni-freiburg.de) Thomas Ottmann (Institut für Informatik, Universität Freiburg,

More information

Constrained Empty-Rectangle Delaunay Graphs

Constrained Empty-Rectangle Delaunay Graphs CCCG 2015, Kingston, Ontario, August 10 12, 2015 Constrained Emty-Rectangle Delaunay Grahs Prosenjit Bose Jean-Lou De Carufel André van Renssen Abstract Given an arbitrary convex shae C, a set P of oints

More information

Lecture 2: Fixed-Radius Near Neighbors and Geometric Basics

Lecture 2: Fixed-Radius Near Neighbors and Geometric Basics structure arises in many alications of geometry. The dual structure, called a Delaunay triangulation also has many interesting roerties. Figure 3: Voronoi diagram and Delaunay triangulation. Search: Geometric

More information

Randomized algorithms: Two examples and Yao s Minimax Principle

Randomized algorithms: Two examples and Yao s Minimax Principle Randomized algorithms: Two examles and Yao s Minimax Princile Maximum Satisfiability Consider the roblem Maximum Satisfiability (MAX-SAT). Bring your knowledge u-to-date on the Satisfiability roblem. Maximum

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

Lecture 8: Orthogonal Range Searching

Lecture 8: Orthogonal Range Searching CPS234 Comutational Geometry Setember 22nd, 2005 Lecture 8: Orthogonal Range Searching Lecturer: Pankaj K. Agarwal Scribe: Mason F. Matthews 8.1 Range Searching The general roblem of range searching is

More information

Curve Reconstruction taken from [1]

Curve Reconstruction taken from [1] Notes by Tamal K. Dey, OSU 47 Curve Reconstruction taken from [1] The simlest class of manifolds that ose nontrivial reconstruction roblems are curves in the lane. We will describe two algorithms for curve

More information

Directed File Transfer Scheduling

Directed File Transfer Scheduling Directed File Transfer Scheduling Weizhen Mao Deartment of Comuter Science The College of William and Mary Williamsburg, Virginia 387-8795 wm@cs.wm.edu Abstract The file transfer scheduling roblem was

More information

Theoretical Analysis of Graphcut Textures

Theoretical Analysis of Graphcut Textures Theoretical Analysis o Grahcut Textures Xuejie Qin Yee-Hong Yang {xu yang}@cs.ualberta.ca Deartment o omuting Science University o Alberta Abstract Since the aer was ublished in SIGGRAPH 2003 the grahcut

More information

Fundamentals of Restricted-Orientation Convexity

Fundamentals of Restricted-Orientation Convexity Fundamentals of Restricted-Orientation Convexity Eugene Fink Derick Wood Abstract A restricted-orientation convex set, also called an O-convex set, is a set of oints whose intersection with lines from

More information

An Efficient Video Program Delivery algorithm in Tree Networks*

An Efficient Video Program Delivery algorithm in Tree Networks* 3rd International Symosium on Parallel Architectures, Algorithms and Programming An Efficient Video Program Delivery algorithm in Tree Networks* Fenghang Yin 1 Hong Shen 1,2,** 1 Deartment of Comuter Science,

More information

Relations with Relation Names as Arguments: Algebra and Calculus. Kenneth A. Ross. Columbia University.

Relations with Relation Names as Arguments: Algebra and Calculus. Kenneth A. Ross. Columbia University. Relations with Relation Names as Arguments: Algebra and Calculus Kenneth A. Ross Columbia University kar@cs.columbia.edu Abstract We consider a version of the relational model in which relation names may

More information

Taut ideal triangulations of 3-manifolds

Taut ideal triangulations of 3-manifolds Abstract Taut ideal triangulations of 3-manifolds Marc Lackenby Mathematical Institute, Oxford University, 24-29 St Giles, Oxford OX1 3LB, UK Email: lackenby@maths.ox.ac.uk A taut ideal triangulation of

More information

Space-efficient Region Filling in Raster Graphics

Space-efficient Region Filling in Raster Graphics "The Visual Comuter: An International Journal of Comuter Grahics" (submitted July 13, 1992; revised December 7, 1992; acceted in Aril 16, 1993) Sace-efficient Region Filling in Raster Grahics Dominik Henrich

More information

521493S Computer Graphics Exercise 3 (Chapters 6-8)

521493S Computer Graphics Exercise 3 (Chapters 6-8) 521493S Comuter Grahics Exercise 3 (Chaters 6-8) 1 Most grahics systems and APIs use the simle lighting and reflection models that we introduced for olygon rendering Describe the ways in which each of

More information

GEOMETRIC CONSTRAINT SOLVING IN < 2 AND < 3. Department of Computer Sciences, Purdue University. and PAMELA J. VERMEER

GEOMETRIC CONSTRAINT SOLVING IN < 2 AND < 3. Department of Computer Sciences, Purdue University. and PAMELA J. VERMEER GEOMETRIC CONSTRAINT SOLVING IN < AND < 3 CHRISTOPH M. HOFFMANN Deartment of Comuter Sciences, Purdue University West Lafayette, Indiana 47907-1398, USA and PAMELA J. VERMEER Deartment of Comuter Sciences,

More information

Sensitivity Analysis for an Optimal Routing Policy in an Ad Hoc Wireless Network

Sensitivity Analysis for an Optimal Routing Policy in an Ad Hoc Wireless Network 1 Sensitivity Analysis for an Otimal Routing Policy in an Ad Hoc Wireless Network Tara Javidi and Demosthenis Teneketzis Deartment of Electrical Engineering and Comuter Science University of Michigan Ann

More information

EE678 Application Presentation Content Based Image Retrieval Using Wavelets

EE678 Application Presentation Content Based Image Retrieval Using Wavelets EE678 Alication Presentation Content Based Image Retrieval Using Wavelets Grou Members: Megha Pandey megha@ee. iitb.ac.in 02d07006 Gaurav Boob gb@ee.iitb.ac.in 02d07008 Abstract: We focus here on an effective

More information

Fundamentals of. Restricted-Orientation Convexity z. Eugene Fink and Derick Wood y. Carnegie{Mellon University

Fundamentals of. Restricted-Orientation Convexity z. Eugene Fink and Derick Wood y. Carnegie{Mellon University Fundamentals of Restricted-Orientation Convexity z Eugene Fink and Derick Wood y Technical Reort HKUST-CS95-46 Setember 1995 Deartment of Comuter Science Carnegie{Mellon University Pittsburgh, PA 15213

More information

Truth Trees. Truth Tree Fundamentals

Truth Trees. Truth Tree Fundamentals Truth Trees 1 True Tree Fundamentals 2 Testing Grous of Statements for Consistency 3 Testing Arguments in Proositional Logic 4 Proving Invalidity in Predicate Logic Answers to Selected Exercises Truth

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

STRONG / WEAK EDGE VERTEX MIXED DOMINATION NUMBER OF A GRAPH

STRONG / WEAK EDGE VERTEX MIXED DOMINATION NUMBER OF A GRAPH IJMS, Vol. 11, No. 3-4, (July-December 2012),. 433-444 Serials Publications ISSN: 0972-754X STRONG / WEAK EDGE VERTEX MIXED DOMINATION NUMBER OF A GRAPH R. S. Bhat, S. S. Kamath & Surekha R. Bhat Abstract:

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

Stereo Disparity Estimation in Moment Space

Stereo Disparity Estimation in Moment Space Stereo Disarity Estimation in oment Sace Angeline Pang Faculty of Information Technology, ultimedia University, 63 Cyberjaya, alaysia. angeline.ang@mmu.edu.my R. ukundan Deartment of Comuter Science, University

More information

Deformable Free Space Tilings for Kinetic Collision Detection

Deformable Free Space Tilings for Kinetic Collision Detection Deformable Free Sace Tilings for Kinetic Collision Detection Pankaj K. Agarwal Julien Basch Leonidas J. Guibas John Hershberger Li Zhang Abstract We resent kinetic data structures for detecting collisions

More information

CMSC 754 Computational Geometry 1

CMSC 754 Computational Geometry 1 CMSC 754 Comutational Geometry 1 David M. Mount Deartment of Comuter Science University of Maryland Fall 2002 1 Coyright, David M. Mount, 2002, Det. of Comuter Science, University of Maryland, College

More information

A CLASS OF STRUCTURED LDPC CODES WITH LARGE GIRTH

A CLASS OF STRUCTURED LDPC CODES WITH LARGE GIRTH A CLASS OF STRUCTURED LDPC CODES WITH LARGE GIRTH Jin Lu, José M. F. Moura, and Urs Niesen Deartment of Electrical and Comuter Engineering Carnegie Mellon University, Pittsburgh, PA 15213 jinlu, moura@ece.cmu.edu

More information

Geometric Dilation. A polygonal chain C. detour of C on the pair (p, q): where C q p the path on C connecting p and q. detour of C

Geometric Dilation. A polygonal chain C. detour of C on the pair (p, q): where C q p the path on C connecting p and q. detour of C Geometric Dilation A olygonal chain C detour of C on the air (, ): δ(, ) = C, where C the ath on C connecting and. detour of C δ C = max, C δ(, ). More general: A connected lanar grah G(V, E) Gemetric

More information

Privacy Preserving Moving KNN Queries

Privacy Preserving Moving KNN Queries Privacy Preserving Moving KNN Queries arxiv:4.76v [cs.db] 4 Ar Tanzima Hashem Lars Kulik Rui Zhang National ICT Australia, Deartment of Comuter Science and Software Engineering University of Melbourne,

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

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

Classes of K-Regular Semi ring

Classes of K-Regular Semi ring Secial Issue on Comutational Science, Mathematics and Biology Classes of K-Regular Semi ring M.Amala 1, T.Vasanthi 2 ABSTRACT: In this aer, it was roved that, If S is a K-regular semi ring and (S, +) is

More information

REAL NUMBERS. 1.1 Introduction

REAL NUMBERS. 1.1 Introduction REAL NUMBERS 1 REAL NUMBERS 1 1.1 Introduction In Class IX, you began your exloration of the world of real numbers and encountered irrational numbers. We continue our discussion on real numbers in this

More information

Compatible 4-Holes in Point Sets

Compatible 4-Holes in Point Sets CCCG 2018, Winnieg, Canada, August 8 10, 2018 Comatible 4-Holes in Point Sets Ahmad Biniaz Anil Maheshwari Michiel Smid Abstract Counting interior-disjoint emty convex olygons in a oint set is a tyical

More information

2010 First International Conference on Networking and Computing

2010 First International Conference on Networking and Computing First International Conference on Networking and Comuting Imlementations of Parallel Comutation of Euclidean Distance Ma in Multicore Processors and GPUs Duhu Man, Kenji Uda, Hironobu Ueyama, Yasuaki Ito,

More information

An improved algorithm for Hausdorff Voronoi diagram for non-crossing sets

An improved algorithm for Hausdorff Voronoi diagram for non-crossing sets An imroved algorithm for Hausdorff Voronoi diagram for non-crossing sets Frank Dehne, Anil Maheshwari and Ryan Taylor May 26, 2006 Abstract We resent an imroved algorithm for building a Hausdorff Voronoi

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

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

AN INTEGER LINEAR MODEL FOR GENERAL ARC ROUTING PROBLEMS

AN INTEGER LINEAR MODEL FOR GENERAL ARC ROUTING PROBLEMS AN INTEGER LINEAR MODEL FOR GENERAL ARC ROUTING PROBLEMS Philie LACOMME, Christian PRINS, Wahiba RAMDANE-CHERIF Université de Technologie de Troyes, Laboratoire d Otimisation des Systèmes Industriels (LOSI)

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

Complexity Issues on Designing Tridiagonal Solvers on 2-Dimensional Mesh Interconnection Networks

Complexity Issues on Designing Tridiagonal Solvers on 2-Dimensional Mesh Interconnection Networks Journal of Comuting and Information Technology - CIT 8, 2000, 1, 1 12 1 Comlexity Issues on Designing Tridiagonal Solvers on 2-Dimensional Mesh Interconnection Networks Eunice E. Santos Deartment of Electrical

More information

The Spatial Skyline Queries

The Spatial Skyline Queries The Satial Skyline Queries Mehdi Sharifzadeh Comuter Science Deartment University of Southern California Los Angeles, CA 90089-078 sharifza@usc.edu Cyrus Shahabi Comuter Science Deartment University of

More information

Improved Symmetric Lists

Improved Symmetric Lists Imroved Symmetric Lists Prerint February, 24 Christian Bachmaier and Marcus Raitner University of Passau, 943 Passau, Germany {bachmaier,raitner}@fmi.uni-assau.de Abstract. We introduce a new data structure

More information

1 Definition of Reduction

1 Definition of Reduction 1 Definition of Reduction Problem A is reducible, or more technically Turing reducible, to problem B, denoted A B if there a main program M to solve problem A that lacks only a procedure to solve problem

More information

level 0 level 1 level 2 level 3

level 0 level 1 level 2 level 3 Communication-Ecient Deterministic Parallel Algorithms for Planar Point Location and 2d Voronoi Diagram? Mohamadou Diallo 1, Afonso Ferreira 2 and Andrew Rau-Chalin 3 1 LIMOS, IFMA, Camus des C zeaux,

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

search(i): Returns an element in the data structure associated with key i

search(i): Returns an element in the data structure associated with key i CS161 Lecture 7 inary Search Trees Scribes: Ilan Goodman, Vishnu Sundaresan (2015), Date: October 17, 2017 Virginia Williams (2016), and Wilbur Yang (2016), G. Valiant Adated From Virginia Williams lecture

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

I ACCEPT NO RESPONSIBILITY FOR ERRORS ON THIS SHEET. I assume that E = (V ).

I ACCEPT NO RESPONSIBILITY FOR ERRORS ON THIS SHEET. I assume that E = (V ). 1 I ACCEPT NO RESPONSIBILITY FOR ERRORS ON THIS SHEET. I assume that E = (V ). Data structures Sorting Binary heas are imlemented using a hea-ordered balanced binary tree. Binomial heas use a collection

More information

CENTRAL AND PARALLEL PROJECTIONS OF REGULAR SURFACES: GEOMETRIC CONSTRUCTIONS USING 3D MODELING SOFTWARE

CENTRAL AND PARALLEL PROJECTIONS OF REGULAR SURFACES: GEOMETRIC CONSTRUCTIONS USING 3D MODELING SOFTWARE CENTRAL AND PARALLEL PROJECTIONS OF REGULAR SURFACES: GEOMETRIC CONSTRUCTIONS USING 3D MODELING SOFTWARE Petra Surynková Charles University in Prague, Faculty of Mathematics and Physics, Sokolovská 83,

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

Range Searching. Data structure for a set of objects (points, rectangles, polygons) for efficient range queries.

Range Searching. Data structure for a set of objects (points, rectangles, polygons) for efficient range queries. Range Searching Data structure for a set of objects (oints, rectangles, olygons) for efficient range queries. Y Q Deends on tye of objects and queries. Consider basic data structures with broad alicability.

More information

Improved heuristics for the single machine scheduling problem with linear early and quadratic tardy penalties

Improved heuristics for the single machine scheduling problem with linear early and quadratic tardy penalties Imroved heuristics for the single machine scheduling roblem with linear early and quadratic tardy enalties Jorge M. S. Valente* LIAAD INESC Porto LA, Faculdade de Economia, Universidade do Porto Postal

More information

A BICRITERION STEINER TREE PROBLEM ON GRAPH. Mirko VUJO[EVI], Milan STANOJEVI] 1. INTRODUCTION

A BICRITERION STEINER TREE PROBLEM ON GRAPH. Mirko VUJO[EVI], Milan STANOJEVI] 1. INTRODUCTION Yugoslav Journal of Oerations Research (00), umber, 5- A BICRITERIO STEIER TREE PROBLEM O GRAPH Mirko VUJO[EVI], Milan STAOJEVI] Laboratory for Oerational Research, Faculty of Organizational Sciences University

More information

Leak Detection Modeling and Simulation for Oil Pipeline with Artificial Intelligence Method

Leak Detection Modeling and Simulation for Oil Pipeline with Artificial Intelligence Method ITB J. Eng. Sci. Vol. 39 B, No. 1, 007, 1-19 1 Leak Detection Modeling and Simulation for Oil Pieline with Artificial Intelligence Method Pudjo Sukarno 1, Kuntjoro Adji Sidarto, Amoranto Trisnobudi 3,

More information

Intersection Graph on Non-Split Majority Dominating Graph

Intersection Graph on Non-Split Majority Dominating Graph Malaya J. Mat. S()(015) 476 480 Intersection Grah on Non-Slit Majority Dominating Grah J. Joseline Manora a and S. Veeramanikandan b, a,b PG and Research Deartment of Mathematics, T.B.M.L College, Porayar,

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

Source-to-Source Code Generation Based on Pattern Matching and Dynamic Programming

Source-to-Source Code Generation Based on Pattern Matching and Dynamic Programming Source-to-Source Code Generation Based on Pattern Matching and Dynamic Programming Weimin Chen, Volker Turau TR-93-047 August, 1993 Abstract This aer introduces a new technique for source-to-source code

More information

The concept of set is a very basic one. It is simple; yet, it suffices as the basis on which all abstract notions in mathematics can be built.

The concept of set is a very basic one. It is simple; yet, it suffices as the basis on which all abstract notions in mathematics can be built. Chater 1 Sets and functions Section 1.1 Sets The concet of set is a very basic one. It is simle; yet, it suffices as the basis on which all abstract notions in mathematics can be built. A set is determined

More information

Introduction to Visualization and Computer Graphics

Introduction to Visualization and Computer Graphics Introduction to Visualization and Comuter Grahics DH2320, Fall 2015 Prof. Dr. Tino Weinkauf Introduction to Visualization and Comuter Grahics Grids and Interolation Next Tuesday No lecture next Tuesday!

More information

Isotopic Implicit Surface Meshing

Isotopic Implicit Surface Meshing Isotoic Imlicit Surface Meshing Jean-Daniel Boissonnat Projet Géometrica, INRIA Sohia-Antiolis, France Jean-Daniel.Boissonnat @sohia.inria.fr David Cohen-Steiner Comuter Science Deartment, Duke University,

More information

split split (a) (b) split split (c) (d)

split split (a) (b) split split (c) (d) International Journal of Foundations of Comuter Science c World Scientic Publishing Comany ON COST-OPTIMAL MERGE OF TWO INTRANSITIVE SORTED SEQUENCES JIE WU Deartment of Comuter Science and Engineering

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

Chapter 1 - Basic Equations

Chapter 1 - Basic Equations 2.20 - Marine Hydrodynamics, Sring 2005 Lecture 2 2.20 Marine Hydrodynamics Lecture 2 Chater 1 - Basic Equations 1.1 Descrition of a Flow To define a flow we use either the Lagrangian descrition or the

More information

10. Line Arrangements Lecture on Monday 2 nd November, 2009 by Michael Homann

10. Line Arrangements Lecture on Monday 2 nd November, 2009 by Michael Homann 10. Line Arrangements Lecture on Monday 2 nd November, 2009 by Michael Homann During the course of this lecture we encountered several situations where it was convenient to assume

More information

2. Optimization problems 6

2. Optimization problems 6 6 2.1 Examples... 7... 8 2.3 Convex sets and functions... 9 2.4 Convex optimization problems... 10 2.1 Examples 7-1 An (NP-) optimization problem P 0 is defined as follows Each instance I P 0 has a feasibility

More information

Using Rational Numbers and Parallel Computing to Efficiently Avoid Round-off Errors on Map Simplification

Using Rational Numbers and Parallel Computing to Efficiently Avoid Round-off Errors on Map Simplification Using Rational Numbers and Parallel Comuting to Efficiently Avoid Round-off Errors on Ma Simlification Maurício G. Grui 1, Salles V. G. de Magalhães 1,2, Marcus V. A. Andrade 1, W. Randolh Franklin 2,

More information

An Efficient Coding Method for Coding Region-of-Interest Locations in AVS2

An Efficient Coding Method for Coding Region-of-Interest Locations in AVS2 An Efficient Coding Method for Coding Region-of-Interest Locations in AVS2 Mingliang Chen 1, Weiyao Lin 1*, Xiaozhen Zheng 2 1 Deartment of Electronic Engineering, Shanghai Jiao Tong University, China

More information

A 2D Random Walk Mobility Model for Location Management Studies in Wireless Networks Abstract: I. Introduction

A 2D Random Walk Mobility Model for Location Management Studies in Wireless Networks Abstract: I. Introduction A D Random Walk Mobility Model for Location Management Studies in Wireless Networks Kuo Hsing Chiang, RMIT University, Melbourne, Australia Nirmala Shenoy, Information Technology Deartment, RIT, Rochester,

More information

Equality-Based Translation Validator for LLVM

Equality-Based Translation Validator for LLVM Equality-Based Translation Validator for LLVM Michael Ste, Ross Tate, and Sorin Lerner University of California, San Diego {mste,rtate,lerner@cs.ucsd.edu Abstract. We udated our Peggy tool, reviously resented

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

UPDATING ALGORITHMS FOR CONSTRAINT DELAUNAY TIN

UPDATING ALGORITHMS FOR CONSTRAINT DELAUNAY TIN UPDATING ALGORITMS FOR CONSTRAINT DELAUNAY TIN WU LiXin a,b WANG YanBing a, c a Institute for GIS/RS/GPS & Subsidence Engineering Research, China Uni Mining & Technology, Beijing, China, 100083 - awulixin@263.net,

More information

Chapter 3: Graphics Output Primitives. OpenGL Line Functions. OpenGL Point Functions. Line Drawing Algorithms

Chapter 3: Graphics Output Primitives. OpenGL Line Functions. OpenGL Point Functions. Line Drawing Algorithms Chater : Grahics Outut Primitives Primitives: functions in grahics acage that we use to describe icture element Points and straight lines are the simlest rimitives Some acages include circles, conic sections,

More information

Discrete shading of three-dimensional objects from medial axis transform

Discrete shading of three-dimensional objects from medial axis transform Pattern Recognition Letters 20 (1999) 1533±1544 www.elsevier.nl/locate/atrec Discrete shading of three-dimensional objects from medial axis transform Jayanta Mukherjee a, *, M. Aswatha Kumar b, B.N. Chatterji

More information

Weak Dynamic Coloring of Planar Graphs

Weak Dynamic Coloring of Planar Graphs Weak Dynamic Coloring of Planar Graphs Caroline Accurso 1,5, Vitaliy Chernyshov 2,5, Leaha Hand 3,5, Sogol Jahanbekam 2,4,5, and Paul Wenger 2 Abstract The k-weak-dynamic number of a graph G is the smallest

More information

Texture Mapping with Vector Graphics: A Nested Mipmapping Solution

Texture Mapping with Vector Graphics: A Nested Mipmapping Solution Texture Maing with Vector Grahics: A Nested Mimaing Solution Wei Zhang Yonggao Yang Song Xing Det. of Comuter Science Det. of Comuter Science Det. of Information Systems Prairie View A&M University Prairie

More information

Recognizing Convex Polygons with Few Finger Probes

Recognizing Convex Polygons with Few Finger Probes Pattern Analysis and Alications manuscrit No. (will be inserted by the editor) Recognizing Convex Polygons with Few Finger Probes Sumanta Guha Kiêu Trọng Khánh Received: date / Acceted: date Abstract The

More information

Empty Region Graphs. Computer Science Department, Université Libre de Bruxelles, CP212, Boulevard du Triomphe, 1050 Bruxelles, Belgium

Empty Region Graphs. Computer Science Department, Université Libre de Bruxelles, CP212, Boulevard du Triomphe, 1050 Bruxelles, Belgium Emty Region Grahs Jean Cardinal 1 Sébastien Collette 2 Stefan Langerman 3 Comuter Science Deartment, Université Libre de Bruxelles, CP212, Boulevard du Triomhe, 1050 Bruxelles, Belgium Abstract A family

More information

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

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

More information

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

CS2 Algorithms and Data Structures Note 8

CS2 Algorithms and Data Structures Note 8 CS2 Algorithms and Data Structures Note 8 Heasort and Quicksort We will see two more sorting algorithms in this lecture. The first, heasort, is very nice theoretically. It sorts an array with n items in

More information

Applying the fuzzy preference relation to the software selection

Applying the fuzzy preference relation to the software selection Proceedings of the 007 WSEAS International Conference on Comuter Engineering and Alications, Gold Coast, Australia, January 17-19, 007 83 Alying the fuzzy reference relation to the software selection TIEN-CHIN

More information

Final Review II: Examples

Final Review II: Examples Final Review II: Examles We go through last year's nal. This should not be treated as a samle nal. Question. Let (s) cos s; cos s; sin s. a) Prove that s is the arc length arameter. b) Calculate ; ; T

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

Tilings of the Euclidean plane

Tilings of the Euclidean plane Tilings of the Euclidean plane Yan Der, Robin, Cécile January 9, 2017 Abstract This document gives a quick overview of a eld of mathematics which lies in the intersection of geometry and algebra : tilings.

More information

MATH4455 Module 10 Worth the Weight

MATH4455 Module 10 Worth the Weight MTH4455 Module 10 Worth the Weight Math Math oncets: Weighted Means, Inscribed reas, eneralized Midoints uxiliary Ideas: Quadrilaterals, eneralized Proortions, Polygons, onvexity I. Personally Inscribed.

More information

Label-Guided Graph Exploration by a Finite Automaton

Label-Guided Graph Exploration by a Finite Automaton Label-Guided Grah Exloration by a Finite Automaton REUVEN COHEN Boston University, USA PIERRE FRAIGNIAUD CNRS and Université Paris Diderot - Paris 7, France DAVID ILCINKAS CNRS and Université Bordeaux

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

COMP30172: Advanced Algorithms Notes and Exercises on Automata-based Verification

COMP30172: Advanced Algorithms Notes and Exercises on Automata-based Verification COMP30172: Advanced Algorithms Notes and Exercises on Automata-based Verification Howard Barringer Rm2.20: Kilburn Building Email: Howard.Barringer@manchester.ac.uk March 2010 ii Contents Preface v 1 Model

More information

4. References. q h-1. q h

4. References. q h-1. q h 4. References -1-2 Fig. 5 polygon on which the DSW algorithm fails. C 1 Bhattacharya B K, ElGindy H. new linear convex hull algorithm for simple polygons. IEEE Transactions on Information Theory. 1994,

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

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