Width and Bounding Box of Imprecise Points

Size: px
Start display at page:

Download "Width and Bounding Box of Imprecise Points"

Transcription

1 Width nd Bounding Box of Impreise Points Vhideh Keikh Mrten Löffler Ali Mohdes Zhed Rhmti Astrt In this pper we study the following prolem: we re given set L = {l 1,..., l n } of prllel line segments, nd we wish to find set P = {p 1,..., p n }, where p i l i suh tht we mximize/minimize the width of P or the re of the ounding ox of P mong ll possile hoies for P. We design n O(n 2 ɛ 4.5 ) pproximtion lgorithm for omputing the lrgest width. We lso show tht the smllest width nd the smllest ounding ox n e omputed in O(n 2 ) time. We then proeed to present n O(n 6 ) time dynmi progrmming lgorithm for omputing the lrgest-re ounding ox. We lso present n FPTAS for this prolem whih runs in O(n 2 ɛ 5 ) time. 1 Introdution Shpe fitting is fundmentl prolem in omputtionl geometry, omputer vision, lustering, dt mining nd mny other res, whih sks the following question: suppose we re given set P of points in the plne, find shpe tht est fits P under some fitting riterion. In omputtionl geometry, mny prolems fit into the lss of shpe fitting, e.g., omputing the ounding ox, the width, the smllest enlosing irle, et. However, in the rel-world, the input is sujet to e impreise. Then the question is finding tight ounds on the size of the ojetive shpe. Impreise dt. Let P = {p 1,..., p n } e set of fixed points in the plne. In mny pplitions, eh element of P is sujet to e omputed with some errors, suh tht we do not know e.g., the ext oordintes of eh p i, or even the existene of p i. In this sitution we ll P set of impreise/unertin points. Mny studies hve foused on solving geometri prolems in the presene of impreise input. Depending on the informtion we hve out the input, different models of impreision re introdued. Here we riefly mention relted models: the Epsilon-geometry model, the Region-sed model, the Lotionl nd the Existentil model, where in these models, it is ssumed tht there exists set P i of points insted of eh p i, ut the ext lotion of p i in P i is unknown. See e.g., [3, 5]. Deprtment of Mthemti nd Computer Siene, Amirkir University, [v.keikh,mohdes,zrhmti]@ut..ir Deprtment of Informtion nd Computing Sienes, Utreht University, Utreht, The Netherlnds, m.loffler@uu.nl () () () (d) (e) Figure 1: An exmple. () A given set of prllel line segments. () The Lrgest possile width determined y 3 pirs simultneously. If we move ny of, or mong their line segments, we redue t lest one of the omputed width. () The smllest possile width. (d) The lrgest possile re ounding ox. (e) The smllest possile ounding ox. In this pper, we study our prolems in the Regionsed model. Let R e set of impreise points. An instne of R is set P of points seleted from distint regions of R. Then eh instne P of R will hve different onvex hull, width, ounding ox, et. Löffler nd vn Kreveld introdued frmework for omputing some tight lower nd upper ounds on the size of suh mesures, where they modeled the unertinty of the input y line segments, squres or disks [3]. Contriution. In this pper, we study the following prolems: given set L = {l 1,..., l n } of prllel line segments, hoose set P = {p 1,..., p n } of points, where p i l i, suh tht the size of width or the re of the ounding ox of P is s smll/lrge s possile mong ll possile hoies for P (see Figure 1(-e)). These prolems n e interpreted s finding the optiml filities in the form of ox or strip whih intersets eh line-segment-ustomer. Preliminries. Löffler nd vn Kreveld firstly studied the prolem of omputing the lrgest/smllest xisligned ounding ox of set of impreise points modeled s set of disks or squres in the plne, where their lgorithms vried from O(n log n) to O(n 2 ) [2]. In the sme pper, they proved tht omputing the lrgest possile width of set of impreise points modeled s set of ritrry line segments is NP-hrd. The sme prolem for prllel line segments, squres or disks ws posed s open question. The xis-ligned ounding ox of set P of fixed points in the plne is the minimum re ounding ox ontining P, sujet to the onstrint tht the edges

2 3 th Cndin Conferene on Computtionl Geometry, 218 y θ x d Figure 2: An exmple. The A(θ, d) digrms of the endpoints of three line segments nd two determined widths in diretion θ. Both the smllest nd lrgest possile width our in diretion θ. When we selet the lower endpoints of the lue nd green line segments, the lotion of the point on the red line segment determines the width: the lower endpoint of the red segment relizes the smllest possile width, while the upper endpoint relizes the mximum possile width. of the ounding ox re prllel to the x y oordinte xes. The smllest oriented ounding ox of P is the minimum re retngle ontining P. From now on, we simply ll it ounding ox. The width of set of points is the nrrowest strip ontining P. These prolems re extensively studied nd effiient lgorithms re known for them. One the onvex hull of P is known, ll these prolems n e solved in liner time sed on the rotting lipers method [6]. While the onvex hull of P is unknown there is n Ω(n log n) lower ound for oth prolems of omputing the ounding ox nd width of P in 2-D. Results. Let L = {l 1,..., l n } e set of prllel line segments. We otin the following results. We show tht the lrgest possile width of L n e pproximted within ftor (1 2ɛ) in O(n 2 ɛ 4.5 ) time (Setion 2.1). 1 We show tht the smllest ounding ox of L n e omputed in O(n 2 ) time (Setion 3.1). We present more involved O(n 6 ) time dynmi progrmming lgorithm for omputing the lrgest ounding ox of L. We lso present n FPTAS for this prolem whih runs in O(n 2 ɛ 5 ) time (Setion 3.2). We lso note tht ll missing proofs re in Appendix A.1. 2 Width We strt with the width prolem. Two prolems n e onsidered: finding n instne P on L, so tht P mximizes/minimizes the width of P. The minimum 1 Our method solves the smllest width prolem in O(n 2 ) time, however, there exists n O(n log n) time lgorithm for this prolem [4]. θ θ width of set of impreise points modeled s line segments (or ny other onvex regions), n e omputed in O(n log n) time [4], in whih the prolem is so-lled strip trnsversl, nd the uthors studied the prolem of omputing the thinnest strip tht intersets given set of onvex ojets. The mximum width prolem looks more diffiult, euse we should find n instne so tht our instne mximizes the width of the resulting point set. Sine width n e determined y multiple triples of points, nd eh point n tke prt in different triples, it looks diffiult to find the optiml position of the points (see Figure 1()). Let L = {l 1,..., l n } e set of prllel line segments in the plne. Let l i nd l + i, respetively, denote the lower nd upper endpoints of l i. Let E denote the set of ll the endpoints of segments in L. For point p, let l p denote the segment tht inludes p. For eh point p = (x, y), we define A(θ, d) digrm to e the plot of the funtion d θ = x sin θ + y os θ (1). It is the (signed) distne of p to line through the origin perpendiulr to the ry with ngle θ. [ ] [ ] [ ] xθ os θ sin θ x p θ = = = y θ sin θ os θ y [ x os θ y sin θ x sin θ + y os θ In Figure 2, the A(θ, d) digrm of the endpoints of set of segments is depited, the region etween sme olor digrms denotes the A(θ, d) digrms of the remining points of the segment. From now on, we use T (P ) to ddress the set of A(θ, d) digrms of set P of points. An exmple is depited in Figure 2, where eh T ({l + i, l i }) for i = 1,..., n is ssigned unique olor. Note tht the T ({l + i, l i }) of segment l i intersets ny other T ({l + j, l j }) for j i, j = 1,..., n in onstnt numer of intersetions. Thus there re qudrti numer of intersetion points. We ll I the set of intersetion points, where eh element of I is n intersetion point etween two digrms with distint olors. Notie the smllest possile width of L equls the vertil shortest distne etween point p I nd point f p on nother digrm with distint olor, so tht t lest one olor from eh digrm is interseted y vertil line segment pf p. Sine we wnt to minimize the length of segment pf p mong ll diretions θ, it will hve one endpoint on n intersetion point. Notie tht the instnes determined in this wy will introdue lrger width mong ll other diretions in A(θ, d) digrms of L. Thus this gives vlid width, nd further the smllest possile width. But omputing the smllest width y this method will ost O(n 2 ) time. 2.1 Lrgest width Let s e set of A(θ, d) digrms of distint olors. If s inludes extly one instne of eh olor, we ll s omplete set. For omplete set s of digrms, we define ]

