Convex Hull Algorithms. Convex hull: basic facts
|
|
- Bathsheba Little
- 5 years ago
- Views:
Transcription
1 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 higher dimensions Conve hull: si fts Prolem: give set of n points P in the plne, ompute its onve hull CH(P). Bsi fts: CH(P) is onve polygon with ompleity O(n). Verties of CH(P) re suset of the input points P. p 3 p 9 p p4 p 8 p 3 p 5 p 7 p0 p 6 p p p Input: p,, p 3 CH verties: p,p,p,p,p 3,p 9,p 3
2 Algorithm Nive lgorithm For eh pir of points onstrut its onneting segment nd supporting line. Find ll the segments whose supporting lines divide the plne into two hlves, suh tht one hlf plne ontins ll the other points. Construt the onve hull out of these segments. Time ompleity All pirs: n nn ( ) O( ) = O( ) = O( n ) Chek ll points for eh pir: O(n) eh, O(n 3 ) totl. No Yes 3 Tringle Are Are = ( P P ) ( P P ) 3 = P P P P sinα 3 y y = y y = 3 3 y y y 3 3 α P (,y ) P 3 ( 3,y 3 ) P (,y ) The determinnt is twie the re of the tringle whose verties re the rows of the mtri. 4
3 Orienttion nd point lssifition y (,y ) Are = y + 3 y3 (,y ) ( 3,y 3 ) The re sign indites the orienttion of the points. Positive re ounterlokwise orienttion left turn. Negtive re lokwise orienttion right turn. This test n e used to determine whether given point is ove or elow given line Tringle Are Are = ( P P) ( P3 P ) = P P P3 P sinα y y = 3 y3 y y = y y P (,y ) P 3 ( 3,y 3 ) P (,y ) The determinnt is twie the re of the tringle whose verties re the rows of the mtri. α 6 3
4 Orienttion nd point lssifition y (,y ) Are = y + 3 y3 (,y ) ( 3,y 3 ) The re sign indites the orienttion of the points. Positive re ounterlokwise orienttion left turn. Negtive re lokwise orienttion right turn. This test n e used to determine whether given point is ove or elow given line 7 Possile prolems Degenerte ses, e.g., 3 olliner points, my hrm the orretness of the lgorithm. Segments AB, BC nd AC will ll e inluded in the onve hull. A B C Numeril prolems We might onlude tht none of the three segments (or wrong pir of them) elongs to the onve hull. Question: How is olinerity deteted? 8 4
5 Generl position ssumption When designing geometri lgorithm, we first mke some simplifying ssumptions, e.g.: No three olliner points; No two points with the sme or y oordinte; Other onfigurtions: no three points on irle, Lter, we onsider the generl se: Behvior of lgorithm to degenerte ses? Will the orretness e preserved? Will the running time remin the sme? Modify/etend lgorithm to hndle degeneries 9 Algorithm: Gift wrpping lgorithm. Find the lowest point p nd its hull edge e. For eh remining point p i (i > ) do Compute the CCW ngle α i from the previous hull edge Let p j e the point with the smllest α i Mke (p p i ) the new hull edge Rotte ounterlokwise line through p until it touhes one of the other points Time ompleity: O(n ) In ft, the ompleity is O(nh), where n is the input size nd h is the hull size. p p 3 p 8 p4 p 5 p 7 p0 p 6 p p p p 3 0 5
6 Line eqution nd ngle Let (,y ) nd (,y ) e two points. The epliit line eqution is: y = m + y = y tnθ = y y + y y Singulrity t = (vertil line) y y = m+ m = tn θ Grhm s s sn lgorithm Algorithm: Find point p 0 in the interior of the hull. Compute the CCW ngle α i from p 0 to ll other points. Sort the points y ngle α i. Construt the oundry y snning the points in the sorted order nd performing only right turns (trim off left turns ). p 0 Use stk to proess sorted points Time Compleity: O(n log n) Question: How do we hek for right or left turn? p 0 Right turn p 0 Left turn 6
7 Grhm s sn: ompleity nlysis Sorting O(n log n) D i = numer of points popped on proessing p i, n time ( ) = D + = n+ D i i= i= Eh point is pushed on the stk only one. One point is popped it nnot e popped gin. Hene n D n i= i n i 3 Quik hull lgorithm Algorithm: Find four etreme points of P: highest, lowest, leftmost, rightmost d. Disrd ll points in the qudrilterl interior Find the hulls of the four tringulr regions eterior to the qudrilterl. To proess tringulr regions, find the etreme point in liner time. Two new eterior regions A, B will e formed, eh proessed seprtely. Reurse until no points re left in the eterior: the onve hull is the union of the eteriors. Time Compleity: T(n) = O(n)+T(α)+T(β) where α+β=n = T(n ) + O(n) = O(n ) worst se! etreme point A = α d B = β 4 7
8 Algorithm: Divide-nd nd-conquer Find point with medin oordinte in O(n) time Prtition point set in two hlves Compute the onve hull of eh hlf (reursive eeution) Comine the two onve hulls y finding their upper nd lower tngents in O(n). left hull medin tngents right hull Time Compleity: O(n log n) n T ( n) = T + O( n) 5 Finding tngents () Two disjoint onve polygons hve four tngents tht lssify them s either eing entirely to the left (+) or to the right ( ) of the line: (+,+) (+, ) (,+) (, ) 6 8
9 Finding tngents () Lower tngent: Connet rightmost point of left hull to leftmost point in right hull nd wlk round oth oundries until the lower tngent is rehed. Compleity: O(n). : (-,+)( : (-,*)( 3: (*,*) 5: (*,-) 7 Lower ound for onve hull in D Clim: Conve hull omputtion tkes Θ(n log n) Proof: redution from Sorting to Conve Hull: Given n rel vlues i, generte n points on the grph of onve funtion, e.g. ( i, i ). Compute the (ordered) onve hull of the points. The order of the onve hull points is the order of the i. Compleity(CH)=Ω(n log n) Sine there is O(n log n)-time lgorithm, Compleity(CH)= Θ(n log n) 8 9
10 z Conve hulls in 3D Input: Points in 3D y Output: Conve hull Representtion: Plnr sudivision 9 Conve hull in 3D: properties Theorem: A onve polyhedron with V = n verties hst t most E = 3n 6 edges nd F = n 4 fes. Proof: from Euler s formul for plnr grphs: V E + F = Every fe hs t lest 3 edges (tringle) Every edge is inident to t lest fes 3 F E E 3n 6 nd F n 4 The ompleity of the onve hull is O(n). The equlity holds when ll fes re tringles. When no three points re on line nd no four on plne, the fes of the onve hull re ll tringles. 0 0
11 Gift wrpping in 3D () Ide: generlize the D proedure. The wrpping element is plne insted of line. Pivot plne round the edges of the hull; find the smllest ngle of the plnes Π i ontining segment nd points p i Gift wrpping in 3D () Form tringulr fe ontining,, nd repet the opertion for edges nd. Strt from lowest edge in the onve hull nd work round nd upwrds until the wrp is over. e d f d
12 Gift wrpping in 3D (3) Algorithm sketh Mintin queue of fets nd emine their edges in turn, omputing for eh the smllest ngle with it. Compleity O(n) opertions re required t eh edge to find the minimum ngle. Eh edge is visited t most one. Sine there re O(n) edges, the ompleity is O(n ). In ft, it is O(n F ), where F is the numer of fets in the finl hull (s in D se). 3 Divide-nd nd-conquer in 3D Ide: generlize the D proedure. Reursively split the point set into two disjoint sets, ompute their hulls nd merge them in liner time. Reursion ends when 4 points re left (tetrededron). A B Key step: merging two disjoint onve polyhedr in O(n). 4
13 Merging two disjoint onve polyhedr Ide:. Identify the merge oundries of A nd B.. Crete new tringulr fes with two verties from the merge oundry of A nd one verte from the merge oundry of B (nd vie-vers). 3. Delete hidden fes of A nd B. Remrks: The hin of hidden fes strts nd ends t the merge oundry edges. The nd of new fes hs the topology of ylinder with no ps (it wrps round). 5 Merging two disjoint onve polyhedr Algorithm sketh. Find the lowest new edge of the hull formed y one verte of A nd one verte of B.. Pivot plne Π round edge to find the first p. 3. Form tringulr fe (p) nd repet with the new pivot edge formed y p nd its opposite (either or ) 4. Repet step 3 until the wrpping is done. 5. Delete the hidden fes y following the fes round A nd B whose edges re on the merge oundry. 6 3
14 Find the hull strting edge Strting edge How do we find the net point p? How do we know tht the fes will not self-interset? 7 Plne rottion Lemm: when the plne Π is rotted round segment, the first point enountered, must e djent to either or. Proof: y onveity rguments (omitted here) Only the neighors of edge need to e tested t eh time. Sine there re t most n neighors, the overll ompleity is O(n ). 8 4
15 Merge oundry tringultion. Strt from lowest hull edge. Alternte etween left nd right merge oundry points, reting tringles. No serh or testing neessry. Compleity: O(n). Overll ompleity: O(n ) Cn we do etter? O(n log n) Look gin t rottion Plne rottion improvement () Improvement: the testing of ll neigoring points is wsteful nd repets work. Only O(n) verties should e emined overll (mortized ost). Keep trk of A-winners nd B-winners: A-winner: the verte α djent to with smllest ngle. B-winner: the verte β djent to with smllest ngle. Lemm: If α i is winner t itertion i, the B-winner t the net itertion β i+ is ounterlokwise of β i round (sme for α nd β reversed proof omitted). 30 5
16 Divide nd Conquer in 3D (end) The numer of ndidte verties in eh loop itertion dereses monotonilly. Eh edge is emined t most twie opertion tkes O(n). Divide-nd onquer reurrene eqution: n T ( n) = T + O( n) Theorem: the onve hull of set of points in spe n e omputed in optiml O(n log n) ) time nd O(n) spe. Sme ompleity s D prolem! 3 Inrementl onve hull in 3D Ide: inrementlly dd point to onve polyhedr P Two ses:. The new point is inside P do nothing. The new point is outside of P fi P! Memership test is done in O(n) ) time. Wht needs to e done to dd point? 3 6
17 Inrementl onve hull in 3D How to updte the onve polyhedron:. Add fes from edges of the horizon to the new point.. Remove hidden fes strting from edges in the horizon. 33 Inrementl onve hull in 3D One we know wht the horizon is, oth opertions n e performed in O(n) ) time. 34 7
18 Fe visiility The visiility of fe F from point p n e determined y the signed volume of the tetrhedron formed y three points on the fe nd p. p p F F Visile V < 0 V = 6 p p y y y y p z z z z Not visile V > 0 35 Inrementl 3D onve hull lgorithm For ll fes, ompute the signed volume. Keep hidden fes nd disrd visile fes. Edges shring visile nd hidden fes form the horizon. Algorithm sketh Initilize CH to the tetrhedron (p,p,p 3,p 4 ) For eh remining point, do For eh fe F of CH, ompute the signed volume V of the tetrhedron formed y p nd F. Mrk F visile if V<0 If no fes re visile, disrd p (p is inside CH) Else for eh order fe F onstrut one fe. for eh visile fe F, delete F. 36 8
19 Compleity nd degeneries Overll ompleity is O(n ). Cn we do etter? Degenery: if points n e oplnr, oplnr tringles will e reted. This n e fied y deleting the shred digonl, therey reting lrger fe. 37 Improvement () Look-hed omputtion to mke it heper to find visile fets. Mintin for eh fet f of the urrent onve hull CH(P i ) onflit set: P onflit (f) {p i+, p n } ontining the points tht f n see. For eh point p j, j>i, mintin the set of fets of CH(P i ) visile from p j, lled F onflit (p j ) Point p j is in onflit with fe f euse one p j is dded, the fe must e deleted from the onve hull. 38 9
20 Improvement () We otin iprtite grph, lled the onflit grph G. Updte the onflit grph when dding p i : Disrd neighors of p i Add nodes to G for the newly reted fets nd disrd p i Find onflit list of new fets. All others remin unffeted! Algorithm sketh: dd points p, p n sequentilly, using the onflit grph G to determine visile fes. Compleity: O(n log n) epeted rndomized
21 Conve hulls in higher dimensions Prolem: given n points in R d, find their onve hull (lso lled onve polytope). Fes eome hyperfes of dimension,3,,d. Hyperfes form grph struture where djenies etween fetures of dimension i nd i re stored. Some of the previous lgorithms sle up (pplile in priniple) with proper etensions. Theorem : the onve hull of n points in d-dimensionl spe hs t most d / Ω( n ) hyperfes. Theorem : the onve hull n e omputed with the gift-wrpping lgorithm in d / + d / Ω( n ) + Ω( n log n) 4
3D convex hulls. Convex Hull in 3D. convex polyhedron. convex polyhedron. The problem: Given a set P of points in 3D, compute their convex hull
Convex Hull in The rolem: Given set P of oints in, omute their onvex hull onvex hulls Comuttionl Geometry [si 3250] Lur Tom Bowoin College onvex olyheron 1 2 3 olygon olyheron onvex olyheron 4 5 6 Polyheron
More information2 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 informationParadigm 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 informationCOMP108 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 informationGeometric 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 informationFinal 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 information10.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 informationLesson 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 informationCS 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 informationCS 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 informationComputational 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 informationProblem 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 informationCS553 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 informationLecture 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 informationWidth and Bounding Box of Imprecise Points
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,
More informationLecture 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 informations 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 informationLecture 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 informationV = set of vertices (vertex / node) E = set of edges (v, w) (v, w in V)
Definitions G = (V, E) V = set of verties (vertex / noe) E = set of eges (v, w) (v, w in V) (v, w) orere => irete grph (igrph) (v, w) non-orere => unirete grph igrph: w is jent to v if there is n ege from
More informationLast Time? Ray Casting II. Explicit vs. Implicit? Assignment 1: Ray Casting. Object-Oriented Design. Graphics Textbooks
Csting II Lst Time? Csting / Tring Orthogrphi Cmer epresenttion (t) = origin + t * diretion -Sphere Intersetion -lne Intersetion Impliit vs. Epliit epresenttions MIT EECS 6.837, Cutler nd Durnd 1 MIT EECS
More informationJournal 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 informationMITSUBISHI 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 informationArea & Volume. Chapter 6.1 & 6.2 September 25, y = 1! x 2. Back to Area:
Bck to Are: Are & Volume Chpter 6. & 6. Septemer 5, 6 We cn clculte the re etween the x-xis nd continuous function f on the intervl [,] using the definite integrl:! f x = lim$ f x * i )%x n i= Where fx
More informationDoubts 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 informationWhat 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 information6.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 informationGreedy 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 information6.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 informationChapter 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 informationDistance 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 informationCalculus 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 informationPythagoras theorem and trigonometry (2)
HPTR 10 Pythgors theorem nd trigonometry (2) 31 HPTR Liner equtions In hpter 19, Pythgors theorem nd trigonometry were used to find the lengths of sides nd the sizes of ngles in right-ngled tringles. These
More information! Data mining. ! VLSI design. ! Computer vision. ! Mathematical models. ! Astronomical simulation. ! Geographic information systems.
Geometri Algorithms Geometri Algorithms Applitions.! Dt mining.! VLSI design.! Computer vision.! Mthemtil models.! Astronomil simultion.! Geogrphi informtion systems. irflow round n irrft wing! Computer
More informationTiling Triangular Meshes
Tiling Tringulr Meshes Ming-Yee Iu EPFL I&C 1 Introdution Astrt When modelling lrge grphis senes, rtists re not epeted to model minute nd repetitive fetures suh s grss or snd with individul piees of geometry
More informationCS311H: Discrete Mathematics. Graph Theory IV. A Non-planar Graph. Regions of a Planar Graph. Euler s Formula. Instructor: Işıl Dillig
CS311H: Discrete Mthemtics Grph Theory IV Instructor: Işıl Dillig Instructor: Işıl Dillig, CS311H: Discrete Mthemtics Grph Theory IV 1/25 A Non-plnr Grph Regions of Plnr Grph The plnr representtion of
More informationLine 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 informationGrade 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 information12/9/14. CS151 Fall 20124Lecture (almost there) 12/6. Graphs. Seven Bridges of Königsberg. Leonard Euler
CS5 Fll 04Leture (lmost there) /6 Seven Bridges of Königserg Grphs Prof. Tny Berger-Wolf Leonrd Euler 707-783 Is it possile to wlk with route tht rosses eh ridge e Seven Bridges of Königserg Forget unimportnt
More informationRight 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 informationa 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 informationOutline. CS38 Introduction to Algorithms. Graphs. Graphs. Graphs. Graph traversals
Outline CS38 Introution to Algorithms Leture 2 April 3, 2014 grph trversls (BFS, DFS) onnetivity topologil sort strongly onnete omponents heps n hepsort greey lgorithms April 3, 2014 CS38 Leture 2 2 Grphs
More informationCS453 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 informationStained 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 informationa < 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 information1 Quad-Edge Construction Operators
CS48: Computer Grphics Hndout # Geometric Modeling Originl Hndout #5 Stnford University Tuesdy, 8 December 99 Originl Lecture #5: 9 November 99 Topics: Mnipultions with Qud-Edge Dt Structures Scribe: Mike
More informationA 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 informationPROBLEM OF APOLLONIUS
PROBLEM OF APOLLONIUS In the Jnury 010 issue of Amerin Sientist D. Mkenzie isusses the Apollonin Gsket whih involves fining the rius of the lrgest irle whih just fits into the spe etween three tngent irles
More informationCMPUT101 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 informationF. 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 informationUNCORRECTED 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 information8.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 informationB. 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 informationIn the last lecture, we discussed how valid tokens may be specified by regular expressions.
LECTURE 5 Scnning SYNTAX ANALYSIS We know from our previous lectures tht the process of verifying the syntx of the progrm is performed in two stges: Scnning: Identifying nd verifying tokens in progrm.
More informationOutline. 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 information50 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 informationDistance vector protocol
istne vetor protool Irene Finohi finohi@i.unirom.it Routing Routing protool Gol: etermine goo pth (sequene of routers) thru network from soure to Grph strtion for routing lgorithms: grph noes re routers
More informationMath 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 informationType Checking. Roadmap (Where are we?) Last lecture Context-sensitive analysis. This lecture Type checking. Symbol tables
Type Cheking Rodmp (Where re we?) Lst leture Contet-sensitie nlysis Motition Attriute grmmrs Ad ho Synt-direted trnsltion This leture Type heking Type systems Using synt direted trnsltion Symol tles Leil
More informationPolygonal Approximation of Voronoi Diagrams of a Set of Triangles in Three Dimensions Marek Teichmann Seth Teller MIT Computer Graphics Group Abstract
Polygonl Approximtion of Voronoi Digrms of Set of Tringles in Three Dimensions Mrek Teihmnn Seth Teller MIT Computer Grphis Group Astrt We desrie roust dptive mrhing tetrhedr type lgorithm for onstruting
More informationChapter 4 Fuzzy Graph and Relation
Chpter 4 Fuzzy Grph nd Reltion Grph nd Fuzzy Grph! Grph n G = (V, E) n V : Set of verties(node or element) n E : Set of edges An edge is pir (x, y) of verties in V.! Fuzzy Grph ~ n ( ~ G = V, E) n V :
More informationINTRODUCTION 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 informationMa/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 informationTight 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 informationCOMMON 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 informationAdvanced Programming Handout 5. Enter Okasaki. Persistent vs. Ephemeral. Functional Queues. Simple Example. Persistent vs.
Avne Progrmming Hnout 5 Purel Funtionl Dt Strutures: A Cse Stu in Funtionl Progrmming Persistent vs. Ephemerl An ephemerl t struture is one for whih onl one version is ville t time: fter n upte opertion,
More informationGENG2140 Modelling and Computer Analysis for Engineers
GENG4 Moelling n Computer Anlysis or Engineers Letures 9 & : Gussin qurture Crete y Grn Romn Joles, PhD Shool o Mehnil Engineering, UWA GENG4 Content Deinition o Gussin qurture Computtion o weights n points
More informationChapter44. Polygons and solids. Contents: A Polygons B Triangles C Quadrilaterals D Solids E Constructing solids
Chpter44 Polygons nd solids Contents: A Polygons B Tringles C Qudrilterls D Solids E Constructing solids 74 POLYGONS AND SOLIDS (Chpter 4) Opening prolem Things to think out: c Wht different shpes cn you
More informationTopics in Analytic Geometry
Nme Chpter 10 Topics in Anltic Geometr Section 10.1 Lines Objective: In this lesson ou lerned how to find the inclintion of line, the ngle between two lines, nd the distnce between point nd line. Importnt
More informationReview 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 informationDuality 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 informationarxiv: v1 [math.co] 18 Sep 2015
Improvements on the density o miml -plnr grphs rxiv:509.05548v [mth.co] 8 Sep 05 János Brát MTA-ELTE Geometric nd Algeric Comintorics Reserch Group rt@cs.elte.hu nd Géz Tóth Alréd Rényi Institute o Mthemtics,
More informationQuadrilateral and Tetrahedral Mesh Stripification Using 2-Factor Partitioning of the Dual Graph
The Visul omputer mnusript No. (will e inserted y the editor) Plo Diz-Gutierrez M. Gopi Qudrilterl nd Tetrhedrl Mesh Stripifition Using 2-Ftor Prtitioning of the Dul Grph strt In order to find 2-ftor of
More informationRigid Body Transformations
igid od Kinemtics igid od Trnsformtions Vij Kumr igid od Kinemtics emrk out Nottion Vectors,,, u, v, p, q, Potentil for Confusion! Mtrices,, C, g, h, igid od Kinemtics The vector nd its skew smmetric mtri
More informationZZ - Advanced Math Review 2017
ZZ - Advnced Mth Review Mtrix Multipliction Given! nd! find the sum of the elements of the product BA First, rewrite the mtrices in the correct order to multiply The product is BA hs order x since B is
More informationSlides 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 informationThe Complexity of Nonrepetitive Coloring
The Complexity of Nonrepetitive Coloring Dániel Mrx Institut für Informtik Humoldt-Universitt zu Berlin dmrx@informtik.hu-erlin.de Mrcus Schefer Deprtment of Computer Science DePul University mschefer@cs.depul.edu
More informationMa/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 informationReprinted from "Algorithm Design" by M. T. Goodrich and R. Tamassia (c) 2002 John Wiley & Sons Inc.
Reprinted from "Algorithm Design" by M. T. Goodrich nd R. Tmssi (c) 2002 John Wiley & Sons Inc. 572 Chpter 12. Computtionl Geometry 12.5 Convex Hulls One of the most studied geometric problems is tht of
More informationCompact 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 informationMA1008. 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 information9.1 apply the distance and midpoint formulas
9.1 pply the distnce nd midpoint formuls DISTANCE FORMULA MIDPOINT FORMULA To find the midpoint between two points x, y nd x y 1 1,, we Exmple 1: Find the distnce between the two points. Then, find the
More informationReview 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 informationIntroduction 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 information4-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 information10.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 information1.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 informationA 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[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 informationIf 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 informationBefore We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1):
Overview (): Before We Begin Administrtive detils Review some questions to consider Winter 2006 Imge Enhncement in the Sptil Domin: Bsics of Sptil Filtering, Smoothing Sptil Filters, Order Sttistics Filters
More informationCOMP 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 informationChapter 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 informationMeasurement 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 information5 ANGLES AND POLYGONS
5 GLES POLYGOS urling rige looks like onventionl rige when it is extene. However, it urls up to form n otgon to llow ots through. This Rolling rige is in Pington sin in Lonon, n urls up every Friy t miy.
More informationSection 5.3 : Finding Area Between Curves
MATH 9 Section 5. : Finding Are Between Curves Importnt: In this section we will lern just how to set up the integrls to find re etween curves. The finl nswer for ech emple in this hndout is given for
More informationGeometric transformations
Geometric trnsformtions Computer Grphics Some slides re bsed on Shy Shlom slides from TAU mn n n m m T A,,,,,, 2 1 2 22 12 1 21 11 Rows become columns nd columns become rows nm n n m m A,,,,,, 1 1 2 22
More informationCSCI 104. Rafael Ferreira da Silva. Slides adapted from: Mark Redekopp and David Kempe
CSCI 0 fel Ferreir d Silv rfsilv@isi.edu Slides dpted from: Mrk edekopp nd Dvid Kempe LOG STUCTUED MEGE TEES Series Summtion eview Let n = + + + + k $ = #%& #. Wht is n? n = k+ - Wht is log () + log ()
More informationMTH 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 informationMATH 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 informationCOSC 6374 Parallel Computation. Non-blocking Collective Operations. Edgar Gabriel Fall Overview
COSC 6374 Prllel Computtion Non-loking Colletive Opertions Edgr Griel Fll 2014 Overview Impt of olletive ommunition opertions Impt of ommunition osts on Speedup Crtesin stenil ommunition All-to-ll ommunition
More information