c 2014 Society for Industrial and Applied Mathematics

Size: px
Start display at page:

Download "c 2014 Society for Industrial and Applied Mathematics"

Transcription

1 SIAM J. COMPUT. Vol. 43, No. 1, pp c 2014 Society for Industril nd Applied Mthemtics ON A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION ARMAN YOUSEFI AND NEAL E. YOUNG Astrct. Minimum-weight tringultion (MWT) is NP-hrd. It hs polynomil-time constnt-fctor pproximtion lgorithm, nd vriety of effective polynomil-time heuristics tht, for mny instnces, cn find the exct MWT. Liner progrms (LPs) for MWT re well-studied, ut previously no connection ws known etween ny LP nd ny pproximtion lgorithm or heuristic for MWT. Here we show the first such connections: For n LP formultion due to Dntzig, Hoffmn, nd Hu [Mth. Progrmming, 31 (1985), pp. 1 14], (i) the integrlity gp is constnt, nd (ii) given ny instnce, if the forementioned heuristics find the MWT, then so does the LP. Key words. integrlity gp liner progrmming, minimum-weight tringultion, pproximtion lgorithm, AMS suject clssifictions. 68W25, 68U05, 90C59, 68Q25, 90C10, 90C35, 68W40, 90C05, 90C27, 90C90, 90C08 DOI / Introduction. In 1979, Grey nd Johnson [16] listed minimum-weight tringultion (MWT) s one of dozen importnt prolems known to e neither in P nor NP-hrd. In 2006 the prolem ws finlly shown to e NP-hrd [29]. The prolem hs suexponentil time exct lgorithm [33], s well s polynomil-time pproximtion scheme (PTAS) for rndom inputs [19]. Currently it is not known whether, for some constnt c>1, finding c-pproximtion is NP-hrd, ut this is unlikely, s qusi polynomil-time pproximtion scheme exists [32]. MWT hs n O(log n)- pproximtion lgorithm [31] nd, most importnt here, n O(1)-pproximtion lgorithm clled QusiGreedy [25]. The constnt in the ig-o upper ound from [25] is stronomiclly lrge. If restricted to simple polygons, MWT hs well-known O(n 3 )-time dynmicprogrmming lgorithm [18, 23]. Polynomil-time lgorithms lso exist for instnces with constnt numer of shells [2] nd for instnces with only constnt numer of vertices in the interior of the region R to e tringulted [17, sect ]; lso see [20, 5, 34, 24]. Liner progrm (LP) of Dntzig, Hoffmn, nd Hu for MWT. Liner-progrmming methods re primry prdigm for the design of pproximtion lgorithms. For mny hrd comintoril optimiztion prolems, especilly so-clled pcking nd covering prolems, the polynomil-time pproximtion lgorithm with the est pproximtion rtio is sed on liner progrmming, either vi rndomized rounding or the priml-dul method. The design of good pproximtion lgorithm is often synonymous with ounding the integrlity gp of n underlying LP. MWT hs severl strightforwrd liner-progrmming relxtions. Studying their Received y the editors August 13, 2012; ccepted for puliction (in revised form) Septemer 25, 2013; pulished electroniclly Jnury 21, An extended strct of this pper ppered in the proceedings of SODA 2012 [39]. Computer Science Deprtment, University of Cliforni, Los Angeles, Los Angeles, CA (yousefi@cs.ucr.edu). The reserch of this uthor ws prtilly funded y GAANN fellowship. Deprtment of Computer Science nd Engineering, University of Cliforni, Riverside, Riverside, CA (nel.young@ucr.edu). The reserch of this uthor ws prtilly funded y NSF grnts nd

2 26 ARMAN YOUSEFI AND NEAL E. YOUNG integrlity gps my led to etter pproximtion lgorithms, or my widen our understnding of generl methods nd their limittions (s stndrd rndomized rounding nd priml-dul pproches my e insufficient for MWT). Dntzig, Hoffmn, nd Hu [8] introduce the following LP (presented here s reformulted y [10]). Below, denotes the set of empty tringles. 1 R denotes the region to e tringulted, minus the sides of tringles in. The LP sks to ssign nonnegtive weight X t to ech tringle t so tht, for ech point p in the region, the tringles contining it re ssigned totl weight 1: (1.1) minimize c(x) = t c(t)x t suject to X R 0 nd ( p R) t p X t =1. Aove, R 0 is the set of vectors of nonnegtive rels, indexed y the tringles in. The cost c(t) of tringle t is the sum over the edges e in t of the cost c(e) oftheedge, defined to e e /2 (the length of e), unless e is on the oundry of R, inwhichcse the cost is e. (Internl edges re discounted y 1/2 since ny internl edge occurs in either zero or two tringles in ny tringultion.) R s specified is infinite, ut cn esily e restricted to polynomil-size set of points without wekening the LP. (E.g., let R contin, for ech possile edge e, twopointsp nd q, echononesideof e nd very ner e.) For the simple-polygon cse, the ove LP finds the exct MWT (every extreme point hs 0/1 coordintes, nd so corresponds to tringultion). This ws shown y Dntzig, Hoffmn, nd Hu [8, Thm. 7], then (pprently independently) y De Loer et l. [10, Thm. 4.1(i)] nd Kirsnov [22, Cor ]. For summries of these results, see [11, Chp. 8] nd [36]. Kirsnov descries n instnce ( 13-gon with point t the center) for which this LP hs integrlity gp just ove 1, s well s instnces (50 rndom points equidistnt from center point) tht re solved y the LP ut not y the heuristics descried lter. Other uthors hve considered edge-sed LPs, minly for use in rnch-ndound [26, 27, 30, 35, 3]. These edge-sed LPs hve unounded integrlity gps. LPs for mximl independent sets, which re well-studied, re closely relted to ll of the ove LPs, s tringultions cn e defined s mximl independent sets of tringles (or of edges). The ove LPs enforce some, ut not ll, well-studied inequlities for mximl independent sets. It is known to e NP-hrd to determine whether there exists tringultion whose edge set is suset of given set S [28]. For given set S, if we chnge the cost function in the ove LP to c(x) = e/ S t e X t, the LP will hve zero-cost integer solution iff there is such tringultion. Unless P = NP, this implies tht the LP with tht cost function hs unounded integrlity gp. 2 Thus, ny ound on the integrlity gp of the LP with the MWT cost function must rely intrinsiclly on tht cost function. Similrly, given n ritrry frctionl solution X, itisnp-hrd 1 Tht is, tringles lying in the region to e tringulted, whose vertices re in the given set of points, ut otherwise contin none of the given points. 2 If the LP hs ounded integrlity gp, it hs zero-cost frctionl solution iff it hs zero-cost integer solution.

3 A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION 27 to determine whether there is n integer solution in the support of X. 3 These re ostcles to stndrd rndomized-rounding methods. First new result: Integrlity gp is constnt. We show tht LP (1.1) hs constnt integrlity gp. This is the first nontrivil upper ound on the integrlity gp of ny MWT LP. To show it, we revisit the nlysis of QusiGreedy [25], which shows tht QusiGreedy produces tringultion of cost O( mwt(g) ), where mwt(g) is the length of the MWT of the given instnce G (nd lso the cost of the optiml integer solution to the LP). We generlize their rguments to show tht there exists tringultion of cost O(c(X )), where c(x ) is the cost of the optiml frctionl solution to the LP. Our nlysis lso reduces the pproximtion rtio in their nlysis y n order of mgnitude, ut the pproximtion rtio remins lrge constnt. MWT heuristics. Much of the MWT literture concerns polynomil-time heuristics tht, given n instnce, find edges tht must e in (or excluded from) ny MWT. Here is summry. Gilert [18] oserves tht the shortest potentil edge is in every MWT. Yng, Xu, nd You [38] extend this result y proving tht n edge xy is in every MWT if, for ny edge pq tht intersects xy, xy min{ px, py, qx, qy }. (We refer to the edges stisfying this property s the YXY-sugrph.) This sugrph includes every edge connecting two mutul nerest neighors. Keil [21] defines nother heuristic clled β-skeleton s follows. An edge pq is in the β-skeleton iff there does not exist point z in the point set such tht pzq rcsin(1/β). Thus, n edge pq is in the β-skeleton iff the interior of the two circles of dimeter β pq pssing through p nd q do not contin ny points. Keil [21] then shows tht for β 2, n edge tht is in β-skeleton is in every MWT. Cheng nd Xu [7] strengthen this to β 1/ sin k, where k π/3.1. Ds nd Joseph [9] show tht n edge e cnnot e in ny MWT if oth of the two tringles with se e nd se ngle π/8 contin other vertices. Drysdle, McElfresh, nd Snoeyink [15] strengthen this to ngle π/4.6. This property of e is clled the dimond property. Dickerson, Keil, nd Montgue [12] descrie simple locl-minimlity property such tht, if n edge e lcks the property, the edge cnnot e in ny MWT. Using this, they show tht the so-clled LMT-skeleton must e in the MWT. A primry use of the heuristics is to solve some instnces of MWT exctly in polynomil time s follows: Given n instnce, use the heuristics to identify edges tht re in the MWT. If the regions left untringulted y these edges re simple polygons (equivlently, if the edges spn the given points), then find the MWT of ech region independently using the stndrd dynmic-progrmming lgorithm. (The MWT will e the union of the MWT s of the regions.) According to [12], most rndom instnces with 40,000 points re solvle in this wy. Second new result: The LP generlizes heuristics. We show tht LP (1.1) generlizes these heuristics in tht if the heuristics solve given instnce s descried ove, 3 Given n ritrry suset S of the edges, the prolem of determining whether S contins tringultion reduces to the prolem of determining whether there is n integer solution in the support of given frctionl solution to the LP, s follows. Let set S consist of the empty tringles whose edges re in S, sos contins tringultion (y edges) iff S contins tringultion (y tringles). For ech tringle t S, solve the LP with the cost function tht gives t cost zero, every other tringle in S cost one, nd ll tringles not in S cost infinity. If (for ny t S )the LP for t hs no finite-cost fesile solution, then S contins no tringultion. Otherwise, for ech t S,letX t denote n optiml frctionl solution to the LP for t. Let X = t S Xt / S e the verge of these frctionl solutions. Becuse of the choice of the cost function, if given X t does not give positive weight to t, then no (integer) tringultion in S contins t. Thus, S contins tringultion iff there is tringultion in the support of X.