3 optiml solution () A(θ, d) digrm D ɛ Figure 4: The rosses denote the points pproximting the line segments. the losest endpoint of its segment, or the width misses overing nother segment l, whih this hppens t n endpoint of l gin, then the new set relizes the sme width, ut one element of E is involved in the optiml solution () () Lemm 2 There exists n ɛ-kernel of size O( ɛ 1 ) for the mximum width prolem. Figure 3: () An exmple. The mximl width is determined y, nd. () The optiml solution. () The A(θ, d) digrms of the endpoints is denoted y solid urves, nd the optiml solution is shown in dsheddotted. The green dshed-dotted is not visile euse it is the sme s solid green urve. For etter visiility this figure is shown wider. w s s the shortest vertil distne etween the topmost nd ottommost digrms in s mong ll vlues of θ. Oviously w s determines the width of instnes in s. Oservtion 1 Let P e set of n points from distint line segments, then w T (P ) determines the width of P. Proof. The orretness omes from the ft tht w T (P ) is omputed mong ll vlues of θ. Let P denote the set of points whih mximizes the width. In the A(θ, d) digrm of L, the solution to the lrgest width prolem is equivlent to omplete set T (P ) of A(θ, d) digrms, so tht the vlue of w T (P ) is s lrge s possile mong ll possile hoies of s. In other words, for ny other omplete set s, w T (P ) w s. See Figure 3 s n exmple. As n e seen in Figure 3, the prolem proly hs lgeri issues. We design n pproximtion lgorithm to solve it. We strt stting our results with some oservtions. Lemm 1 Let L e given set of prllel line segments in the plne, nd let E denote the set of ll endpoints of L. There exists solution to the lrgest width prolem so tht one of the elements of E is involved in the optiml solution. Proof. It is esy to oserve tht we n trnslte the set of points relizing the lrgest width in up or down diretion until one of the points determining the strip of width (indeed, the point whih hs the smllest distne to one of the endpoints of its segment) rehes to Proof. Agrwl et l. [1] proved tht for ny point set in d-dimensionl spe, there is n ɛ-kernel of size O(1/ɛ d 1/2 ) nd it is lso worst se optiml. Let opt(l) denote the optiml solution to the mximum width prolem of L. Then there exists n ɛ-kernel Q opt for opt(l), tht is opt(l) < (1 + ɛ)widt(q opt ). Let S(Q opt ) denote the set of segments whih shre point on Q opt. Then oviously opt(s(q opt )) opt(l). Also we hve width(q opt ) opt(s(q opt )). Then opt(s(q opt )) opt(l) (1 + ɛ)opt(s(q opt )). Although we do not know wht is our ɛ-kernel, we still n use its size to design more effiient lgorithm. Let D denote the vertil distne etween the highest nd smllest y-oordintes of ny two endpoints of segments of L, s illustrted in Figure 4. Then we emnte set ρ of horizontl prllel rys, where the vertil distne etween ny two onseutive rys is ɛ. For ny l i L, the intersetion points ρ l i pproximte l i. We will ompute the A(θ, d) digrms of V = ρ L. Oviously V O(nɛ 1 ). We postpone the disussions of why this gives us the desired (1 ɛ) ftor, nd first disuss the solution on the pproximted points. 2 From Lemm 2 nd onsidering ny triple of points whih re potentilly involved in the mximum width, nive pproh solves the prolem in O(n ɛ 1/2 (ɛ 1/2 ɛ 1 ) 3 ) time. Corollry 3 There exists PTAS for the mximum width prolem whih runs in O(n ɛ 1/2 ɛ 4.5 ) time. Oservtion 2 If for eh l i L, T ({l + i, l i }) is lwys entirely loted etween two other A(θ, d) digrms in T (E) mong ll vlues of θ (shown in yellow in Figure 3()), then l i does not hve role in the onstitution of the optiml solution. error. 2 We hve supposed D = 1, sine we re onsidering the reltive

4 3 th Cndin Conferene on Computtionl Geometry, 218 The ove oservtion does not neessrily redue the omplexity of the lgorithm, ut still n redue the totl running time. 2.2 Dynmi progrmming lgorithm As onsequene of Oservtion 1 nd sine we look for the shortest vertil distne etween set of digrms, the shortest vertil distne will t lest use one intersetion point of two digrms with distint olors. Suppose we hve fixed one endpoint of segment, nd we hve omputed the A(θ, d) digrm of, T ({}) (for simpliity we denote it y T ()). Now the question is how to find omplete set s of digrms, so tht T () s nd other elements of s mximize their vertil distnes (w s ) from T (). First notie tht the numer of points in V is in O(nɛ 1 ). By onsidering ny triple of points in V whih re potentilly involved in the optiml solution, oviously the prolem n e solved in O(n 4 ɛ 3 ). In the extr O(n) we hek whether the strip of triple inludes one instne from eh segment or not. We will design DP lgorithm whih runs in O(n 2 ɛ 4.5 ) time. For fix endpoint, let w() denote the length of the shortest vertil segment whih is interseted y ll the trnsformtions of ɛ 1 1 other instnes (in the ɛ- kernel) mong ll diretions θ. Let w denote the mximum possile width of L. We should mximize the vlue w() for eh. Oviously w() in diretion θ n e defined y w() = Mx pi,d θ (T (p i)) d θ (T ()) d θ (T ()) d θ (T (p i )) + Mx pj,d θ (T (p j)) d θ (T ()) d θ (T ()) d θ (T (p j )), with i j, in whih T (p i ) nd T (p j ) hs the smllest nd lrgest vertil distnes from T () in diretion θ. W () = Mx [ w()], w = Mx E W (), where W () is the mximum over ll possile ɛ-kernels on. There only exist O( ɛ 1 ) ndidtes for eh of p i nd p j, sine they elong to n ɛ-kernel of this size. Also we only need to onsider the diretions θ whih is determined y the intersetion points of the A(θ, d) digrms of elements in the ɛ-kernel, sine the minimum vlue of w() tht needs to e mximized hppens there. Thus there exist O((ɛ 1/2 ɛ 1 ) 2 ) diretions θ in totl. Also there exist O(nɛ 1/2 ) different ɛ-kernels (of size O(ɛ 1/2 )) to e defined on. Consequently the dynmi progrm runs in (n 2 ɛ 4.5 ) time. Theorem 4 Let L e given set of prllel line segments in the plne. The lrgest possile width of L n e pproximted within ftor (1 2ɛ) in O(n 2 ɛ 4.5 ) time. 3 Bounding ox Similrly, for omputing the ounding ox of L two prolems n e onsidered, neither of these hs een studied yet: the smllest re ounding ox nd the lrgest re ounding ox. Let B denote the optiml solution to ny of these prolems. 3.1 Smllest ounding ox Now we extend our pproh for the minimum width prolem to design n lgorithm for the smllest-re ounding ox. Lemm 5 Let L e set of prllel line segments, nd let E e set of the endpoints of segments in L. There exists n optiml solution B to the smllest ounding ox of L, where eh edge of B psses through t lest one point of E, nd these points elong to distint segments. Proof. Suppose the lemm is flse. Then the miniml ounding ox B still hs n edge e whih is determined y point p i somewhere on the middle of l i. Consider line l through p i nd prllel to e. If we sweep l towrd the opposite side of e on B, it will interset l i, until it leves it t n endpoint p i (or B misses overing nother segment l j, whih hppens t n endpoint p j ). Then p i (or p j ) n e sustituted for p i to give us smller re ounding ox. Contrdition. Now we hve disretized the prolem on the endpoints. For ny set of fixed points, the smllest ounding ox n e determined y five points. Consequently, there exists nive O(n 6 ) time lgorithm for the smllest ounding ox prolem, where in the extr O(n) time we should hek whether n instne of ny segment is inluded in the solution. 3 Lemm 6 Let L e set of n prllel line segments. Only the diretions determined y the intersetion points of the elements of T (E) in the A(θ, d) digrm of L n e ndidtes to determine the diretion of two prllel edges of B. Proof. Only the intersetion points of T (E) in the A(θ, d) digrm of L denote the diretions in whih minimum width my exist. Suppose the lemm is flse. Then there exists solution B to the minimum ounding ox prolem, so tht none of the two diretions determined y edges of B, re determined y diretion in whih miniml width hppens (in n intersetion point). Then we find the losest diretion θ l (to the diretions of ny of two edges of B) whih is ndidte for the smllest width (whih hppens t n intersetion point) (see Figure 5). Let θ l denote the diretion of two prllel edges of B whih is loser to θ l. 3 Notie tht rotting liper tehnique does not look pplile here, sine we do not extly know the onvex hull.

5 θ l θ diff B B θ l Figure 5: The smllestre ounding ox will e onstruted in diretion in whih miniml width exists; if not we still n redue its re. Also first suppose the segments determined y diretion θ l re distint from the segments involved in the other edges of B. We define θ diff = θ l θ l. We sustitute the determined width in diretion θ l for the one in diretion θ l. We then rotte the two other edges of B with θ diff through the previously determined points. Oviously the hieved ox B hs smller re thn B. Contrdition. Now suppose the determined segments y the width in diretion θ l re not distint from the segments involved in the other edges of B. Then the shred point would e loted t orner of the new ox B, while the re of the B is smller thn B. Contrdition. In eh intersetion point p I in diretion θ, there my exist strip with miniml size whih inludes t lest one point from eh line segment. The other sides of the potentil optiml solution n e determined in diretion θ + π/2. Sine I O(n 2 ), the minimum re determined ox mong the intersetion points relizes B, nd the lgorithm works in O(n 2 ) time. Theorem 7 Let L e set of n prllel line segments. The optiml solution to the smllest ounding ox prolem of L n e omputed in O(n 2 ) time. 3.2 Lrgest ounding ox This prolem looks diffiult. Even rute-fore lgorithm is not strightforwrd, sine we nnot simply expnd the edges of possile ox (y using the endpoints of the segments), sine ollinerity of the points my redue the size of the optiml ox. See Figure 6(). Let θ denote the diretion of the lrgest ounding ox. Also notie tht t lest six points re involved in the optiml solution, sine the determined widths in oth diretion θ nd θ + π/2 hve the smllest size mong ll possile diretions in whih width n e determined, if not we still n redue its size, nd it is not vlid ounding ox. Also s n e seen in Figure 1(d), the lrgest re ounding ox does not neessrily use the orienttion of the mximum width. Lemm 8 Let L e set of n prllel line segments, nd let E e the set of the endpoints of segments in L. There exists solution to the lrgest-re ounding ox tht uses two points (from distint segments) of E on its two opposite sides, so tht eh edge inludes one of them. () l e t e l + t t 2 () Figure 6: () Expnding the edges of ox B to the endpoints of the segments determining the edges of B does not neessrily inrese the re of B. () The lrgest-re ounding ox t lest uses two elements of E on its two prllel sides. From the A(θ, d) digrm of L, the numer of different onfigurtions of hving two distint endpoints on two opposite sides of retngle is ounded y O(n 2 ), sine in the intersetion points the vertil order of two A(θ, d) digrms hnges, nd there only exists qudrti numer of intersetion points. Let t nd denote suh endpoints. Also n instne of ny other line segment is inluded in the determined strip y these two endpoints. Notie tht four suprolems need to e onsidered, sine we do not know whih of the upper or lower endpoints of l t nd l re the right ones. With the sme rgument we hd in Lemm 2, there exists n ɛ-kernel of size O(ɛ 1/2 ) for the lrgest ounding ox. By pproximting the set of line segments with set of prllel rys with ɛ differene etween onseutive rys, s disusses in Setion 2.1, for ny pir of endpoints we need to find triple of other points to onstrut ounding ox, where there re O(ɛ 1/2 ) ndidtes for eh point of triple nd O(ɛ 3 ) possile diretions for the optiml ox. Thus DP similr to the one presented in Setion 2.2 n solve the prolem in O(n 2 ɛ 5 ) time. In the following we try to solve it extly. Corollry 9 Let L e set of n prllel line segments. There exists n FPTAS for the lrgest ounding ox of L tht runs in O(n 2 ɛ 5 ) time. Algorithm. Let L e given set of n prllel line segments. Rell tht from A(θ, d) digrms of L we n ompute ll possile diretions whih there is strip S = d(l, θ), suh tht S inludes t lest one instne from eh element of L in diretion θ. From Lemm 8 we know two distint segments determine two opposite sides of B. As sid efore, from the A(θ, d) digrm of L we understnd t most O(n 2 ) ndidtes n determine two opposite sides of B, sine there re O(n 2 ) intersetion points nd thus the numer of onfigurtions in whih ll other digrms re resides etween two different digrms is ounded y O(n 2 ). Then we should find vlid width with these two points. Let θ denote diretion of suh vlid width. Notie tht there my exist O(n) possile diretions for θ. We will onsider omputing vlid solution from speifi θ, nd of ourse we will repet it for the remining possile diretions. Then ounding ox B in diretion θ n e defined y B = d(l, θ). d(l, θ + π 2 ) (2), where B is the smllest ox whih ounds S in θ + π 2 diretion, so tht B is retngle. With it using of the 1 r

6 3 th Cndin Conferene on Computtionl Geometry, 218 e t 4 3 e l 2 5 e r 6 1 e l i 3 v l () () () Figure 7: () A non-vlid ounding ox, where it is determined y 1 nd 5. () The mximum inner ngle t v l is determined t 3. () The orreted edge e l is denoted y e l denote the omputed vlid ox fter one step of the DP, whih is not ompletely vlid yet. Notie tht the hidden set of e r need to e updted for the next step. nottion, let S nd B lso denote size of the width nd re of the ounding ox, respetively. The ove definition of ounding ox B does not neessrily give us vlid ox, sine some segments my shre more thn one vertex on the oundry of B, or B my not e the smllest possile ox with these instnes, so tht we still n redue its re. But orreting this should e done in suh wy tht the removed re from B is minimized. This proedure is lled orreting B. Also we should do suh orretion for ll possile su-prolems in whih nonvlid ounding ox is determined y ny pir of endpoints. Finlly, the lrgest-re ounding ox mong ll determines the lrgest-re ounding ox of L. Oviously orreting ounding ox B (first omputed in diretion θ) my lso hnge the diretion of B. In the following we show tht we still n ompute the ext possile rottion of B. When looking for the lrgest smllest possile ox B, we onsider ll sets of six points whih my define ounding ox in Eqution(2), where two of them lredy determine vlid width nd lso the first diretion of ox B, ut not neessrily vlid ounding ox in tht diretion. And the other four points re omputed ordingly. In other words, for two fixed points, we first determine vlid width through them in diretion θ, nd then we ompute vlid width in diretion θ+π/2. Notie tht the omputed ox is superset for the optiml solution with these instnes. Finlly in the DP lgorithm we try to mke the iggest vlid ox whih is determined y these instnes. See Figure 7() for n exmple. Let A denote set onsisting of six suh points on the oundry of ox B. Let e, e l, e t nd e r denote the edges of B in lokwise diretion, nd let i for i = 1,..., 6 denote suh set A. Also let 1 e loted on edge e, 2, 3 e loted on edge e l, 4, 5 e loted on edge e t, et. Also let v l denote the ommon endpoint of edges e nd e l, s n e seen in Figure 7. W.l.o.g suppose B is defined on two endpoints 1 nd 5. For eh non-distint element of A, e.g., 3, distint line segment l i (whih is lredy interseted y B) will shre vertex 3 on e l, so tht 3 n e sustituted for 3 to give us smller (ut it more vlid) ounding ox B. We e l 1 ll 3 the hidden line segment y e l. Let H(A) denote ll the line segments hidden y the elements of A. In the worst se, orretion of B needs to find five hidden verties y the elements of A, ut suh sustitution should e done in suh wy tht removed re from B is s smll s possile, nd the resulting vlid B hs the lrgest possile re. (Notie tht sine H(A) hs onstnt omplexity, omputing the est onfigurtion n e done in onstnt time.) Also hidden line segment l i might simultneously e hidden y the points on two edges of B, e.g., in Figure 7, l i is hidden y oth e l nd e t. We will hek oth ses in different su-prolems, of whih there re onstntly mny. First suppose l i should shre vertex on e l. To do so, we should selet 3 suh tht the inner ngle 1v l 3 hs the mximum possile vlue mong ll possile hoies for 3. Further the hidden elements H(A) determine the ext vlue of the possile rottion of B. Let Θ denote ll possile diretions in whih vlid possile ox B is determined y two points 1 nd 5, s disussed efore, nd let α(a) denote the mximum ngle of rottion for orreting elements of A. Let A denote set A, where one distint element is sustituted for one non-distint element of A. Then we n write our DP s follows: d(l, θ) = width of L in diretion of θ (L, θ) = d(l, θ).d(l, θ + π 2 ), (L, Θ) = Min θ Θ (L, θ) Then we hve: V (A) = Mx (Min (A A, [α(a), α(a )]), V (A )) where V (A) denotes the lrgest ounding ox on possile set A in diretion θ. Then the mximum vlue mong ll possile V (A) denotes the optiml solution. The orretness of the lgorithm omes from the ft tht we onsider ll possile pirs tht n define ounding ox, nd then we find the lrgest possile ounding ox on this pir y our dynmi progrm. Finlly, the lrgest-re orreted ox determines the optiml solution. Notie tht we my need to rework on orreted set A, sine severl elements my need to e orreted. We will orret them lokwise. They only inrese onstnt numer of suprolems, whih t most equls 4 5. Notie tht there re onstnt possile diretions in Θ to mke vlid ox, nd it is needed to onsider O(n 2 ) pirs, nd for eh pir we need to onsider O(n) diretions, nd for eh diretion θ we should find the width in diretion θ + π/2. Then we ompute the hidden elements of the edges in O(n) time, nd we repet it for ny pirs etween ny two intersetion points in A(θ, d) of L. Thus the lgorithm runs in O(n 6 ) time nd spe. Theorem 1 Let L e given set of prllel line segments. The lrgest ounding ox of L n e omputed in O(n 6 ) time nd spe. 4 Conluding remrks nd open questions In this pper we present severl lgorithms for omputing n instne P on set of line segments, so tht P mximizes/minimizes the width or the re of the ounding ox of P. Solving mximum width prolem on set of squres remined open. We wish to extend our presented lgorithms to solve these prolems on set of squres.