4 28 ARMAN YOUSEFI AND NEAL E. YOUNG then so does the LP (tht is, the extreme points of the LP re integer solutions incidence vectors of optiml tringultions). In this sense, the LP, whose formultion requires little explicit geometry, generlizes ll of these vried nd generlly incomprle heuristics. (In fct, the LP ppers to e stronger thn the heuristics in tht some nturl instnces re solved y the LP, ut not y the heuristics [22, sect. 3.5]. 4 ) This is the first connection we know of etween the heuristics nd ny MWT LP. Roughly speking, the heuristics re sed on comintion of (i) loclimprovement rguments out the MWT, nd (ii) logicl closure (once the heuristic determines the sttus of one edge with respect to the MWT, this in turn determines the sttus of other edges, nd so on). We extend these rguments to pply to the optiml frctionl tringultion X. This is possile ecuse (i) X looks loclly like n MWT, nd (ii) the LP enforces logicl closure of liner constrints on X. After we finished the ody of this work, we ecme wre of nd exmined dditionl heuristics y Wng, Chin, nd Xu [37] nd Aichholzer et l. [1]. We conjecture tht the LP generlizes them s well. An equivlent formultion of the LP. The following constrints re equivlent to the lst constrints in LP (1.1) (see, e.g., [10, Thm. 1.1(i), Prop. 2.5], [36], or [22, Thm ]) nd re useful for resoning out frctionl tringultions. For ny frctionl tringultion X nd edge e, (1.2) = [e oundry(r)]. t left(e) X t t right(e) X t Here left(e) contins the tringles tht contin e nd lie on one side of e, while right(e) contins the tringles tht contin e nd lie on the other side of e. (If e is on the oundry, tke right(e) =.) The nottion [x S] denotes 1 if x S nd 0 otherwise. Prcticl considertions. Using the O(n 2 ) constrints (1.2) insted of the constrints in (1.1) gives n equivlent LP with totl size (i.e., nonzeros in the constrint mtrix) proportionl to the numer of empty tringles. The empty tringles cn e identified, nd the LP constructed, in time proportionl to their numer [14]. Their numer is lwys O(n 3 ), ut often smller (e.g., O(n 2 )inexpecttionforrndomly distriuted points). The time to construct nd solve the LP cn e further reduced y preprocessing step sed on the heuristics remove ny vrile X t if the heuristics prove ny edge of t to e excluded from every MWT, nd dd constrint t left(e) X t = t right(e) X t = 1 if they prove tht n interior edge e is in every MWT. For rndomly distriuted points, only O(n) edges (in expecttion) hve the dimond property, forming O(n 2 ) possile empty tringles, from which the modified LMT-skeleton cn e computed in O(n 2 )-time [12, 13]. In our d hoc experiments on typicl instnces with 10 4 to 10 5 points, only smll numer of vriles were left undetermined y the heuristics. This llowed us to use stndrd liner-progrmming solvers to quickly solve the remining LP. (This is in keeping with the experiments of [12], which found tht most rndom instnces on 40,000 points were solvle y heuristics.) Similrly, this preprocessing should help integer liner-progrmming solvers to quickly find the MWT (for instnces for which the optiml solution is frctionl). It is known tht, symptoticlly, for n rndom points, the expected numer of remining vriles is Ω(n), ut the leding constnt is pprently stronomiclly smll [6]. Remrks. The results here suggest tht the LP of [8] cptures much of the structure of MWT. This suggests line of ttck for improving the pproximtion rtio: 4 Where G contins the center of unit circle nd n 1 rndom points on the circle.

5 A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION 29 use systemtic liner-progrmming methods such s rndomized rounding, the primldul method, nd lift-nd-project [4] to study the integrlity gp of the LP. Success would yield etter pproximtion (conceivly, even PTAS, using lift-nd-project). Filure would increse our understnding of the limittions of these techniques. Implicit in our ound on the integrlity gp is polynomil-time lgorithm with mtching pproximtion rtio. Actully, there re two. Both lgorithms first compute Levcopoulos nd Krznric s [25] convex prtition lk of the point set (see our Lemm 2.15), then extend lk y tringulting ech fce f of lk. The tringultion of ech f cn e done either () using the stndrd dynmic progrm to find n MWT of f, or () s follows: compute the frctionl solution X to the LP, then, for ech fce f of lk, trnspose X into frctionl tringultion X f of f (s descried in section 2.1), nd then use the chepest tringultion of f implicit in X f. Tht the first lgorithm ove is n O(1)-pproximtion lgorithm follows from Levcopoulos nd Krznric s previous work [25]. However, the ound we show here 54(λ + 1), whereλ is lrge constnt per Lemm 2.15 is sustntilly smller thn their previous ound. Roughly speking, we otin etter ound y nlyzing the trnsposl opertion t the level of tringles insted of edges. Open prolems. The integrlity gp is constnt, ut there is still huge gp etween the est lower ound known (rely ove 1.0) nd the upper ound shown here (stronomiclly lrge). The next step in improving our upper ound would e to reduce the vlue of λ in Lemm We suspect tht priml-dul nlysis is implicit in the nlysis here; mking the dul solution explicit might e step in this direction. Mny different cost functions (other thn the totl edge length) for tringultions re studied in the literture. The MWT LP extends nturlly y modifying the cost function or restricting the set of llowed tringles. (For exmple, the integrlity of the extreme points of the LP for the simple-polygon cse implies tht the simple-polygon result generlizes to ny liner cost function.) We conjecture tht results similr to those in this pper cn e otined for other cost functions. If MWT heuristics cn solve given instnce of MWT, then so cn the LP. However, the heuristics re lso useful for instnces tht they do not completely solve: in such instnces, the heuristics cn still identify some edges tht re in (or excluded from) every MWT, even if these do not completely determine the tringultion. Cn some nlogous property e shown for the LP? Tht is, is there some condition (e.g., sed on the optiml priml-dul solution to the LP) such tht, if the condition holds for n edge e, tht edge must e in (or excluded from) every MWT? Definition 1.1. The interior of segment pq is pq {p, q}. The interior of polygon P consists of P minus its oundry. Two sets properly intersect (or overlp, or cross) if the intersection of their interiors is nonempty. The (Eucliden) length of line segment pq is denoted pq. For ny set E of segments, E 2 denotes the totl length of segments in E. A plnr stright-line grph (PSLG) is n undirected grph G =(V,E) long with plnr emedding tht identifies ech vertex with plnr point nd ech edge with the line segment connecting its endpoints, so tht ech edge intersects other edges (nd V ) only t its endpoints. The length of G is the sum of the Eucliden lengths of its edges. G prtitions the plne into polygonl fces. 5 A fce or polygon is empty if its interior contins no vertex. 5 Where two points re in the sme fce if there is pth etween them tht intersects no edge, with the cvet tht the term fce excludes the single such unounded region.