7 Referenes [1] P. K. Agrwl, S. Hr-Peled, nd K. R. Vrdrjn. Approximting extent mesures of points. Journl of the ACM (JACM), 51(4):66 635, 24. [2] M. Löffler nd M. vn Kreveld. Lrgest ounding ox, smllest dimeter, nd relted prolems on impreise points. Computtionl Geometry, 43(4): , 21. [3] M. Löffler. Dt impreision in omputtionl geometry. PhD thesis, Utreht Univesity, 29. [4] J.-M. Roert nd G. Toussint. Computtionl geometry nd fility lotion. In Pro. Interntionl Conferene on Opertions Reserh nd Mngement Siene, pges B1 B19, 199. [5] D. Slesin, J. Stolfi, nd L. Guis. Epsilon geometry: Building roust lgorithms from impreise omputtions. In Pro. 5th Annul Symposium on Computtionl Geometry, pges , [6] G. T. Toussint. Solving geometri prolems with the rotting lipers. In IEEE Meleon, volume 83, pge A1, denote the points tht e t nd e re pssing through them, s illustrted in Figure 6(). Consider line l through t nd prllel to e t. If we sweep l wy from e t, it will interset the segment l t, so tht it leves it t n endpoint l + t. Then oviously the pentgon ll + t r 1 2 inludes the pentgon ltr 1 2. Sine with fixed length, the new ounding ox should now inlude some new point whih previously where loted outside the ounding ox, it must e expnded from the width. But then the hnges of the re of four oxes should e onsidered, if we sustitute l + t for t, the ox with n edge through 1, 2 will inrese its size, nd the sme rgument holds for the oxes with n edge through 1, r nd 2, l. Thus the ollinerity of l + t with existing verties nnot mke smller re ox. All together, we do not redue the size of ny other possile ounding ox of L, nd thus ny ounding ox whih is pssing through ll + t r 1 nd 2 will hve lrger re thn B. Thus B ould not e the lrgest re ounding ox. Contrdition. A Appendix A.1 Omitted proofs Theorem 4 Let L e given set of prllel line segments in the plne. The lrgest possile width of L n e pproximted within ftor (1 2ɛ) in O(n 2 ɛ 4.5 ) time. Proof. The only remining unproved prt is the (1 2ɛ) rtio of pproximtion. Let T (P pp) denote omplete set of digrms whih mximizes size of width. Let θ pp denote the diretion in whih T (P pp) gives the optiml solution. Then on the A(θ, d) digrms, using Eqution (1) we hve w w T (Ppp) + 2ɛ os θ pp, sine w T (Ppp) hs the lrgest vlue mong other omplete sets. Oviously w sin θ pp. But then if θ pp π/4, sin θ pp osθ pp nd then, w (1 2ɛ) w T (Ppp). In the se where θ pp < π/4 we oviously hve the sme width in diretion θ pp + π. The lemm follows. Lemm 8 Let L e set of n prllel line segments, nd let E e the set of the endpoints of segments in L. There exists solution to the lrgest-re ounding ox tht uses two points (from distint segments) of E on its two opposite sides, so tht eh edge inludes one of them. Proof. Like in the se of Lemm 1, there lwys exists n optiml solution B so tht t lest one element of E is involved on determining some edge of B. Let e denote suh edge. In the following, we disuss the existene of nother element of E on the opposite side of e. Let 1 denote the endpoint whih hs determined the edge e. W.l.o.g suppose 1 is loted on the ottom side of B. Suppose the lemm is flse. Then there exists mximl ounding ox B for L whih is pssing through some points l, t, r, 1 nd 2, so tht B hs mximl re nd B only uses one element of E. Let e t nd e denote the top nd ottom edges of B. And let t nd 1, 2, respetively,

Calculus Differentiation

Calculus Differentiation //007 Clulus Differentition Jeffrey Seguritn person in rowot miles from the nerest point on strit shoreline wishes to reh house 6 miles frther down the shore. The person n row t rte of mi/hr nd wlk t rte

More information

Duality in linear interval equations

Duality in linear interval equations Aville online t http://ijim.sriu..ir Int. J. Industril Mthemtis Vol. 1, No. 1 (2009) 41-45 Dulity in liner intervl equtions M. Movhedin, S. Slhshour, S. Hji Ghsemi, S. Khezerloo, M. Khezerloo, S. M. Khorsny

More information

CS 241 Week 4 Tutorial Solutions

CS 241 Week 4 Tutorial Solutions CS 4 Week 4 Tutoril Solutions Writing n Assemler, Prt & Regulr Lnguges Prt Winter 8 Assemling instrutions utomtilly. slt $d, $s, $t. Solution: $d, $s, nd $t ll fit in -it signed integers sine they re 5-it

More information

2 Computing all Intersections of a Set of Segments Line Segment Intersection

2 Computing all Intersections of a Set of Segments Line Segment Intersection 15-451/651: Design & Anlysis of Algorithms Novemer 14, 2016 Lecture #21 Sweep-Line nd Segment Intersection lst chnged: Novemer 8, 2017 1 Preliminries The sweep-line prdigm is very powerful lgorithmic design

More information

Computational geometry

Computational geometry Leture 23 Computtionl geometry Supplementl reding in CLRS: Chpter 33 exept 33.3 There re mny importnt prolems in whih the reltionships we wish to nlyze hve geometri struture. For exmple, omputtionl geometry

More information

Line The set of points extending in two directions without end uniquely determined by two points. The set of points on a line between two points

Line The set of points extending in two directions without end uniquely determined by two points. The set of points on a line between two points Lines Line Line segment Perpendiulr Lines Prllel Lines Opposite Angles The set of points extending in two diretions without end uniquely determined by two points. The set of points on line between two

More information

Lecture 8: Graph-theoretic problems (again)

Lecture 8: Graph-theoretic problems (again) COMP36111: Advned Algorithms I Leture 8: Grph-theoreti prolems (gin) In Prtt-Hrtmnn Room KB2.38: emil: iprtt@s.mn..uk 2017 18 Reding for this leture: Sipser: Chpter 7. A grph is pir G = (V, E), where V

More information

MITSUBISHI ELECTRIC RESEARCH LABORATORIES Cambridge, Massachusetts. Introduction to Matroids and Applications. Srikumar Ramalingam

MITSUBISHI ELECTRIC RESEARCH LABORATORIES Cambridge, Massachusetts. Introduction to Matroids and Applications. Srikumar Ramalingam Cmrige, Msshusetts Introution to Mtrois n Applitions Srikumr Rmlingm MERL mm//yy Liner Alger (,0,0) (0,,0) Liner inepenene in vetors: v, v2,..., For ll non-trivil we hve s v s v n s, s2,..., s n 2v2...

More information

Lecture 12 : Topological Spaces

Lecture 12 : Topological Spaces Leture 12 : Topologil Spes 1 Topologil Spes Topology generlizes notion of distne nd loseness et. Definition 1.1. A topology on set X is olletion T of susets of X hving the following properties. 1. nd X

More information

Paradigm 5. Data Structure. Suffix trees. What is a suffix tree? Suffix tree. Simple applications. Simple applications. Algorithms

Paradigm 5. Data Structure. Suffix trees. What is a suffix tree? Suffix tree. Simple applications. Simple applications. Algorithms Prdigm. Dt Struture Known exmples: link tble, hep, Our leture: suffix tree Will involve mortize method tht will be stressed shortly in this ourse Suffix trees Wht is suffix tree? Simple pplitions History

More information

A dual of the rectangle-segmentation problem for binary matrices

A dual of the rectangle-segmentation problem for binary matrices A dul of the rectngle-segmenttion prolem for inry mtrices Thoms Klinowski Astrct We consider the prolem to decompose inry mtrix into smll numer of inry mtrices whose -entries form rectngle. We show tht

More information

Lesson 4.4. Euler Circuits and Paths. Explore This

Lesson 4.4. Euler Circuits and Paths. Explore This Lesson 4.4 Euler Ciruits nd Pths Now tht you re fmilir with some of the onepts of grphs nd the wy grphs onvey onnetions nd reltionships, it s time to egin exploring how they n e used to model mny different

More information

Final Exam Review F 06 M 236 Be sure to look over all of your tests, as well as over the activities you did in the activity book

Final Exam Review F 06 M 236 Be sure to look over all of your tests, as well as over the activities you did in the activity book inl xm Review 06 M 236 e sure to loo over ll of your tests, s well s over the tivities you did in the tivity oo 1 1. ind the mesures of the numered ngles nd justify your wor. Line j is prllel to line.

More information

10.2 Graph Terminology and Special Types of Graphs

10.2 Graph Terminology and Special Types of Graphs 10.2 Grph Terminology n Speil Types of Grphs Definition 1. Two verties u n v in n unirete grph G re lle jent (or neighors) in G iff u n v re enpoints of n ege e of G. Suh n ege e is lle inient with the

More information

Introduction to Algebra

Introduction to Algebra INTRODUCTORY ALGEBRA Mini-Leture 1.1 Introdution to Alger Evlute lgeri expressions y sustitution. Trnslte phrses to lgeri expressions. 1. Evlute the expressions when =, =, nd = 6. ) d) 5 10. Trnslte eh

More information

Convex Hull Algorithms. Convex hull: basic facts

Convex Hull Algorithms. Convex hull: basic facts CG Leture D Conve Hull Algorithms Bsi fts Algorithms: Nïve, Gift wrpping, Grhm sn, Quik hull, Divide-nd-onquer Lower ound 3D Bsi fts Algorithms: Gift wrpping, Divide nd onquer, inrementl Conve hulls in

More information

[Prakash* et al., 5(8): August, 2016] ISSN: IC Value: 3.00 Impact Factor: 4.116

[Prakash* et al., 5(8): August, 2016] ISSN: IC Value: 3.00 Impact Factor: 4.116 [Prksh* et l 58: ugust 6] ISSN: 77-9655 I Vlue: Impt Ftor: 6 IJESRT INTERNTIONL JOURNL OF ENGINEERING SIENES & RESERH TEHNOLOGY SOME PROPERTIES ND THEOREM ON FUZZY SU-TRIDENT DISTNE Prveen Prksh* M Geeth

More information

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs. Lecture 5 Wlks, Trils, Pths nd Connectedness Reding: Some of the mteril in this lecture comes from Section 1.2 of Dieter Jungnickel (2008), Grphs, Networks nd Algorithms, 3rd edition, which is ville online

More information

Greedy Algorithm. Algorithm Fall Semester

Greedy Algorithm. Algorithm Fall Semester Greey Algorithm Algorithm 0 Fll Semester Optimiztion prolems An optimiztion prolem is one in whih you wnt to fin, not just solution, ut the est solution A greey lgorithm sometimes works well for optimiztion

More information

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it.

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it. 6.3 Volumes Just s re is lwys positive, so is volume nd our ttitudes towrds finding it. Let s review how to find the volume of regulr geometric prism, tht is, 3-dimensionl oject with two regulr fces seprted

More information

Doubts about how to use azimuth values from a Coordinate Object. Juan Antonio Breña Moral

Doubts about how to use azimuth values from a Coordinate Object. Juan Antonio Breña Moral Douts out how to use zimuth vlues from Coordinte Ojet Jun Antonio Breñ Morl # Definition An Azimuth is the ngle from referene vetor in referene plne to seond vetor in the sme plne, pointing towrd, (ut

More information

Distance Computation between Non-convex Polyhedra at Short Range Based on Discrete Voronoi Regions

Distance Computation between Non-convex Polyhedra at Short Range Based on Discrete Voronoi Regions Distne Computtion etween Non-onvex Polyhedr t Short Rnge Bsed on Disrete Voronoi Regions Ktsuki Kwhi nd Hiroms Suzuki Deprtment of Preision Mhinery Engineering, The University of Tokyo 7-3-1 Hongo, Bunkyo-ku,

More information

CS553 Lecture Introduction to Data-flow Analysis 1

CS553 Lecture Introduction to Data-flow Analysis 1 ! Ide Introdution to Dt-flow nlysis!lst Time! Implementing Mrk nd Sweep GC!Tody! Control flow grphs! Liveness nlysis! Register llotion CS553 Leture Introdution to Dt-flow Anlysis 1 Dt-flow Anlysis! Dt-flow

More information

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved.

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved. Chpter 9 Greey Tehnique Copyright 2007 Person Aison-Wesley. All rights reserve. Greey Tehnique Construts solution to n optimiztion prolem piee y piee through sequene of hoies tht re: fesile lolly optiml

More information

Math 227 Problem Set V Solutions. f ds =

Math 227 Problem Set V Solutions. f ds = Mth 7 Problem Set V Solutions If is urve with prmetriztion r(t), t b, then we define the line integrl f ds b f ( r(t) ) dr dt (t) dt. Evlute the line integrl f(x,y,z)ds for () f(x,y,z) xosz, the urve with

More information

Can Pythagoras Swim?

Can Pythagoras Swim? Overview Ativity ID: 8939 Mth Conepts Mterils Students will investigte reltionships etween sides of right tringles to understnd the Pythgoren theorem nd then use it to solve prolems. Students will simplify

More information

What are suffix trees?

What are suffix trees? Suffix Trees 1 Wht re suffix trees? Allow lgorithm designers to store very lrge mount of informtion out strings while still keeping within liner spce Allow users to serch for new strings in the originl

More information

Lily Yen and Mogens Hansen

Lily Yen and Mogens Hansen SKOLID / SKOLID No. 8 Lily Yen nd Mogens Hnsen Skolid hs joined Mthemticl Myhem which is eing reformtted s stnd-lone mthemtics journl for high school students. Solutions to prolems tht ppered in the lst

More information

Outline. Motivation Background ARCH. Experiment Additional usages for Input-Depth. Regular Expression Matching DPI over Compressed HTTP

Outline. Motivation Background ARCH. Experiment Additional usages for Input-Depth. Regular Expression Matching DPI over Compressed HTTP ARCH This work ws supported y: The Europen Reserh Counil, The Isreli Centers of Reserh Exellene, The Neptune Consortium, nd Ntionl Siene Foundtion wrd CNS-119748 Outline Motivtion Bkground Regulr Expression

More information

Grade 7/8 Math Circles Geometric Arithmetic October 31, 2012

Grade 7/8 Math Circles Geometric Arithmetic October 31, 2012 Fculty of Mthemtics Wterloo, Ontrio N2L 3G1 Grde 7/8 Mth Circles Geometric Arithmetic Octoer 31, 2012 Centre for Eduction in Mthemtics nd Computing Ancient Greece hs given irth to some of the most importnt

More information

50 AMC LECTURES Lecture 2 Analytic Geometry Distance and Lines. can be calculated by the following formula:

50 AMC LECTURES Lecture 2 Analytic Geometry Distance and Lines. can be calculated by the following formula: 5 AMC LECTURES Lecture Anlytic Geometry Distnce nd Lines BASIC KNOWLEDGE. Distnce formul The distnce (d) between two points P ( x, y) nd P ( x, y) cn be clculted by the following formul: d ( x y () x )

More information

Midterm Exam CSC October 2001

Midterm Exam CSC October 2001 Midterm Exm CSC 173 23 Otoer 2001 Diretions This exm hs 8 questions, severl of whih hve suprts. Eh question indites its point vlue. The totl is 100 points. Questions 5() nd 6() re optionl; they re not

More information

4452 Mathematical Modeling Lecture 4: Lagrange Multipliers

4452 Mathematical Modeling Lecture 4: Lagrange Multipliers Mth Modeling Lecture 4: Lgrnge Multipliers Pge 4452 Mthemticl Modeling Lecture 4: Lgrnge Multipliers Lgrnge multipliers re high powered mthemticl technique to find the mximum nd minimum of multidimensionl