6 30 ARMAN YOUSEFI AND NEAL E. YOUNG A digonl, or potentil edge, ofg is ny segment pq E connecting two vertices of fce, nd contined in tht fce, so tht G =(V,E {pq}) is still PSLG. A prtition of G is PSLG tht extends G y dding (noncrossing) digonls; equivlently, the fces of the prtition refine the fces of G. A convex prtition of G is prtition whose fces re empty nd strictly convex. The minimum-length convex prtition of G is denoted mcp(g). Atringultion of G is prtition whose fces re empty tringles. A frctionl tringultion X is fesile solution to the LP. For ny potentil edge e, theweight of edge e in X, denotedx e,is t e X t if e is on the oundry of the region to e tringulted, nd otherwise hlf this mount. Formlly, n instnce of MWT is specified y plnr point set V,implicitly defining PSLG G =(V,E), where E contins the edges on the oundry of the convex hull of V. A solution is minimum-length tringultion of G. Throughout, we fix n instnce G =(V,E) of MWT specified y given point set V. Unless stted otherwise, every grph considered is prtition of G. Since the vertex set V is the sme for ll such grphs, we identify ech prticulr grph y its edge set. 2. Integrlity gp is constnt. This section proves our first new result. Theorem 2.1. Given ny instnce G = (V,E) of MWT, for ny frctionl tringultion X, there exists n integer solution of vlue O(c(X)). Tht is, LP (1.1) hs constnt integrlity gp. Proof. Fix the MWT instnce G nd n ritrry frctionl tringultion X. Fix convex prtition cp of G. (Lter, we will fix cp to e prticulr convex prtition lk with some prticulr properties.) The ide of the proof is to define rounding procedure tht converts X into the desired integer solution. The procedure frctures X into seprte frctionl tringultion X f for ech fce f of cp (where X f covers exctly f). Then, independently within ech fce f of cp, the procedure replces the frctionl tringultion X f y the optiml integer tringultion of f. The finl rounded solution is then the union of these integer tringultions (one for ech fce f of cp), of totl cost t most f cp c(xf ) (nd, hopefully, O(c(X))). In the second step, since ech f is simple polygon, it follows from known results (see, e.g., [8, Thm. 7]; lso see the introduction) tht the cost of the optiml integer tringultion of f is t most the cost of X f. Thus, the integrlity gp will e O(1) s long s the first step tringultes the fces so tht f c(xf )=O(c(X)). The proof is divided into two prts: (i) descriing correct rounding procedure tht frctures X into frctionl tringultion X f for ech fce f of cp (we cll this trnsposing X into f), nd (ii) ounding the cost f c(xf )yo(c(x)) Prt (i) frcturing X into the fces of CP. Fix ny fce f of cp of the convex prtition cp. Our gol is to convert X into frctionl tringultion X f of f. We strt with the oservtion tht X, restricted to tringles tht cross f, cne seprted into independent lyers, where ech lyer is set of tringles tht uniformly covers f (nd possily some points outside f). We sy such lyer lnkets f. Definition 2.2 (lnket). A set B of empty polygons with endpoints in V lnkets the fce f if the union of the polygons contins f nd no two polygons overlp within f (they my overlp outside f). In this susection, the polygons in lnkets re lwys tringles. The next lemm descries how to decompose X (over f) intolnkets. Lemm 2.3. There exists set B of lnkets (ech contining only tringles)

7 A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION 31 x 1 x 2 Fig. 1. nd weights ɛ B > 0 for ech B Bsuch tht B B ɛ B =1nd, for every tringle t crossing f, X t = B B [t B] ɛ B. Recll tht [t B] is 1 if t is in B, else 0. Proof. Recll tht, for MWT instnces consisting of simple polygon, the LP gives optiml 0/1 solutions (see, e.g., [8, Thm. 7]). We dpt proof of tht property. Choose ny tringle t tht crosses f nd hs X t > 0. If t completely covers f, then stop nd tke B = {t}. Otherwise,someedgee of tringle t crosses the interior of f. Since e hs positive weight, there must e positive-weight tringle t tht hs e s n edge nd lies on e s opposite side (this is implied y constrint (1.2)). Glue t nd t together to form polygonl region. Continue in this wy, growing the polygonl region y repetedly gluing new tringle to ny oundry edge e tht crosses f. Stop when the region hs no oundry edge tht crosses f. The tringles glued together in this wy form the lnket B. Let ɛ B e the minimum weight of ny tringle in B. This gives the first lnket B nd its weight ɛ B. Sutrct ɛ B from ech X t for t B. This reduces X s coverge of f uniformly y ɛ B. To generte the remining lnkets in B (nd their weights), iterte this process s long s X still covers f with positive (nd necessrily uniform) weight. (The process does terminte, s ech itertion rings some X t to zero.) Fix the set B of lnkets of f from Lemm 2.3 nd the corresponding weights ɛ B. We next descrie how to convert ny single lnket B Bintotrue tringultion B f of f. The finl frctionl tringultion X f will e the convex comintion of these tringultions, where the tringultion of B is given weight ɛ B. Recll tht ny lnket B Bconsists of tringles tht together uniformly cover the convex fce f (nd my extend outside of f). To define the tringultion B f,we strt with edge trnsposls (see, e.g., Lemm 4.2 of [25]). For ny edge e tht crosses f, trnsposing e in f slides e to its trnsposl, denoted e f, digonl of f tht hs minimum length mong four or fewer digonls tht re ner e. Wegivetheforml definition next, nd then extend tht to define trnsposls of tringles nd lnkets B B. Definition 2.4 (trnsposing n edge [25]; see Figure 1). Fix ny tringle edge e = x 1 x 2 tht crosses f (tht is, tht intersects the oundry of f in two points or long n edge). The trnsposl of e in f, denoted e f, is defined y the following opertion: Clip the edge x 1 x 2 to chord x 1 x 2 =(x 1x 2 ) f of f. For ech endpoint x i of x 1x 2, if the endpoint lies in the interior of n edge e of f (s opposed to eing vertex of f), then slide x i long e to one of the endpoints of e, clled the destintion of x i. Otherwise (the endpoint is vertex of f), tke tht vertex s the destintion. Choose the destintions (for those where there is choice) to minimize the length of the digonl tht connects the destintions. (Brek ties consistently.) The resulting digonl is e f.

8 32 ARMAN YOUSEFI AND NEAL E. YOUNG Y Z Y Z Y Z Fig. 2. Next we define wht it mens to trnspose tringles nd lnkets. We give somewht uninformtive forml definition, then descrie the importnt properties. Definition 2.5. For ny tringle t, thetrnsposl of t in f, denotedt f,isthe convex hull of the endpoints of the trnsposls of the edges of t tht cross f. For ny lnket B B,thetrnsposl of B in f, denotedb f, is the set contining, for ech tringle t B, the trnsposl t f of t. Tht is, B f = {t f t B}. Consider lnket B B. By definition, the edges of tringles in B do not cross within f. But, priori, their trnsposls might. We next rgue tht this is not the cse. In fct, we prove more: roughly speking, tht trnsposing preserves the topology of the prtition tht B induces on f. More precisely, consider tht prtition, which comes from clipping the edges of the tringles in B into f sshowninfigure 2. Consider ny edge YZ. Focus on just those chords tht hve n endpoint in the interior of YZ. Order these chords, s shown in the left picture, ccording to the order of their endpoints on YZ going from Y to Z. For chords shring n endpoint on YZ, rek ties in fvor of chords tht len closer to Y. Lemm 2.6 (trnsposing preserves order). In the ove ordering of chords long YZ, ll chords whose endpoints hve trnsposl destintion Y precede ll chords whose endpoints hve destintion Z. (Informlly, when trnsposing the edges, when we slide the endpoints to their destintions, the endpoints tht slide to Y precede the endpoints tht slide to Z, sonocrossingsreintroduced.) Proof. Without loss of generlity, ssume tht Z lies (one vertex) clockwise of Y. Focus on the chords xw, wherex is in the interior of YZ. Let C Y contin those chords whose endpoint x hs destintion Y.LetC Z contin those whose endpoint x hs destintion Z. We show tht, if we leve Y nd trvel counterclockwise round the oundry to Z, we encounter the chords in C Y efore we encounter the chords in C Z. This proves the clim, ecuse, s chords in C do not cross, s we trvel counterclockwise we must encounter chords in the sme order tht we would if trveling clockwise from Y to Z. Consider the perpendiculr isector of YZ. Since f is convex, the isector intersects the oundry of f t single point cross from YZ. Suppose tht this intersection point is in the interior of some edge sshowninfigure3. (Ifthe intersection is vertex of f, tke to e tht point nd follow similr resoning.) As we trvel counterclockwise from Y to Z, until we pss the first endpoint of, every chord endpoint w tht we encounter is in some edge e of f tht lies entirely on the Y -side of the isector. Since oth endpoints of e re closer to Y thn to Z, no mtter which endpoint of e is the destintion of w, the destintion of x will definitely e Y. Thus, until we pss the first endpoint of, we encounter only chords in C Y. As we trvel through the interior of edge (or, if is point, through ) for ll chord endpoints w tht we encounter, their chords xw will hve the sme trnsposl (since x is in the interior of YZ nd w is in the interior of, nd trnsposing reks ties consistently). Thus, trveling through, either we encounter only chords in C Y, or we encounter only chords in C Z.