More information

MATH 25 CLASS 5 NOTES, SEP

MATH 25 CLASS 5 NOTES, SEP MATH 25 CLASS 5 NOTES, SEP 30 2011 Contents 1. A brief diversion: reltively prime numbers 1 2. Lest common multiples 3 3. Finding ll solutions to x + by = c 4 Quick links to definitions/theorems Euclid

More information

Ma/CS 6b Class 1: Graph Recap

Ma/CS 6b Class 1: Graph Recap M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Adm Sheffer. Office hour: Tuesdys 4pm. dmsh@cltech.edu TA: Victor Kstkin. Office hour: Tuesdys 7pm. 1:00 Mondy, Wednesdy, nd Fridy. http://www.mth.cltech.edu/~2014-15/2term/m006/

More information

Internet Routing. IP Packet Format. IP Fragmentation & Reassembly. Principles of Internet Routing. Computer Networks 9/29/2014.

Internet Routing. IP Packet Format. IP Fragmentation & Reassembly. Principles of Internet Routing. Computer Networks 9/29/2014. omputer Networks 9/29/2014 IP Pket Formt Internet Routing Ki Shen IP protool version numer heder length (words) for qulity of servie mx numer remining hops (deremented t eh router) upper lyer protool to

More information

Journal of Combinatorial Theory, Series A

Journal of Combinatorial Theory, Series A Journl of Comintoril Theory, Series A 0 (0) Contents lists ville t SiVerse SieneDiret Journl of Comintoril Theory, Series A www.elsevier.om/lote/jt Spheril tiling y ongruent pentgons Hongho Go, Nn Shi,

More information

Photovoltaic Panel Modelling Using a Stochastic Approach in MATLAB &Simulink

Photovoltaic Panel Modelling Using a Stochastic Approach in MATLAB &Simulink hotovolti nel Modelling Using Stohsti Approh in MATLAB &Simulink KAREL ZALATILEK, JAN LEUCHTER eprtment of Eletril Engineering University of efene Kouniov 65, 61 City of Brno CZECH REUBLIC krelzpltilek@unoz,

More information

Error Numbers of the Standard Function Block

Error Numbers of the Standard Function Block A.2.2 Numers of the Stndrd Funtion Blok evlution The result of the logi opertion RLO is set if n error ours while the stndrd funtion lok is eing proessed. This llows you to rnh to your own error evlution

More information

UNCORRECTED SAMPLE PAGES. Angle relationships and properties of 6geometrical figures 1. Online resources. What you will learn

UNCORRECTED SAMPLE PAGES. Angle relationships and properties of 6geometrical figures 1. Online resources. What you will learn Online resoures uto-mrked hpter pre-test Video demonstrtions of ll worked exmples Intertive widgets Intertive wlkthroughs Downlodle HOTsheets ess to ll HOTmths ustrlin urriulum ourses ess to the HOTmths

More information

4-1 NAME DATE PERIOD. Study Guide. Parallel Lines and Planes P Q, O Q. Sample answers: A J, A F, and D E

4-1 NAME DATE PERIOD. Study Guide. Parallel Lines and Planes P Q, O Q. Sample answers: A J, A F, and D E 4-1 NAME DATE PERIOD Pges 142 147 Prllel Lines nd Plnes When plnes do not intersect, they re sid to e prllel. Also, when lines in the sme plne do not intersect, they re prllel. But when lines re not in

More information

COMMON FRACTIONS. or a / b = a b. , a is called the numerator, and b is called the denominator.

COMMON FRACTIONS. or a / b = a b. , a is called the numerator, and b is called the denominator. COMMON FRACTIONS BASIC DEFINITIONS * A frtion is n inite ivision. or / * In the frtion is lle the numertor n is lle the enomintor. * The whole is seprte into "" equl prts n we re onsiering "" of those

More information

Geometric Algorithms. Geometric Algorithms. Warning: Intuition May Mislead. Geometric Primitives

Geometric Algorithms. Geometric Algorithms. Warning: Intuition May Mislead. Geometric Primitives Geometri Algorithms Geometri Algorithms Convex hull Geometri primitives Closest pir of points Voronoi Applitions. Dt mining. VLSI design. Computer vision. Mthemtil models. Astronomil simultion. Geogrphi

More information

4.3 Balanced Trees. let us assume that we can manipulate them conveniently and see how they can be put together to form trees.

4.3 Balanced Trees. let us assume that we can manipulate them conveniently and see how they can be put together to form trees. 428 T FOU 4.3 Blned Trees T BT GOIT IN T VIOU setion work well for wide vriety of pplitions, ut they hve poor worst-se performne. s we hve noted, files lredy in order, files in reverse order, files with

More information

COMP108 Algorithmic Foundations

COMP108 Algorithmic Foundations Grph Theory Prudene Wong http://www.s.liv..uk/~pwong/tehing/omp108/201617 How to Mesure 4L? 3L 5L 3L ontiner & 5L ontiner (without mrk) infinite supply of wter You n pour wter from one ontiner to nother

More information

Chapter 2. Chapter 2 5. Section segments: AB, BC, BD, BE. 32. N 53 E GEOMETRY INVESTIGATION Answers will vary. 34. (a) N. sunset.

Chapter 2. Chapter 2 5. Section segments: AB, BC, BD, BE. 32. N 53 E GEOMETRY INVESTIGATION Answers will vary. 34. (a) N. sunset. Chpter 2 5 Chpter 2 32. N 53 E GEOMETRY INVESTIGATION Answers will vry. 34. () N Setion 2.1 2. 4 segments: AB, BC, BD, BE sunset sunrise 4. 2 rys: CD (or CE ), CB (or CA ) 6. ED, EC, EB W Oslo, Norwy E

More information

Lecture 13: Graphs I: Breadth First Search

Lecture 13: Graphs I: Breadth First Search Leture 13 Grphs I: BFS 6.006 Fll 2011 Leture 13: Grphs I: Bredth First Serh Leture Overview Applitions of Grph Serh Grph Representtions Bredth-First Serh Rell: Grph G = (V, E) V = set of verties (ritrry

More information

10.5 Graphing Quadratic Functions

10.5 Graphing Quadratic Functions 0.5 Grphing Qudrtic Functions Now tht we cn solve qudrtic equtions, we wnt to lern how to grph the function ssocited with the qudrtic eqution. We cll this the qudrtic function. Grphs of Qudrtic Functions

More information

s 1 t 4 s 2 4 t 2 a b r 2 r 8 r10 g 4

s 1 t 4 s 2 4 t 2 a b r 2 r 8 r10 g 4 k-pirs Non-Crossing Shortest Pths in Simple Polgon Evnthi Ppdopoulou Northwestern Universit, Evnston, Illinois 60208, USA Astrt. This pper presents n O(n + k) time lgorithm to ompute the set of k non-rossing

More information

COMP 423 lecture 11 Jan. 28, 2008

COMP 423 lecture 11 Jan. 28, 2008 COMP 423 lecture 11 Jn. 28, 2008 Up to now, we hve looked t how some symols in n lphet occur more frequently thn others nd how we cn sve its y using code such tht the codewords for more frequently occuring

More information

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork MA1008 Clculus nd Liner Algebr for Engineers Course Notes for Section B Stephen Wills Deprtment of Mthemtics University College Cork s.wills@ucc.ie http://euclid.ucc.ie/pges/stff/wills/teching/m1008/ma1008.html

More information

CMPUT101 Introduction to Computing - Summer 2002

CMPUT101 Introduction to Computing - Summer 2002 CMPUT Introdution to Computing - Summer 22 %XLOGLQJ&RPSXWHU&LUFXLWV Chpter 4.4 3XUSRVH We hve looked t so fr how to uild logi gtes from trnsistors. Next we will look t how to uild iruits from logi gtes,

More information

Geometrical reasoning 1

Geometrical reasoning 1 MODULE 5 Geometril resoning 1 OBJECTIVES This module is for study y n individul teher or group of tehers. It: looks t pprohes to developing pupils visulistion nd geometril resoning skills; onsiders progression

More information

Problem Final Exam Set 2 Solutions

Problem Final Exam Set 2 Solutions CSE 5 5 Algoritms nd nd Progrms Prolem Finl Exm Set Solutions Jontn Turner Exm - //05 0/8/0. (5 points) Suppose you re implementing grp lgoritm tt uses ep s one of its primry dt strutures. Te lgoritm does

More information

Ma/CS 6b Class 1: Graph Recap

Ma/CS 6b Class 1: Graph Recap M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Instructor: Adm Sheffer. TA: Cosmin Pohot. 1pm Mondys, Wednesdys, nd Fridys. http://mth.cltech.edu/~2015-16/2term/m006/ Min ook: Introduction to Grph

More information

and vertically shrinked by

and vertically shrinked by 1. A first exmple 1.1. From infinite trnsltion surfe mp to end-periodi mp. We begin with n infinite hlf-trnsltion surfe M 0 desribed s in Figure 1 nd n ffine mp f 0 defined s follows: the surfe is horizontlly

More information

MTH 146 Conics Supplement

MTH 146 Conics Supplement 105- Review of Conics MTH 146 Conics Supplement In this section we review conics If ou ne more detils thn re present in the notes, r through section 105 of the ook Definition: A prol is the set of points

More information

LINX MATRIX SWITCHERS FIRMWARE UPDATE INSTRUCTIONS FIRMWARE VERSION

LINX MATRIX SWITCHERS FIRMWARE UPDATE INSTRUCTIONS FIRMWARE VERSION Overview LINX MATRIX SWITCHERS FIRMWARE UPDATE INSTRUCTIONS FIRMWARE VERSION 4.4.1.0 Due to the omplex nture of this updte, plese fmilirize yourself with these instrutions nd then ontt RGB Spetrum Tehnil

More information

Section 10.4 Hyperbolas

Section 10.4 Hyperbolas 66 Section 10.4 Hyperbols Objective : Definition of hyperbol & hyperbols centered t (0, 0). The third type of conic we will study is the hyperbol. It is defined in the sme mnner tht we defined the prbol

More information

COMPUTATION AND VISUALIZATION OF REACHABLE DISTRIBUTION NETWORK SUBSTATION VOLTAGE

COMPUTATION AND VISUALIZATION OF REACHABLE DISTRIBUTION NETWORK SUBSTATION VOLTAGE 24 th Interntionl Conferene on Eletriity Distriution Glsgow, 12-15 June 2017 Pper 0615 COMPUTATION AND VISUALIZATION OF REACHABLE DISTRIBUTION NETWORK SUBSTATION VOLTAGE Mihel SANKUR Dniel ARNOLD Lun SCHECTOR

More information

CS453 INTRODUCTION TO DATAFLOW ANALYSIS

CS453 INTRODUCTION TO DATAFLOW ANALYSIS CS453 INTRODUCTION TO DATAFLOW ANALYSIS CS453 Leture Register llotion using liveness nlysis 1 Introdution to Dt-flow nlysis Lst Time Register llotion for expression trees nd lol nd prm vrs Tody Register

More information

Stained Glass Design. Teaching Goals:

Stained Glass Design. Teaching Goals: Stined Glss Design Time required 45-90 minutes Teching Gols: 1. Students pply grphic methods to design vrious shpes on the plne.. Students pply geometric trnsformtions of grphs of functions in order to

More information

Fig.1. Let a source of monochromatic light be incident on a slit of finite width a, as shown in Fig. 1.

Fig.1. Let a source of monochromatic light be incident on a slit of finite width a, as shown in Fig. 1. Answer on Question #5692, Physics, Optics Stte slient fetures of single slit Frunhofer diffrction pttern. The slit is verticl nd illuminted by point source. Also, obtin n expression for intensity distribution

More information

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2: Solutions. Please write your name in the upper corner of each page.

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2: Solutions. Please write your name in the upper corner of each page. 6045J/18400J: Automt, Computbility nd Complexity Mrh 30, 2005 Quiz 2: Solutions Prof Nny Lynh Vinod Vikuntnthn Plese write your nme in the upper orner of eh pge Problem Sore 1 2 3 4 5 6 Totl Q2-1 Problem

More information

Answer Key Lesson 6: Workshop: Angles and Lines

Answer Key Lesson 6: Workshop: Angles and Lines nswer Key esson 6: tudent Guide ngles nd ines Questions 1 3 (G p. 406) 1. 120 ; 360 2. hey re the sme. 3. 360 Here re four different ptterns tht re used to mke quilts. Work with your group. se your Power

More information

Right Angled Trigonometry. Objective: To know and be able to use trigonometric ratios in rightangled

Right Angled Trigonometry. Objective: To know and be able to use trigonometric ratios in rightangled C2 Right Angled Trigonometry Ojetive: To know nd e le to use trigonometri rtios in rightngled tringles opposite C Definition Trigonometry ws developed s method of mesuring ngles without ngulr units suh

More information

Review Packet #3 Notes

Review Packet #3 Notes SCIE 40, Spring 0 Miller Review Pket # Notes Mpping Nottion We use mpping nottion to note how oordinte hnges. For exmple, if the point ( ) trnsformed under mpping nottion of ( x, y) ( x, y), then it eomes

More information

Tight triangulations: a link between combinatorics and topology

Tight triangulations: a link between combinatorics and topology Tight tringultions: link between ombintoris nd topology Jonthn Spreer Melbourne, August 15, 2016 Topologil mnifolds (Geometri) Topology is study of mnifolds (surfes) up to ontinuous deformtion Complited

More information

Algorithm Design (5) Text Search

Algorithm Design (5) Text Search Algorithm Design (5) Text Serch Tkshi Chikym School of Engineering The University of Tokyo Text Serch Find sustring tht mtches the given key string in text dt of lrge mount Key string: chr x[m] Text Dt:

More information

Slides for Data Mining by I. H. Witten and E. Frank

Slides for Data Mining by I. H. Witten and E. Frank Slides for Dt Mining y I. H. Witten nd E. Frnk Simplicity first Simple lgorithms often work very well! There re mny kinds of simple structure, eg: One ttriute does ll the work All ttriutes contriute eqully

More information

Research Article Determining Sensor Locations in Wireless Sensor Networks

Research Article Determining Sensor Locations in Wireless Sensor Networks Interntionl Journl of Distriuted Sensor Networks Volume 2015, Artile ID 914625, 6 pges http://dx.doi.org/10.1155/2015/914625 Reserh Artile Determining Sensor Lotions in Wireless Sensor Networks Zimo Li

More information

CS 551 Computer Graphics. Hidden Surface Elimination. Z-Buffering. Basic idea: Hidden Surface Removal

CS 551 Computer Graphics. Hidden Surface Elimination. Z-Buffering. Basic idea: Hidden Surface Removal CS 55 Computer Grphis Hidden Surfe Removl Hidden Surfe Elimintion Ojet preision lgorithms: determine whih ojets re in front of others Uses the Pinter s lgorithm drw visile surfes from k (frthest) to front

More information

a c = A C AD DB = BD

a c = A C AD DB = BD 1.) SIMILR TRINGLES.) Some possile proportions: Geometry Review- M.. Sntilli = = = = =.) For right tringle ut y its ltitude = = =.) Or for ll possiilities, split into 3 similr tringles: ll orresponding

More information

Approximate Joins for Data Centric XML

Approximate Joins for Data Centric XML Approximte Joins for Dt Centri XML Nikolus Augsten 1, Mihel Böhlen 1, Curtis Dyreson, Johnn Gmper 1 1 Fulty of Computer Siene, Free University of Bozen-Bolzno Dominiknerpltz 3, Bozen, Itly {ugsten,oehlen,gmper}@inf.uniz.it

More information

Single-Layer Trunk Routing Using 45-Degree Lines within Critical Areas for PCB Routing

Single-Layer Trunk Routing Using 45-Degree Lines within Critical Areas for PCB Routing SASIMI 2010 Proeedings (R3-8) Single-Lyer Trunk Routing Using 45-Degree Lines within Critil Ares for PCB Routing Kyosuke SHINODA Yukihide KOHIRA Atsushi TAKAHASHI Tokyo Institute of Tehnology Dept. of

More information

Pointwise convergence need not behave well with respect to standard properties such as continuity.

Pointwise convergence need not behave well with respect to standard properties such as continuity. Chpter 3 Uniform Convergence Lecture 9 Sequences of functions re of gret importnce in mny res of pure nd pplied mthemtics, nd their properties cn often be studied in the context of metric spces, s in Exmples

More information

INTRODUCTION TO SIMPLICIAL COMPLEXES

INTRODUCTION TO SIMPLICIAL COMPLEXES INTRODUCTION TO SIMPLICIAL COMPLEXES CASEY KELLEHER AND ALESSANDRA PANTANO 0.1. Introduction. In this ctivity set we re going to introduce notion from Algebric Topology clled simplicil homology. The min

More information

F. R. K. Chung y. University ofpennsylvania. Philadelphia, Pennsylvania R. L. Graham. AT&T Labs - Research. March 2,1997.