9 A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION 33 Y x Z Y w Z Fig. 3. c d e f x Y Z c d e f Z c d e f c d e f 1. Y 2. Y 3. Y 4. Y 5. Z Z c d Z Fig. 4. Once we pss the other endpoint of, until we rech Z, everychordthtwe encounter is n edge of f tht lies entirely on the Z-side of the isector, so, resoning s efore, we encounter only chords in C Z. Becuse trnsposing preserves order, the topologicl structure of the trnsposl of ny lnket B is inherited from the prtition tht B induces on f. Seetheexmple in Figure 4. Figure 4 shows five copies of fce f (with gry ckground). Copy 1 shows the fce lnketed y six tringles. In copy 2, the tringle edges re clipped to their chords in the fce, giving the prtition tht B induces on f. In copies 3 through 5, ech chord is shifted to its edge trnsposl y sliding ech endpoint to its destintion. Copy 5 shows the resulting edge trnsposls nd the trnsposl of B in f. Clerly, in the prtition tht B induces on f (copy 2) ech region is of the form t f for some t B. Becuse trnsposing preserves order, moving the edges of tht prtition to their trnsposls preserves the topologicl structure of the prtition: the trnsposl B f of B (copy 5) is convex prtition of f whose edges re the trnsposls of the edges of B, nd whose regions re the trnsposls of the tringles in B. Also, for ech tringle t B, the oundry of its trnsposl t f consists of the trnsposls of the edges of t, together with up to three edges of f. The trnsposl of lnket is convex prtition of the fce, ut not quite tringultion, ecuse ech of its regions my hve up to six sides. To get tringultion, we simply tringulte ech of its regions. Definition 2.7. The tringulted trnsposl of tringle t in f, denoted t f, is the MWT of the trnsposl t f,excepttht,ift f hs no re, then t f is the empty set. The tringulted trnsposl of lnket B in f, denoted B f,istheunionofthe tringulted trnsposls of the tringles in the lnket. The trnsposl B f is convex prtition of f whose regions re the trnsposls of the tringles in B, so the tringulted trnsposl of B indeed tringultes f.

10 34 ARMAN YOUSEFI AND NEAL E. YOUNG Finlly, we define the frctionl tringultion X f of f. We strt with the frctionl tringultion X. We restrict X to tringles crossing f. We decompose this restriction of X into convex comintion of lnkets of f (per Lemm 2.3). Then, in this convex comintion, we replce ech lnket B y its tringulted trnsposl B f, tringultion of f. 6 Here is the forml definition. Definition 2.8. Define the trnsposl of X in f, denotedx f, to e the frctionl tringultion of f formed y the convex comintion of the trnsposls of the lnkets in B so tht X f t = B B[t B f ] ɛ B. We now complete Prt (i) of the proof of Theorem 2.1. Lemm 2.9. Fix ny frctionl tringultion X nd ny convex fce f. The trnsposl X f of X in f defined ove is fesile frctionl tringultion of f. Tht is, it covers the points in f uniformly with weight 1. Proof. As discussed, this holds ecuse X f is convex comintion of tringultions of f. Indeed, it covers ech point p in f with totl weight [p t]x f t = [p t] [t B f ]ɛ B = ɛ B [p t] = ɛ B = 1. t t B B B B t B f B B The first equlity is y definition of X f. The second just exchnges the order of summtion. The third holds ecuse B f tringultes f (so exctly one t B f contins p). The lst follows y Lemm Prt (ii) ounding the cost. Fix the convex prtition cp nd frctionl solution X. By Lemm 2.9, for ech fce f of cp, the trnsposl X f s defined in Prt (i) is frctionl tringultion of f. To complete the proof of Theorem 2.1, we ound the sum of the costs of these frctionl tringultions. We strt y oserving tht we cn view X f s tking the weight of ech tringle t in X nd trnsferring tht weight to (every tringle in) the tringulted trnsposl t f of t in f. Fct X f t = X t. t : t t f Proof. X f t = [t B f ]ɛ B = B B B B [t t f ]ɛ B = t B t : t t f B B [t B]ɛ B = t : t t f X t. The first equlity is the definition of X f. The second holds y definition of Bf (nmely, t B f iff t t f for some t B). The third just exchnges the order of summtion. The lst follows from Lemm 2.3. So fr, we hve considered how lnket of tringles trnsposes into single f. Next we consider how single tringle t trnsposes cross multiple fces. Of course, given tringle t cn cross mny fces, ut in ll ut two its trnsposl will hve no re (nd thus will ply no prt in the tringulted trnsposl of X in f). 6 Alterntively, we could tke X f to e the chepest tringultion B f over ll lnkets B B.

11 A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION 35 X Y X 1 Y Z 8 Z Fig. 5. Lemm Any given tringle t crossestmosttwofcesf in cp in which its trnsposl t f hs positive re. Thus, for given t, onlytwofcesf hve c( t f ) > 0. Proof. Fix tringle t =ΔXY Z nd consider how the fces of cp cn overlp t. Sy tht fce f is ccommodting if t s trnsposl t f in f hs positive re. In the two exmples in Figure 5, ech dshed edge is n edge trnsposl of n edge of t. Within ech ccommodting fce, the (positive re) trnsposl of t is drk. We clim tht every ccommodting fce touches ll three edges of t. (A fce touches n edge if the intersection of the fce nd the edge, including oundries nd endpoints, is nonempty. For exmple, the ccommodting fce 2 on the left of the figure, nd 2 nd 5 on the right, touch ll three edges of t. Ech other fce is nonccommodting nd, except for 3 nd 4 on the right, touches only two edges of t.) The clim holds ecuse, if fce f touches only two edges of t, the third edge of t lies outside of f, so the two edges cross the interior of single edge of f. Thus, the two edges of t tht touch f must hve identicl trnsposls, forcing t f to hve no re. Now consider the cse tht t hs fce f tht touches the interior of ll three edges of t (s in Figure 5, left). Since the fces re nonoverlpping nd convex, no fce other thn f cn touch ll three edges of t. By the clim, then, only fce f might e ccommodting, so the lemm holds. Assume tht no fce touches the interiors of ll three edges of t. By the clim, ny ccommodting fce f still hs to touch ll three edges of t, ut now there is t lest one edge, sy XY,oftwhose interior f voids. Thus, f must touch XY t n endpoint, sy, Y. (For exmple, consider Figure 5, right. Fces 2, 3, 4, nd 5 touch ll three edges of t, ut not ll three interiors.) Since f touches XY t Y ut does not touch the interior of XY, there must e n edge wy of f tht extends through the interior of t. Sincew is not inside t, wy must cut cross t to the interior of the edge XZ.Thus, in this cse, ny ccommodting fce f must shre some vertex v with t, nd (2.1) n edge of the fce must extend from v cross the interior of t. If there re two ccommodting fces, they must extend n edge cross t from the sme vertex Y, for otherwise the extending edges would cross inside t. Now consider ll edges in cp tht extend from Y cross the interior of t. Let these edges e w 1 Y,w 2 Y,...,w k Y, rotting in order round Y. (In Figure 5, k =3.) cp hs k + 1 corresponding fces f 0,f 1,...,f k, lso in order rotting round Y,where f i 1 nd f i shre edge w i Y. By conclusion (2.1), only these k + 1 fces might e ccommodting. To finish, we oserve tht f i is not ccommodting unless i {0,k} (the first or lst fce). Indeed, for i {0,k} edges w i 1 Y nd w i Y of f i extend from Y cross t

12 36 ARMAN YOUSEFI AND NEAL E. YOUNG s Y Z f e e f ef e f s s Z Fig. 6. to XZ. Since these edges touch t Y, the trnsposl of t in f i is thus just the point Y. Thus, the trnsposl of t in f i hs no re. Our gol is to show tht trnsposing X cross the fces increses the cost of X y t most constnt fctor. For ny tringle t, y the lemm nd Fct 2.9.1, trnsposing X trnsfers the weight X t to the tringulted trnsposls t f of t in t most two fces f. To proceed we ound the cost of ech t f in terms of the cost of t. Recll tht t f is the MWT of its (nontringulted) trnsposl t f, which hs t most six sides (up to three edges of f nd up to three trnsposls of edges of t). We strt y ounding the cost of t f. Our ound depends on the sensitivity of the edges of the convex prtition cp, defined s follows. Definition 2.11 (sensitivity). An edge e is σ-sensitive if, for ny potentil edge e tht crosses e, for ech endpoint x of e, the distnce from x to the closest endpoint of e is t most σ e. In other words, the circle of rdius σ e round ech endpoint of e contins n endpoint of e. For the rest of this section, fix σ such tht ll edges of cp re σ-sensitive. Lemm For ny fce f of cp nd tringle t, the totl length of the edges in t s trnsposl t f tht re not lso edges of cp is t most 2σ times the length of t s edges. Proof. Letf e ny fce of cp nd e e ny edge tht crosses f. We clim tht the length of the edge trnsposl e f of e in f is t most 2σ times the length of e. This clim implies the lemm, ecuse ech edge of the trnsposl of t (ut not of cp) is the edge trnsposl e f of unique edge e of t. To finish, we prove the clim. For n edge e tht crosses f, one of the following three cses holds: (1) e is incident to one vertex of f nd properly intersects one s side of f (s in the left of Figure 6), (2) e properly intersects two sides s nd s of f (s in the right of Figure 6), or (3) e is incident to two vertices of f. In cse (1), let W e the vertex tht f shres with e (nd e f ). Since s is σ- sensitive, nd e crosses s, the endpoint W of e is t most σ e from some endpoint of s. Since e f is the minimum distnce etween W nd ny endpoint of s, this implies e f σ e. In cse (2), let Y e n endpoint of e nd let Z nd Z, respectively, e the closest endpoints of s nd s to Y. Becuse e f is the shortest segment from n endpoint of s to n endpoint of s, e f ZZ. By the tringle inequlity, ZZ YZ + YZ. Becuse s nd s re σ-sensitive, YZ nd YZ re ech t most σ e. In cse (3), the trnsposl e f of e is the sme s e, so the clim holds.