F. R. K. Chung y. University ofpennsylvania. Philadelphia, Pennsylvania R. L. Graham. AT&T Labs - Research. March 2,1997. Forced convex n-gons in the plne F. R. K. Chung y University ofpennsylvni Phildelphi, Pennsylvni 19104 R. L. Grhm AT&T Ls - Reserch Murry Hill, New Jersey 07974 Mrch 2,1997 Astrct In seminl pper from 1935,

More information

Adjacency. Adjacency Two vertices u and v are adjacent if there is an edge connecting them. This is sometimes written as u v.

Adjacency. Adjacency Two vertices u and v are adjacent if there is an edge connecting them. This is sometimes written as u v. Terminology Adjeny Adjeny Two verties u nd v re djent if there is n edge onneting them. This is sometimes written s u v. v v is djent to nd ut not to. 2 / 27 Neighourhood Neighourhood The open neighourhood

More information

The Greedy Method. The Greedy Method

The Greedy Method. The Greedy Method Lists nd Itertors /8/26 Presenttion for use with the textook, Algorithm Design nd Applictions, y M. T. Goodrich nd R. Tmssi, Wiley, 25 The Greedy Method The Greedy Method The greedy method is generl lgorithm

More information

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1 Mth 33 Volume Stewrt 5.2 Geometry of integrls. In this section, we will lern how to compute volumes using integrls defined by slice nlysis. First, we recll from Clculus I how to compute res. Given the

More information

Compact Drawings of 1-Planar Graphs with Right-Angle Crossings and Few Bends

Compact Drawings of 1-Planar Graphs with Right-Angle Crossings and Few Bends Compt Drwings of 1-Plnr Grphs with Right-Angle Crossings nd Few Bends Steven Chplik, Fbin Lipp, Alexnder Wolff, nd Johnnes Zink Lehrstuhl für Informtik I, Universität Würzburg, Germny http://www1.informtik.uni-wuerzburg.de/en/stff

More information

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards A Tutology Checker loosely relted to Stålmrck s Algorithm y Mrtin Richrds mr@cl.cm.c.uk http://www.cl.cm.c.uk/users/mr/ University Computer Lortory New Museum Site Pemroke Street Cmridge, CB2 3QG Mrtin

More information

6.2 Volumes of Revolution: The Disk Method

6.2 Volumes of Revolution: The Disk Method mth ppliction: volumes by disks: volume prt ii 6 6 Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem 6) nd the ccumultion process is to determine so-clled volumes

More information

WORKSHOP 9 HEX MESH USING SWEEP VECTOR

WORKSHOP 9 HEX MESH USING SWEEP VECTOR WORKSHOP 9 HEX MESH USING SWEEP VECTOR WS9-1 WS9-2 Prolem Desription This exerise involves importing urve geometry from n IGES file. The urves re use to rete other urves. From the urves trimme surfes re

More information

Review Packet #3 Notes

Review Packet #3 Notes SCIE 40, Fll 05 Miller Review Pket # Notes Prllel Lines If two prllel lines re onneted y third line (lled the trnsversl), the resulting ngles re either ongruent or supplementry. Angle pirs re nmed s follows:

More information

1.5 Extrema and the Mean Value Theorem

1.5 Extrema and the Mean Value Theorem .5 Extrem nd the Men Vlue Theorem.5. Mximum nd Minimum Vlues Definition.5. (Glol Mximum). Let f : D! R e function with domin D. Then f hs n glol mximum vlue t point c, iff(c) f(x) for ll x D. The vlue

More information

UNIT 5 PLANE TABLE SURVEYING

UNIT 5 PLANE TABLE SURVEYING UNIT 5 PLANE TABLE SURVEYING Plne Tle Surveying Struture 5.1 Introdution Ojetives 5.2 Plne Tle 5.2.1 Bsi Priniple 5.2.2 Equipment 5.2.3 Aessories 5.2.4 Advntges nd Disdvntges 5.3 Setting Up the Plne Tle

More information

Graph Searching & Perfect Graphs

Graph Searching & Perfect Graphs Grph Serhing & Perfet Grphs Lll Moutdid University of Toronto Astrt Perfet grphs, y definition, hve nie struture, tht grph serhing seems to extrt in, often non-inexpensive, mnner. We srth the surfe of

More information

Assembly & Installation Instructions: 920 CPU Holder, 920-X

Assembly & Installation Instructions: 920 CPU Holder, 920-X Assemly & Instlltion Instrutions: 920 CPU Holder, 920-X Prt Inluded, CPU Holder (ll models) A Exterior Housing B Interior Housing C Hrdwre Kit (ll models) D CPU Supporting Plte F Loking Kit (models 920-FL

More information

Package Contents. Wireless-G USB Network Adapter with SpeedBooster USB Cable Setup CD-ROM with User Guide (English only) Quick Installation

Package Contents. Wireless-G USB Network Adapter with SpeedBooster USB Cable Setup CD-ROM with User Guide (English only) Quick Installation A Division of Ciso Systems, In. Pkge Contents Wireless-G USB Network Adpter with SpeedBooster USB Cle Setup CD-ROM with User Guide (English only) Quik Instlltion 2,4 GHz 802.11g Wireless Model No. Model

More information

SMALL SIZE EDGE-FED SIERPINSKI CARPET MICROSTRIP PATCH ANTENNAS

SMALL SIZE EDGE-FED SIERPINSKI CARPET MICROSTRIP PATCH ANTENNAS Progress In Eletromgnetis Reserh C, Vol. 3, 195 22, 28 SMALL SIZE EDGE-FED SIERPINSKI CARPET MICROSTRIP PATCH ANTENNAS W.-L. Chen nd G.-M. Wng Rdr Engineering Deprtment Missile Institute of Air Fore Engineering

More information

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have Rndom Numers nd Monte Crlo Methods Rndom Numer Methods The integrtion methods discussed so fr ll re sed upon mking polynomil pproximtions to the integrnd. Another clss of numericl methods relies upon using

More information

B. Definition: The volume of a solid of known integrable cross-section area A(x) from x = a

B. Definition: The volume of a solid of known integrable cross-section area A(x) from x = a Mth 176 Clculus Sec. 6.: Volume I. Volume By Slicing A. Introduction We will e trying to find the volume of solid shped using the sum of cross section res times width. We will e driving towrd developing

More information

8.2 Areas in the Plane

8.2 Areas in the Plane 39 Chpter 8 Applictions of Definite Integrls 8. Ares in the Plne Wht ou will lern out... Are Between Curves Are Enclosed Intersecting Curves Boundries with Chnging Functions Integrting with Respect to

More information

Measurement and geometry

Measurement and geometry Mesurement nd geometry 4 Geometry Geometry is everywhere. Angles, prllel lines, tringles nd qudrilterls n e found ll round us, in our homes, on trnsport, in onstrution, rt nd nture. This sene from Munih

More information

Agilent Mass Hunter Software

Agilent Mass Hunter Software Agilent Mss Hunter Softwre Quick Strt Guide Use this guide to get strted with the Mss Hunter softwre. Wht is Mss Hunter Softwre? Mss Hunter is n integrl prt of Agilent TOF softwre (version A.02.00). Mss

More information

A METHOD FOR CHARACTERIZATION OF THREE-PHASE UNBALANCED DIPS FROM RECORDED VOLTAGE WAVESHAPES

A METHOD FOR CHARACTERIZATION OF THREE-PHASE UNBALANCED DIPS FROM RECORDED VOLTAGE WAVESHAPES A METHOD FOR CHARACTERIZATION OF THREE-PHASE UNBALANCED DIPS FROM RECORDED OLTAGE WAESHAPES M.H.J. Bollen, L.D. Zhng Dept. Eletri Power Engineering Chlmers University of Tehnology, Gothenurg, Sweden Astrt:

More information

Graph theory Route problems

Graph theory Route problems Bhelors thesis Grph theory Route prolems Author: Aolphe Nikwigize Dte: 986 - -5 Sujet: Mthemtis Level: First level (Bhelor) Course oe: MAE Astrt In this thesis we will review some route prolems whih re

More information

Cutting a Cornered Convex Polygon Out of a Circle

Cutting a Cornered Convex Polygon Out of a Circle 4 JOURNAL OF COMUTERS, VOL. 5, NO. 1, JANUARY 2010 Cutting Cornered Conve olygon Out of Cirle Syed Ihtique Ahmed, Md. Ariful Ilm nd Mud Hn Deprtment of Computer Siene nd Engineering Bngldeh Univerity of

More information