13 A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION 37 It is strightforwrd to extend the ound to the tringulted trnsposl t f of t. Recll tht the cost of tringle t is the sum of the costs of its edges, where the cost of n edge is hlf its length, unless the edge is on the oundry of the entire region, in which cse the cost of the edge is its length. The cost c( t f ) of tringultion t f is the sum of the costs of the tringles in the tringultion. Lemm For ny fce f nd ny tringle t, thecostc( t f ) of the tringulted trnsposl of t in f is t most three times the cost c(t f ) of the (nontringulted) trnsposl of t in f. Proof. Recll tht t f hs t most six vertices, sy, v 1,v 2,...,v k, ordered clockwise. Tringulte t f y dding up to three interior digonls connecting the odd vertices (e.g., v 1 v 3, v 3 v 5, v 5 v 1 ). The totl length of the dded digonls is t most the totl length of the oundry. Likewise, the sum of costs of the dded digonls is t most the sum of the costs of the edges on the oundry of t f. Ech dded edge occurs in two tringles in this tringultion, wheres ech oundry edge occurs in just one tringle. Thus, dding the digonls gives tringultion of cost t most three times the cost of t f. The lemm follows, s c( t f ) is the minimum cost of ny tringultion of t f. Next we gther the ounds in the previous lemms to ound the totl cost cross ll the fces. We re not finished, s the ound depends on not only the cost of the frctionl tringultion, ut lso the totl length of the edges in the convex prtition cp nd the sensitivity σ of those edges. Lemm The totl cost f c(xf ) is t most 3 cp 2 +12σc(X). Proof. The totl cost is c(x f )= X t c( t f ) y Fct 2.9.1, f,t f 3 [c( t f ) > 0] X t c(t f ) y Lemm 2.13, f,t 3 cp 2 + 6σ t,f 3 cp 2 +12σ t [c( t f ) > 0] X t c(t) y Lemm 2.12, X t c(t) y Lemm 2.10, = 3 cp 2 +12σc(X) y definition of c(x). To proceed further, we need convex prtition whose edges hve constnt sensitivity nd totl length O(c(X)). Levcopoulos nd Krznric hve shown the existence of something close: convex prtition lk whose edges re 4.45-sensitive nd hve totl length O(mcp(G)) (recll tht mcp(g) is the minimum-length convex prtition of G). Lemm 2.15 (see [25]). For some constnt λ>0, for ny MWT instnce G, there exists convex prtition lk of G, whose edges re 4.45-sensitive, hving totl length lk 2 λ mcp(g) 2. Proof. Levcopoulos nd Krznric show tht wht they cll the qusi-greedy convex prtition hs the ove properties: for the first property, see their Lemm 5.4 nd the discussion efore it; for the second property, see their Corollry 5.3 [25]. This convex prtition will work for us: we prove next tht mcp(g) 2 18 c(x). (Note tht mcp(g) 2 is trivilly t most the cost of ny integer tringultion, ut the ound here concerns the frctionl tringultion, so requires proof.)

14 38 ARMAN YOUSEFI AND NEAL E. YOUNG Fig. 7. e v X e e = The proof uses the constrints on X nd leverges previous nlysis of mcp(g) due to Plisted nd Hong [31, Lemm 10]. Lemm mcp(g) 2 18 c(x). Proof. For every vertex v in the interior of the convex hull of the vertex set V, define str t v to e suset of edges incident to v such tht no two successive edges (round v) re seprted y n ngle of 180 degrees or more. For every vertex v on the oundry of the convex hull of V, define the (only) str t v to consist of the two oundry edges incident to v. Let S min (v) denote the minimum cost of ny str t v. Plisted nd Hong show mcp(g) 2 6 v V S min(v) [31, Lemm 10]. We clim S min (v) (3/2) e v X e e, wherex e is t e X t if e is on the oundry of the convex hull; otherwise X e is hlf this mount. As v 2 e X e e =2c(X), the clim implies the lemm. We prove the clim. It is esy to see tht, for ny oundry vertex v, S min (v) e v X e e, sowe restrict our ttention to just n interior vertex v nd its edges. Becuse X stisfies constrint (1.2), rotting clockwise round v, thereisse- quence v 1,v 2,...,v k of distinct vertices such tht for ech i =1,...,k, the tringle vv i v (i+1) mod k hs positive weight in X. (To find the sequence, tke ny positiveweight tringle tht hs v s vertex. Let v 1 nd v 2 e the other vertices, in clockwise order. By constrint (1.2), there is positive-weight tringle tht shres edge vv 2 nd lies clockwise to tht edge. Let v 3 e the other vertex of tht tringle. By constrint (1.2), there is positive-weight tringle tht shres edge vv 3 nd lies clockwise to tht edge. Let v 4 e the other vertex of tht tringle. Continue, stopping when the next vertex v i tht would e dded is v 1 this must hppen y constrint (1.2).) Let e i nd t i denote edge vv i nd tringle vv i v (i+1) mod k, respectively. Note tht ech edge, nd ech tringle, is distinct. Cll the sequence of edges h =(e 1,e 2,...,e k ) helix. Letwrp(h) denote the numer of times h wrps round v. By stndrd construction the X e s cn e expressed s liner comintion of incidence vectors of helices. (Similr to Lemm 2.3 s proof, repetedly find helix h, choose weight ɛ h, nd sutrct ɛ h /wrp(h) from ech tringle X ti in the helix, reducing coverge ner v y ɛ h.) This gives proility distriution ɛ on helices h such tht ech X e = h [e h]ɛ h/wrp(h). Now choose helix h t rndom from the proility distriution ɛ. Prtition h greedily into contiguous susequences of edges such tht ech group g is mximl suject to the constrint tht the totl clockwise ngle round v swept y the group s edges is t most 360. (In Figure 7, white tringles seprte groups.) Ech group contins str, nd (s neighoring groups re seprted y t most 180 )therere t lest 360 wrp(h)/( ) = 2wrp(h)/3 groups. From the rndomly chosen h, choose group g uniformly t rndom from h s

15 A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION 39 first 2wrp(h)/3 groups. For ny given edge e, the proility tht e is in g is t most h [e h]ɛ h/(2 wrp(h)/3) = (3/2)X e. Thus, y linerity of expecttion, the expected totl length E[ g 2 ]ofedgesing is t most (3/2) e v X e e. On the other hnd, every g contins str, so S min (v) E[ g 2 ]. This proves Lemm For the rounding procedure, fix the (previously ritrry) convex prtition cp to e the prtition lk from Lemm The cost of the finl tringultion is t most c(x f ) ecuse ech fce f is simple, f 3 lk 2 +12σc(X) y Lemm 2.14, 3λ mcp(g) 2 +54c(X) y Lemm 2.15, 3λ 18 c(x)+54c(x) y Lemm 2.16, = 54(λ +1)c(X). Hence, the integrlity gp is t most 54(λ + 1), completing the proof of Theorem The LP generlizes heuristics. This section proves our second new result (the LP generlizes MWT heuristics). Here is summry of heuristics for determining tht given potentil edge e = xy of G is in every MWT of given MWT instnce G =(V,E): β-skeleton: For β =1/ sin k where k π/3.1, there does not exist point z in the point set such tht xzy rcsin(1/β) π/3.1. Equivlently, the two disks of dimeter β e hving e s chord re empty of points. If this condition holds, then e is in every MWT of G [21, 7]. YXY-sugrph: For every potentil edge pq tht crosses e = xy, itssize e is t most min{ px, py, qx, qy }. If this condition holds, then e is in every MWT of G [38, 18]. mximlity: For every potentil edge tht crosses e, tht edge is known to e excluded from every MWT. If so, then e is in every MWT of G (see, e.g., [12]). Here is summry of heuristics for determining tht given potentil edge e of G (not on the oundry of the region to e tringulted) is excluded from every MWT of G: independence: Some potentil edge tht crosses e is known to e in every MWT. If this condition holds, then e is not in ny MWT of G (see e.g., [12]). dimond: Neither of the two tringles with se e nd se ngle π/4.6 isempty. If this condition holds, then e is not in ny MWT of G [9, 15]. LMT-skeleton: For every two tringles t nd t for which e is loclly miniml, oneof the edges of t or t is known to e excluded from every MWT. If this condition holds, then e is not in ny MWT of G [12]. (Edge e is loclly miniml for two tringles t nd t if t t = e nd t nd t together re minimum-length tringultion of the qudrilterl Q = t t tht is, either Q is nonconvex, or e is not longer thn the other digonl of Q.) Let E denote the set of edges tht cn e deduced to e in every MWT y pplying the logicl closure of the ove six rules. (Logicl closure is necessry ecuse the mximlity, independence, nd LMT-skeleton conditions depend on the known sttus of edges other thn e. For exmple, if one of the conditions implies tht some edge e is excluded from every MWT, then the LMT-skeleton condition my then in turn imply tht some new edge e is excluded from every MWT, ecuse e lies on one of two tringles t or t in the pir for which e is loclly miniml.)

16 40 ARMAN YOUSEFI AND NEAL E. YOUNG Idelly, the set E gives prtition of G in which every fce is empty. If this hppens, then the remining edges in the MWT cn e found y tringulting ech remining fce independently using the stndrd dynmic-progrmming lgorithm, nd we sy G is solvle vi the heuristics. According to [12], most rndom instnces with s mny s 40,000 points re solvle vi the heuristics. 7 Here is our second new result. If n instnce is solvle vi the heuristics, then LP (1.1) solves the instnce lso. Theorem 3.1. For ny instnce G of MWT, let E e the prtition of G defined ove. If every fce of E is empty, then every optiml extreme point of the LP (for G) is the incidence vector of minimum-length tringultion. The reminder of this section gives the proof. The first step is to show tht ech condition ove tht ensures tht n edge is in (or excluded from) every MWT lso ensures tht the LP gives the edge weight 1 (or 0) in ny optiml frctionl solution. Sy tht LP (1.1) forces potentil edge e to z (where z {0, 1}) if, for every optiml frctionl tringultion X of G, theweightthtx gives to e is z. Lemm 3.2. If ny of the following conditions hold, the LP forces potentil edge e of G to 1: 1. β-skeleton: The β-skeleton condition ove holds for e. 2. YXY-sugrph: The YXY-sugrph condition ove holds for e. 3. mximlity: The LP forces every potentil edge tht crosses e to 0. Proof ide. Prt 3 is reltively strightforwrd: if X gives weight 0 to every edge tht crosses e, then no tringle t tht crosses e hs positive Xt, so the only wy X cn cover points ner e is with tringles tht hve e s side. The originl β-skeleton nd the YXY-sugrph heuristics re shown to e vlid for MWT y locl-improvement rguments: if the condition holds for n edge e tht is not in the MWT, then polygon P covering e within the MWT cn e retringulted t lesser cost, contrdicting the optimlity of the MWT [21, 7, 38, 18]. Here we extend those rguments to ny optiml frctionl tringultion X : if the condition holds nd X does not give e weight 1, then polygon P covering e whose tringles hve positive weight in X cn e retringulted (lowering the weight of those tringles y ɛ>0 nd rising the weight of other tringles y ɛ), giving frctionl tringultion tht costs less thn X. The originl rguments re intricte geometric cse nlyses, typiclly tking severl pges. The rguments do not extend completely to our setting for the following reson: in the MWT setting, the polygon P identified for retringultion is the union of noncrossing tringles, wheres here, in the frctionl setting, the polygon P is the union of tringles tht cn cross (much s in Lemm 2.3). If the tringles in P do not cross, then the originl rguments pply, ut in generl dditionl nlysis is needed. To illustrte, consider the β-skeleton. Suppose for contrdiction tht the β- skeleton condition holds for n edge e = ut e does not occur in the MWT. Previous works [21, 7] show tht there must e sequence t 1,t 2,...,t m of empty tringles in the MWT whose union P covers e, s shown on the left in Figure 8. Using the β-skeleton condition, [21, 7] show tht this union hs tringultion tht costs less thn does t 1,...,t m, contrdicting the optimlity of the MWT. In the current context, if e hs weight elow 1 in X, then there must (similrly) exist sequence t 1,t 2,...,t m of empty tringles with positive weight in X covering e, 7 Reference [12] defines the modified LMT-skeleton to e the set of edges tht cn e deduced to e in every MWT vi (the logicl closure of) just the dimond, LMT-skeleton, mximlity, nd independence conditions ove. The use of logicl closure is crucil for the effectiveness of the LMT-skeleton.

17 A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION 41 t1 t2 tm t1 tm Fig. 8. ut these tringles cn cross (see the exmple in Figure 8). We extend the rguments of [21, 7] to show tht, even if such crossing occurs, tringultion of lower cost cn still e found. Full proof. Here re the detils of the proofs for prt 1 (β-skeleton) nd prt 2(YXY-sugrph). Prt 3 (mximlity) hs een discussed lredy ove, in the proof ide. Prt 1 (β-skeleton): The originl β-skeleton heuristics re shown to e vlid for MWT y locl-improvement rguments: if n edge e is in the β-skeleton (for β 1/ sin(π/3.1)) ut not in the MWT, then polygon P covering e within the MWT cn e retringulted t lesser cost, contrdicting the optimlity of the MWT [21, 7]. We riefly sketch this rgument nd then extend it to ny optiml frctionl tringultion X. Assume for the reminder of this section tht e goes horizontlly from the point on the left to the point on the right. If is not in the MWT, there exists set of MWT edges tht intersect e. Let e 1,...,e n, e the set of edges indexed in nondecresing order of their length. If the edges re removed from the MWT, n empty polygonl region P results. In [21, 7] it is shown tht P cn e retringulted t lesser cost y set of edges tht contins. The ide is to generte sequence of tringulted polygons P 0,...,P n such tht P 0 is the degenerte polygon, P n is tringultion of P,ndP j 1 P j.tootinp j, P j 1 is expnded to include the endpoints v j nd v j of e j. Assume v j is ove the line through nd v j is elow it. If oth v j nd v j lredy lie on the oundry of P j 1, thenp j = P j 1. Otherwise, t lest one of them will not e on the oundry of P j 1. Assume without loss of generlity tht v j is not on the oundry of P j 1 (if v j is lso outside P j 1, it will e delt with similrly). Since v j is not on the oundry of P j 1, edge e j intersects oundry edge v i v k of P j 1. Consider the sequence δ of vertices on the pth from to on the oundry of P (there re two such pths, ut the one ove the line through is intended). On the sequence δ, vertexv i is the lst vertex efore v j tht elongs to P j 1,ndv k is the first vertex fter v j tht elongs to P j 1. This oservtion llows us to clerly define v i v k in the frctionl setting ecuse in tht setting, polygon P my e self-intersecting nd e j my intersect more thn one oundry edge of P j 1 in the hlf-spce ove. In generl, the tringle v i v j v k contins susequence δ 1 of vertices on δ from v i to v j nd nother susequence δ 2 from v j to v k. The polygon v i δ 1 v j δ 2 v k is then tringulted ritrrily, nd P j is the union of P j 1 nd the tringulted polygon v i δ 1 v j δ 2 v k nd possily nother tringulted polygon to include v j if v j is not on the oundry of P j 1. This construction is shown in Figure 9. The polygon with dshed oundry is P, nd P j 1 is tringultion of the drk gry polygon. The union of P j 1 nd ritrry

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

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

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

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

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

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

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

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

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

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

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

CS311H: Discrete Mathematics. Graph Theory IV. A Non-planar Graph. Regions of a Planar Graph. Euler s Formula. Instructor: Işıl Dillig

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

Graphs with at most two trees in a forest building process

Graphs with at most two trees in a forest building process Grphs with t most two trees in forest uilding process rxiv:802.0533v [mth.co] 4 Fe 208 Steve Butler Mis Hmnk Mrie Hrdt Astrct Given grph, we cn form spnning forest y first sorting the edges in some order,

More information

9 Graph Cutting Procedures

9 Graph Cutting Procedures 9 Grph Cutting Procedures Lst clss we begn looking t how to embed rbitrry metrics into distributions of trees, nd proved the following theorem due to Brtl (1996): Theorem 9.1 (Brtl (1996)) Given metric

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

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

such that the S i cover S, or equivalently S

such that the S i cover S, or equivalently S MATH 55 Triple Integrls Fll 16 1. Definition Given solid in spce, prtition of consists of finite set of solis = { 1,, n } such tht the i cover, or equivlently n i. Furthermore, for ech i, intersects i

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

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

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

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

In the last lecture, we discussed how valid tokens may be specified by regular expressions.

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

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1):

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

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

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

Fig.25: the Role of LEX

Fig.25: the Role of LEX The Lnguge for Specifying Lexicl Anlyzer We shll now study how to uild lexicl nlyzer from specifiction of tokens in the form of list of regulr expressions The discussion centers round the design of n existing

More information

1.1. Interval Notation and Set Notation Essential Question When is it convenient to use set-builder notation to represent a set of numbers?

1.1. Interval Notation and Set Notation Essential Question When is it convenient to use set-builder notation to represent a set of numbers? 1.1 TEXAS ESSENTIAL KNOWLEDGE AND SKILLS Prepring for 2A.6.K, 2A.7.I Intervl Nottion nd Set Nottion Essentil Question When is it convenient to use set-uilder nottion to represent set of numers? A collection

More information

Ray surface intersections

Ray surface intersections Ry surfce intersections Some primitives Finite primitives: polygons spheres, cylinders, cones prts of generl qudrics Infinite primitives: plnes infinite cylinders nd cones generl qudrics A finite primitive

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

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

Definition of Regular Expression

Definition of Regular Expression Definition of Regulr Expression After the definition of the string nd lnguges, we re redy to descrie regulr expressions, the nottion we shll use to define the clss of lnguges known s regulr sets. Recll

More information

1 Quad-Edge Construction Operators

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

arxiv: v1 [math.co] 18 Sep 2015

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

CS143 Handout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexical Analysis

CS143 Handout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexical Analysis CS143 Hndout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexicl Anlysis In this first written ssignment, you'll get the chnce to ply round with the vrious constructions tht come up when doing lexicl

More information

Presentation Martin Randers

Presentation Martin Randers Presenttion Mrtin Rnders Outline Introduction Algorithms Implementtion nd experiments Memory consumption Summry Introduction Introduction Evolution of species cn e modelled in trees Trees consist of nodes

More information

Tries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries

Tries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries Tries Yufei To KAIST April 9, 2013 Y. To, April 9, 2013 Tries In this lecture, we will discuss the following exct mtching prolem on strings. Prolem Let S e set of strings, ech of which hs unique integer

More information

1. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES)

1. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES) Numbers nd Opertions, Algebr, nd Functions 45. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES) In sequence of terms involving eponentil growth, which the testing service lso clls geometric

More information

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties, Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

Lecture 7: Integration Techniques

Lecture 7: Integration Techniques Lecture 7: Integrtion Techniques Antiderivtives nd Indefinite Integrls. In differentil clculus, we were interested in the derivtive of given rel-vlued function, whether it ws lgeric, eponentil or logrithmic.

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

Notes for Graph Theory

Notes for Graph Theory Notes for Grph Theory These re notes I wrote up for my grph theory clss in 06. They contin most of the topics typiclly found in grph theory course. There re proofs of lot of the results, ut not of everything.

More information

Section 3.1: Sequences and Series

Section 3.1: Sequences and Series Section.: Sequences d Series Sequences Let s strt out with the definition of sequence: sequence: ordered list of numbers, often with definite pttern Recll tht in set, order doesn t mtter so this is one

More information

MATH 2530: WORKSHEET 7. x 2 y dz dy dx =

MATH 2530: WORKSHEET 7. x 2 y dz dy dx = MATH 253: WORKSHT 7 () Wrm-up: () Review: polr coordintes, integrls involving polr coordintes, triple Riemnn sums, triple integrls, the pplictions of triple integrls (especilly to volume), nd cylindricl

More information

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming Lecture 10 Evolutionry Computtion: Evolution strtegies nd genetic progrmming Evolution strtegies Genetic progrmming Summry Negnevitsky, Person Eduction, 2011 1 Evolution Strtegies Another pproch to simulting

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

arxiv: v2 [cs.dm] 17 May 2014

arxiv: v2 [cs.dm] 17 May 2014 EXTENDING ARTIAL RERESENTATIONS OF INTERVAL GRAHS. KLAVÍK, J. KRATOCHVÍL, Y. OTACHI, T. SAITOH, AND T. VYSKOČIL rxiv:1306.2182v2 [cs.dm] 17 My 2014 Astrct. Intervl grphs re intersection grphs of closed

More information

Basic Geometry and Topology

Basic Geometry and Topology Bsic Geometry nd Topology Stephn Stolz Septemer 7, 2015 Contents 1 Pointset Topology 1 1.1 Metric spces................................... 1 1.2 Topologicl spces................................ 5 1.3 Constructions

More information

Dr. D.M. Akbar Hussain

Dr. D.M. Akbar Hussain Dr. D.M. Akr Hussin Lexicl Anlysis. Bsic Ide: Red the source code nd generte tokens, it is similr wht humns will do to red in; just tking on the input nd reking it down in pieces. Ech token is sequence

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

Class-XI Mathematics Conic Sections Chapter-11 Chapter Notes Key Concepts

Class-XI Mathematics Conic Sections Chapter-11 Chapter Notes Key Concepts Clss-XI Mthemtics Conic Sections Chpter-11 Chpter Notes Key Concepts 1. Let be fixed verticl line nd m be nother line intersecting it t fixed point V nd inclined to it t nd ngle On rotting the line m round

More information

SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES

SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES MARCELLO DELGADO Abstrct. The purpose of this pper is to build up the bsic conceptul frmework nd underlying motivtions tht will llow us to understnd ctegoricl

More information

Solutions to Math 41 Final Exam December 12, 2011

Solutions to Math 41 Final Exam December 12, 2011 Solutions to Mth Finl Em December,. ( points) Find ech of the following its, with justifiction. If there is n infinite it, then eplin whether it is or. ( ) / ln() () (5 points) First we compute the it:

More information

ZZ - Advanced Math Review 2017

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

Misrepresentation of Preferences

Misrepresentation of Preferences Misrepresenttion of Preferences Gicomo Bonnno Deprtment of Economics, University of Cliforni, Dvis, USA gfbonnno@ucdvis.edu Socil choice functions Arrow s theorem sys tht it is not possible to extrct from

More information

arxiv: v1 [cs.cg] 9 Dec 2016

arxiv: v1 [cs.cg] 9 Dec 2016 Some Counterexmples for Comptible Tringultions rxiv:62.0486v [cs.cg] 9 Dec 206 Cody Brnson Dwn Chndler 2 Qio Chen 3 Christin Chung 4 Andrew Coccimiglio 5 Sen L 6 Lily Li 7 Aïn Linn 8 Ann Lubiw 9 Clre Lyle

More information

Solving Problems by Searching. CS 486/686: Introduction to Artificial Intelligence Winter 2016

Solving Problems by Searching. CS 486/686: Introduction to Artificial Intelligence Winter 2016 Solving Prolems y Serching CS 486/686: Introduction to Artificil Intelligence Winter 2016 1 Introduction Serch ws one of the first topics studied in AI - Newell nd Simon (1961) Generl Prolem Solver Centrl

More information

a(e, x) = x. Diagrammatically, this is encoded as the following commutative diagrams / X

a(e, x) = x. Diagrammatically, this is encoded as the following commutative diagrams / X 4. Mon, Sept. 30 Lst time, we defined the quotient topology coming from continuous surjection q : X! Y. Recll tht q is quotient mp (nd Y hs the quotient topology) if V Y is open precisely when q (V ) X

More information

Complete Coverage Path Planning of Mobile Robot Based on Dynamic Programming Algorithm Peng Zhou, Zhong-min Wang, Zhen-nan Li, Yang Li

Complete Coverage Path Planning of Mobile Robot Based on Dynamic Programming Algorithm Peng Zhou, Zhong-min Wang, Zhen-nan Li, Yang Li 2nd Interntionl Conference on Electronic & Mechnicl Engineering nd Informtion Technology (EMEIT-212) Complete Coverge Pth Plnning of Mobile Robot Bsed on Dynmic Progrmming Algorithm Peng Zhou, Zhong-min

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

ON THE DEHN COMPLEX OF VIRTUAL LINKS

ON THE DEHN COMPLEX OF VIRTUAL LINKS ON THE DEHN COMPLEX OF VIRTUAL LINKS RACHEL BYRD, JENS HARLANDER Astrct. A virtul link comes with vriety of link complements. This rticle is concerned with the Dehn spce, pseudo mnifold with oundry, nd

More information

Area & Volume. Chapter 6.1 & 6.2 September 25, y = 1! x 2. Back to Area:

Area & 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 information

Approximation of Two-Dimensional Rectangle Packing

Approximation of Two-Dimensional Rectangle Packing pproximtion of Two-imensionl Rectngle Pcking Pinhong hen, Yn hen, Mudit Goel, Freddy Mng S70 Project Report, Spring 1999. My 18, 1999 1 Introduction 1-d in pcking nd -d in pcking re clssic NP-complete

More information

Math 464 Fall 2012 Notes on Marginal and Conditional Densities October 18, 2012

Math 464 Fall 2012 Notes on Marginal and Conditional Densities October 18, 2012 Mth 464 Fll 2012 Notes on Mrginl nd Conditionl Densities klin@mth.rizon.edu October 18, 2012 Mrginl densities. Suppose you hve 3 continuous rndom vribles X, Y, nd Z, with joint density f(x,y,z. The mrginl

More information

The Complexity of Nonrepetitive Coloring

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

12-B FRACTIONS AND DECIMALS

12-B FRACTIONS AND DECIMALS -B Frctions nd Decimls. () If ll four integers were negtive, their product would be positive, nd so could not equl one of them. If ll four integers were positive, their product would be much greter thn

More information

Today. CS 188: Artificial Intelligence Fall Recap: Search. Example: Pancake Problem. Example: Pancake Problem. General Tree Search.

Today. CS 188: Artificial Intelligence Fall Recap: Search. Example: Pancake Problem. Example: Pancake Problem. General Tree Search. CS 88: Artificil Intelligence Fll 00 Lecture : A* Serch 9//00 A* Serch rph Serch Tody Heuristic Design Dn Klein UC Berkeley Multiple slides from Sturt Russell or Andrew Moore Recp: Serch Exmple: Pncke

More information

Premaster Course Algorithms 1 Chapter 6: Shortest Paths. Christian Scheideler SS 2018

Premaster Course Algorithms 1 Chapter 6: Shortest Paths. Christian Scheideler SS 2018 Premster Course Algorithms Chpter 6: Shortest Pths Christin Scheieler SS 8 Bsic Grph Algorithms Overview: Shortest pths in DAGs Dijkstr s lgorithm Bellmn-For lgorithm Johnson s metho SS 8 Chpter 6 Shortest

More information

Position Heaps: A Simple and Dynamic Text Indexing Data Structure

Position Heaps: A Simple and Dynamic Text Indexing Data Structure Position Heps: A Simple nd Dynmic Text Indexing Dt Structure Andrzej Ehrenfeucht, Ross M. McConnell, Niss Osheim, Sung-Whn Woo Dept. of Computer Science, 40 UCB, University of Colordo t Boulder, Boulder,

More information

If f(x, y) is a surface that lies above r(t), we can think about the area between the surface and the curve.

If f(x, y) is a surface that lies above r(t), we can think about the area between the surface and the curve. Line Integrls The ide of line integrl is very similr to tht of single integrls. If the function f(x) is bove the x-xis on the intervl [, b], then the integrl of f(x) over [, b] is the re under f over the

More information

CS321 Languages and Compiler Design I. Winter 2012 Lecture 5

CS321 Languages and Compiler Design I. Winter 2012 Lecture 5 CS321 Lnguges nd Compiler Design I Winter 2012 Lecture 5 1 FINITE AUTOMATA A non-deterministic finite utomton (NFA) consists of: An input lphet Σ, e.g. Σ =,. A set of sttes S, e.g. S = {1, 3, 5, 7, 11,

More information

this grammar generates the following language: Because this symbol will also be used in a later step, it receives the

this grammar generates the following language: Because this symbol will also be used in a later step, it receives the LR() nlysis Drwcks of LR(). Look-hed symols s eplined efore, concerning LR(), it is possile to consult the net set to determine, in the reduction sttes, for which symols it would e possile to perform reductions.

More information

Typing with Weird Keyboards Notes

Typing with Weird Keyboards Notes Typing with Weird Keyords Notes Ykov Berchenko-Kogn August 25, 2012 Astrct Consider lnguge with n lphet consisting of just four letters,,,, nd. There is spelling rule tht sys tht whenever you see n next

More information

The Complexity of Nonrepetitive Coloring

The Complexity of Nonrepetitive Coloring The Complexity of Nonrepetitive Coloring Dániel Mrx Deprtment of Computer Science nd Informtion Theory Budpest University of Technology nd Econonomics Budpest H-1521, Hungry dmrx@cs.me.hu Mrcus Schefer

More information

On Approximating Restricted Cycle Covers

On Approximating Restricted Cycle Covers On Approximting Restricted Cycle Covers Bodo Mnthey Universität zu Lüeck, Institut für Theoretische Informtik Rtzeurger Allee 160, 23538 Lüeck, Germny mnthey@tcs.uni-lueeck.de Astrct. A cycle cover of

More information

arxiv: v1 [cs.cg] 1 Jun 2016

arxiv: v1 [cs.cg] 1 Jun 2016 HOW TO MORPH PLANAR GRAPH DRAWINGS Soroush Almdri, Ptrizio Angelini, Fidel Brrer-Cruz, Timothy M. Chn, Giordno D Lozzo, Giuseppe Di Bttist, Fbrizio Frti, Penny Hxell, Ann Lubiw, Murizio Ptrignni, Vincenzo

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

EXPONENTIAL & POWER GRAPHS

EXPONENTIAL & POWER GRAPHS Eponentil & Power Grphs EXPONENTIAL & POWER GRAPHS www.mthletics.com.u Eponentil EXPONENTIAL & Power & Grphs POWER GRAPHS These re grphs which result from equtions tht re not liner or qudrtic. The eponentil

More information

Announcements. CS 188: Artificial Intelligence Fall Recap: Search. Today. General Tree Search. Uniform Cost. Lecture 3: A* Search 9/4/2007

Announcements. CS 188: Artificial Intelligence Fall Recap: Search. Today. General Tree Search. Uniform Cost. Lecture 3: A* Search 9/4/2007 CS 88: Artificil Intelligence Fll 2007 Lecture : A* Serch 9/4/2007 Dn Klein UC Berkeley Mny slides over the course dpted from either Sturt Russell or Andrew Moore Announcements Sections: New section 06:

More information

Efficient Algorithms For Optimizing Policy-Constrained Routing

Efficient Algorithms For Optimizing Policy-Constrained Routing Efficient Algorithms For Optimizing Policy-Constrined Routing Andrew R. Curtis curtis@cs.colostte.edu Ross M. McConnell rmm@cs.colostte.edu Dn Mssey mssey@cs.colostte.edu Astrct Routing policies ply n

More information

From Dependencies to Evaluation Strategies

From Dependencies to Evaluation Strategies From Dependencies to Evlution Strtegies Possile strtegies: 1 let the user define the evlution order 2 utomtic strtegy sed on the dependencies: use locl dependencies to determine which ttriutes to compute

More information

9.1 apply the distance and midpoint formulas

9.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 information

ASTs, Regex, Parsing, and Pretty Printing

ASTs, Regex, Parsing, and Pretty Printing ASTs, Regex, Prsing, nd Pretty Printing CS 2112 Fll 2016 1 Algeric Expressions To strt, consider integer rithmetic. Suppose we hve the following 1. The lphet we will use is the digits {0, 1, 2, 3, 4, 5,

More information

CSCE 531, Spring 2017, Midterm Exam Answer Key

CSCE 531, Spring 2017, Midterm Exam Answer Key CCE 531, pring 2017, Midterm Exm Answer Key 1. (15 points) Using the method descried in the ook or in clss, convert the following regulr expression into n equivlent (nondeterministic) finite utomton: (

More information

3.5.1 Single slit diffraction

3.5.1 Single slit diffraction 3.5.1 Single slit diffrction Wves pssing through single slit will lso diffrct nd produce n interference pttern. The reson for this is to do with the finite width of the slit. We will consider this lter.

More information

The Fundamental Theorem of Calculus

The Fundamental Theorem of Calculus MATH 6 The Fundmentl Theorem of Clculus The Fundmentl Theorem of Clculus (FTC) gives method of finding the signed re etween the grph of f nd the x-xis on the intervl [, ]. The theorem is: FTC: If f is

More information

Introduction to Integration

Introduction to Integration Introduction to Integrtion Definite integrls of piecewise constnt functions A constnt function is function of the form Integrtion is two things t the sme time: A form of summtion. The opposite of differentition.

More information

An Efficient Divide and Conquer Algorithm for Exact Hazard Free Logic Minimization

An Efficient Divide and Conquer Algorithm for Exact Hazard Free Logic Minimization An Efficient Divide nd Conquer Algorithm for Exct Hzrd Free Logic Minimiztion J.W.J.M. Rutten, M.R.C.M. Berkelr, C.A.J. vn Eijk, M.A.J. Kolsteren Eindhoven University of Technology Informtion nd Communiction

More information

3.5.1 Single slit diffraction

3.5.1 Single slit diffraction 3..1 Single slit diffrction ves pssing through single slit will lso diffrct nd produce n interference pttern. The reson for this is to do with the finite width of the slit. e will consider this lter. Tke

More information

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012 Dynmic Progrmming Andres Klppenecker [prtilly bsed on slides by Prof. Welch] 1 Dynmic Progrmming Optiml substructure An optiml solution to the problem contins within it optiml solutions to subproblems.

More information

Some necessary and sufficient conditions for two variable orthogonal designs in order 44

Some necessary and sufficient conditions for two variable orthogonal designs in order 44 University of Wollongong Reserch Online Fculty of Informtics - Ppers (Archive) Fculty of Engineering n Informtion Sciences 1998 Some necessry n sufficient conitions for two vrile orthogonl esigns in orer

More information

Distributed Systems Principles and Paradigms

Distributed Systems Principles and Paradigms Distriuted Systems Principles nd Prdigms Chpter 11 (version April 7, 2008) Mrten vn Steen Vrije Universiteit Amsterdm, Fculty of Science Dept. Mthemtics nd Computer Science Room R4.20. Tel: (020) 598 7784

More information

arxiv:cs.cg/ v1 18 Oct 2005

arxiv:cs.cg/ v1 18 Oct 2005 A Pir of Trees without Simultneous Geometric Embedding in the Plne rxiv:cs.cg/0510053 v1 18 Oct 2005 Mrtin Kutz Mx-Plnck-Institut für Informtik, Srbrücken, Germny mkutz@mpi-inf.mpg.de October 19, 2005

More information

CSCI 104. Rafael Ferreira da Silva. Slides adapted from: Mark Redekopp and David Kempe

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

Algorithms for embedded graphs

Algorithms for embedded graphs Algorithms for embedded grphs Éric Colin de Verdière October 4, 2017 ALGORITHMS FOR EMBEDDED GRAPHS Foreword nd introduction Foreword This document is the overlpping union of some course notes tht the

More information

Math 35 Review Sheet, Spring 2014

Math 35 Review Sheet, Spring 2014 Mth 35 Review heet, pring 2014 For the finl exm, do ny 12 of the 15 questions in 3 hours. They re worth 8 points ech, mking 96, with 4 more points for netness! Put ll your work nd nswers in the provided

More information

Solving Problems by Searching. CS 486/686: Introduction to Artificial Intelligence

Solving Problems by Searching. CS 486/686: Introduction to Artificial Intelligence Solving Prolems y Serching CS 486/686: Introduction to Artificil Intelligence 1 Introduction Serch ws one of the first topics studied in AI - Newell nd Simon (1961) Generl Prolem Solver Centrl component

More information

3 4. Answers may vary. Sample: Reteaching Vertical s are.

3 4. Answers may vary. Sample: Reteaching Vertical s are. Chpter 7 Answers Alterntive Activities 7-2 1 2. Check students work. 3. The imge hs length tht is 2 3 tht of the originl segment nd is prllel to the originl segment. 4. The segments pss through the endpoints

More information