Weighted Constraint Satisfaction Problems with Min-Max Quantifiers

Size: px
Start display at page:

Download "Weighted Constraint Satisfaction Problems with Min-Max Quantifiers"

Transcription

1 Weighted Constrint Stisftion Prolems with Min-Mx Quntifiers Jimmy H.M. Lee & Terrene W.K. Mk Deprtment of Computer Siene nd Engineering The Chinese University of Hong Kong Shtin, N.T., Hong Kong Justin Yip Brown University Box 1910, Providene, RI USA Astrt Soft onstrints re funtions returning osts, nd re essentil in modeling over-onstrined nd optimiztion prolems. We re interested in tkling soft onstrined prolems with dversril onditions. Aiming t generlizing the weighted nd quntified onstrint stisftion frmeworks, Quntified Weighted Constrint Stisftion Prolem (QWCSP) onsists of set of finite domin vriles, set of soft onstrints, nd min or mx quntifier ssoited with eh of these vriles. We formlly define QWCSP, nd propose omplete solver whih is sed on lph-et pruning. QWCSPs re useful speil ses of QCOP/QCOP+, nd n e solved s QCOP/QCOP+. Restriting our ttention to only QWCSPs, we show empirilly tht our proposed solving tehniques n etter exploit prolem hrteristis thn those developed for QCOP/QCOP+. Experimentl results onfirm the fesiility nd effiieny of our proposls. Keywords-Constrint Optimiztion, Soft Constrint Stisftion, Quntified Constrint Stisftion I. INTRODUCTION The tsk t hnd is tht of n optimiztion prolem with dversril onditions. As n exmple, we egin with generlized grph oloring prolem in whih numers re used insted of olors. In ddition, the grph is numered y two plyers. The nodes re prtitioned into two sets, A nd B. Plyer 1 will numer set A first, followed y plyer 2 numering set B. The gol of plyer 1 is to mximize the totl differene etween numers of djent nodes, while plyer 2 wishes to minimize the totl differene. The im is to help plyer 1 devising the est strtegy. The exmple is optimiztion in nture, nd the dversries originte from the numers eing pled on nodes y plyer 2. The question n e trnslted to mximizing totl differene for ll possile omintions of numers plyer 2 n write. One wy to solve this prolem is y tkling mny Constrint Optimiztion Prolems [1] or Weighted CSPs [2], where eh of them mximizes the totl differene onditioned on speifi omintion of numers given y plyer 2. Solving these su-prolems We thnk the nonymous referees for their onstrutive omments. The work desried in this pper ws sustntilly supported y grnts (CUHK nd CUHK413808) from the Reserh Grnts Counil of Hong Kong SAR. We lso thnk In Gent for giving us QCSP-Solve, whih serves s sis for our solver. independently, however, defies opportunities for exploiting glol prolem struture nd hrteristis, nd reuse of omputtion. Another wy is to model the prolem s QCSP [3] y finding whether there exists omintions of numers for plyer 1 for ll numer plements y plyer 2 suh tht the totl differene is less thn ost k. Trying different vlues of k progressively in seprte QCSPs flls short in utilizing the ojetive funtion to guide serh glolly. We propose to omine the est of oth worlds. Weighted CSPs re minimiztion in nture. We introdue the mx quntifier to further llow min-mx opertions on onstrint osts in Weighted CSPs. A Quntified Weighted Constrint Stisftion Prolem (QWCSP) onsists of n ordered sequene of finite domin vriles, set of soft onstrints, nd min or mx quntifier ssoited with eh vrile. Note tht the existentil ( ) nd universl ( ) quntifiers in QCSPs n e expressed using min nd mx respetively. WCSPs nd QCSPs re thus lso speil ses of QWCSPs. We define solutions of QWCSP, nd show how rnh-nd-ound serh with lph-et pruning n e pplied to solve QWCSP. Generl pruning onditions of lph-et serh re defined nd disussed. The new frmework ims to nswer suh interesting questions s Wht is the est pln I n hoose to minimize ll the possile penlties for the worst se senrio? QWCSPs n e modeled s QCOPs [4], whih re more generl frmework. We give onstrution method followed y n exmple. We perform experimentl evlutions, ompring our proposed solving tehniques nd those for QCOPs, on three enhmrks to show the effiieny nd fesiility of our frmework. II. BACKGROUND We give the si definitions of WCSPs nd QCSPs. A weighted onstrint stisftion prolem [2] (WCSP) is tuple (X, D, C,k), wherex = {x 1,...,x n } is finite set of vriles nd D = {D 1,...,D n } is set of domins of possile vlues. We denote x i = v i e n ssignment ssigning vlue v i D i to vrile x i, nd the set of ssignments l = {x 1 = v 1,x 2 = v 2,...,x n = v n } e omplete ssignment on vriles X,wherev i is the vlue ssigned to x i.aprtil ssignment l[s] is projetion of l

2 onto vriles in S X. C is set of (soft) onstrints, eh C S of whih represents funtion mpping tuples orresponding to ssignments on suset of vriles S, toost vlution struture V (k) = ([0...k],, ). The struture V (k) ontins set of integers [0...k] with stndrd integer ordering. Addition is defined y = min(k, + ). For ny integer nd where, sutrtion is defined y = if k, nd = k if = k. Without loss of generlity, we ssume the existene of C denoting the lower ound of the minimum ost of the prolem. If it is not defined, we ssume C =0.Theost of omplete ssignment l in X is defined s: ost(l) =C C s C C s (l[s]) A omplete ssignment l on X is fesile if ost(l) <k, nd is solution of WCSP if l hs the minimum ost mong ll fesile tuples. A quntified onstrint stisftion prolem [3] (QCSP) P is tuple (X, D, C, Q), wherex =(x 1,x 2,...,x n ) is n ordered sequene of vriles, D =(D 1,D 2...,D n ) is n ordered sequene of finite domins, C = C 1 C 2... C e is onjuntion of onstrints, nd Q = (Q 1,...,Q n ) is quntifier sequene in whih eh Q i is either (existentil, there exists ) or (universl, for ll ) nd ssoited with x i. A onstrint C k C onsists of sequene X k =(x k1,...,x kr ) of r>0vriles s.t. X k is susequene of X nd D k is susequene of D. C k hs n ssoited set A[C k ] D k1... D kr of tuples whih speify llowed omintions of vlues for the vriles in X k.letfirstx(p) returns the first unssigned vrile in the vrile sequene. If there re no suh vriles, it returns. Thesemntis of QCSP P is defined reursively s follows: (1) In se firstx(p) =, if ll onstrints C k C re stisfile, P is stisfile; nd if ny onstrint fils, P is unstisfile. (2) Otherwise, let firstx(p) = x i.ifq i = then P is stisfile iff there exists vlue D i suh tht the simplified prolem P with ssigned to x i is stisfile. If Q i = then P is stisfile iff for ll vlues D i the simplified prolem P with ssigned to x i is stisfile. III. QUANTIFIED WEIGHTED CSPS Stndrd WCSPs re minimiztion in nture, we im t lso optimizing prolems with dversril onditions, y modeling dversries using mx quntifiers. A Quntified Weighted Constrint Stisftion Prolem (QWCSP) P is tuple (X, D, C, Q,k), wherex =(x 1,...,x n ) is defined s n ordered sequene of vriles, D = (D 1,...,D n ) is n ordered sequene of finite domins, C is set of soft onstrints s in WCSPs, Q =(Q 1,...,Q n ) is quntifiers sequene where Q i is either mx or min ssoited with x i, nd k is the glol upper ound. In QWCSP, ordering of vriles is importnt. Without loss of generlity, we ssume vriles re ordered y their indies. We define vrile with min (mx resp.) quntifier to e minimiztion vrile (mximiztion vrile resp.). Let P[x i1 = i1 ][x i2 = i2 ]...[x im = im ] e the suprolem otined from P y ssigning vlue i1 to vrile x ii, ssigning vlue i2 to vrile x i2,..., ssigning vlue im to vrile x im. Suppose l is omplete ssignment of P. We reuse the definition of firstx(p) definedinqcsps. The A-ost(P) of QWCSP P is defined reursively s follows: ost(l), if firstx(p) = A-ost(P) = mx(m i), if firstx(p) =x i nd Q i =mx min(m i), if firstx(p) =x i nd Q i =min where M i = {A-ost(P[x i = v]) v D i }. A QWCSP P is stisfile iff A-ost(P) < k. Similr to QCSPs, we define lok of vriles in QWCSP P to e mximl susequene of vriles in X whih hs the sme quntifiers. Chnging the vrile ordering within the sme lok of vriles does not hnge the A-ost of QWCSP. Exmple 1: Given QWCSP P with the ordered sequene of vriles (x 1,x 2,x 3 ), domins D 1 = {,, },D 2 = {, }, nd D 3 = {,, }, the set of onstrints represented in Figure 1, the quntifier sequene (Q 1 =mx,q 2 =min,q 3 =mx), nd the glol upper ound k. The prolem is to find the A-ost of P. Figure 1 indites there re 3 unry onstrints C 1,C 2,C 3 nd 2 inry onstrints C 1,2,C 2,3. For unry onstrints, non-zero unry osts re depited inside irle nd domin vlues re pled ove the irle. For inry onstrints, non-zero inry osts re depited s lels on edges onneting the orresponding pir of vlues. Only non-zero osts re shown. We show the omputtion for the A-ost of the QWCSP P s follows: A-ost(P) = mx { min { mx {A-ost(P[x 1 = v 1][x 2 = v 2][x 3 = v 3])}}} v 1 D 1 v 2 D 2 v 3 D 3 = mx{ min{mx{ost(,, ),ost(,, ),ost(,, )},...}, min{mx{ost(,, ),ost(,, ),ost(,, )},...}, min{mx{ost(,, ),ost(,, ), ost(,, )},...}} = mx{ min{mx{10, 5, 4}, mx{11, 8, 6}}, min{mx{7, 2, 1}, mx{7, 4, 2}}, min{mx{6, 1, 0}, mx{8, 5, 3}}} = mx{ 10, 7, 6} =10 If k>10 in Exmple 1, then the prolem is stisfile. Otherwise, Exmple 1 is unstisfile. Solution of WCSP is omplete ssignment with the minimum osts, while solution in QCSPs is winning strtegy [5]. In this pper, we define solution of QWCSP P s omplete ssignment {x 1 = v 1,...,x n = v n } s.t.: A-ost(P) =A-ost(P[x 1 = v 1 ]...[x i = v i ]), 1 i n. Extrting solutions is esy fter omputing the A-ost of QWCSP.

3 10 x 1 x 2 x 3 mx x min x mx x 3 Figure 1. Constrints for Exmple 1 Figure 2 shows n dpttion of the stndrd leling tree [1] for Exmple 1. The A-ost for eh su-prolem is pled inside the orresponding node representing the su-prolem. Both WCSPs nd QCSPs re speil ses of QWCSPs. We stte without proof the following theorems. Theorem 1: A WCSP P = (X, D, C,k) n e trnsformed y Krp redution [6] to n equivlent QWCSP P =(X, D, C, Q,k) with ll Q i Qequl to the min quntifier. Given hrd onstrint C. We n onstrut soft onstrint C on the sme set of vriles. A soft onstrint C returns ost 0 if C is stisfile on the sme set of ssignments; otherwise, C returns ost k. Theorem 2: AQCSPP = X, D, C, Q n e trnsformed y Krp redution [6] to n equivlent QWCSP P = (X, D, C, Q, 1) where C is the set of onstrints onstruted from C. For eh Q i Q,ifx i Xis n existentil vrile in QCSP, then Q i is min quntifier; otherwise, Q i is mx quntifier. Corollry 3: QCSPs nd WCSPs re speil ses of QWCSPs, whih re PSPACE-hrd. IV. BRANCH &BOUND WITH CONSISTENCIES This setion outlines omplete solver for QWCSPs. The key ide of the solver is tht, y pplying lph-et pruning [7] in the Brnh & Bound serh nd dpting onsisteny tehniques used in WCSP [2], we n estimte the A-ost erly in the serh so s to redue the serh spe. We first disuss lph-et pruning. Then we disuss generl onditions whih n led to prunings nd ktrkings. Due to spe limittions, we skip detiled node nd r onsisteny notions whih were modified nd integrted with lph-et pruning to solve QWCSPs more effiiently. A. Alph-Bet Pruning Alph-et pruning ttempts to redue serh nodes in minimx lgorithm y exploiting () semntis of the mx nd min quntifiers nd () the upper nd lower ounds of the osts of previously visited nodes. We n pply lph-et pruning in the Brnh & Bound serh diretly in solving QWCSPs s only mx nd min quntifiers re mx x 1 min x 2 mx x Figure 2. Leling Tree for Exmple X 6 X X X X X X X X X Figure 3. Leling Tree for Exmple 1 fter pplying lph-et pruning llowed. Alph-et pruning is lso used for solving reltime online QCSPs [8]. Algorithm 1 is high-level strtion of QWCSP solver. We first neglet the propgtion routine in lines 7 31 nd disuss the si lph-et pruning lgorithm. The serh strts with lph_et(p, 0,k). The ounds l nd u re the rnge of osts found y the lph-et pruning lgorithm. QWCSP propgtors further exploit these ounds to hieve stronger propgtion. We use P[x j u] to denote funtion pruning vlue u of vrile x j in P, nd P[x i = v] to denote funtion ssigning vlue v to vrile x i in P. Both funtions return the modified prolem. Line 3 is the se se in whih ll vriles re ound. The routine ost returns the ost of the omplete ssignment. Lines give the min routine of the trditionl lphet pruning lgorithm. We only explin the ost for the min quntifier, sine tht of mx is similr. The for loop in lines 6 42 evlutes ll su-prolems P[x i = v] y reursively invoking the lph-et lgorithm. Sine the gol is to find minimum vlue, the upper ound is updted. When the upper ound is less thn the lower ound (line 38), it triggers the short-ut to rek out of the remining serh sine every vlue returned y susequent lls will e dominted y the urrent ounds. The funtion lph_et ends y returning the upper ound for the min quntifier (line 41). We illustrte the ode with n exmple. Exmple 2: Consider the tree in Figure 2, nd ssume vlues re leled in the sequene of [,, ]. The serh strts with lph_et(p, 0,k). Consider the node P = P[x 1 = ], whih first visits its su-prolem P [x 2 = ] y

4 Algorithm 1 A QWCSP Solver 1: funtion lph_et(p,l,u): 2: if firstx(p) == then 3: return ost(p) 4: end if 5: x i = firstx(p) 6: for v D i do 7: {Pruning using QWCSP semntis} 8: hnged = true 9: while hnged do 10: hnged = flse 11: for j [i..n] do 12: for u D j do 13: p l = pprox_l(p,x j = u) 14: if u <= p l then 15: if Q j == min then 16: P = P[x j u],hnged = true 17: else 18: return u 19: end if 20: end if 21: p u = pprox_u(p,x j = u) 22: if p u <= l then 23: if Q j == min then 24: return l 25: else 26: P = P[x j u],hnged = true 27: end if 28: end if 29: end for 30: end for 31: end while 32: {Bsi lph-et pruning} 33: if Q i == min then 34: u = min(u, lph_et(p[x i = v],l,u)) 35: else 36: l = mx(l, lph_et(p[x i = v],l,u)) 37: end if 38: if u <= l then 39: rek 40: end if 41: return (Q i == min)?u : l 42: end for lling lph_et(p [x 2 = ], 0,k) nd vlue of 10 is returned. Sine Q 2 =min, the upper ound is updted. The routine then invoke lph_et(p [x 2 = ], 0, 10). After visiting P [x 2 = ][x 3 = ], we get n A-ost of 11 for the su-prolem. The quntifier here is mx, theost is greter thn the upper ound nd the ondition in line 38 holds. No mtter wht osts the remining su-prolems produe, they hve no impt on the solution nd short-ut to rek out of the remining serh is triggered. Hene, the su-prolems P [x 2 = ][x 3 = ] nd P [x 2 = ][x 3 = ] re not explored. Figure 3 illustrtes the nodes pruned, denoted y the symol X, y lph-et pruning. B. Consisteny Tehniques In trditionl CSPs, we enfore different levels of onsisteny to prune infesile domin vlues nd hene redue the serh spe. In WCSPs, the onsisteny lgorithms tke the ost of onstrints into ount. Vrious onsisteny notions (e.g. NC*, AC* [2], FDAC*, EDAC*, OSAC, nd VAC [9]) hve een proposed nd proven to e useful in improving solver performne. Suh tehniques, however, nnot e diretly pplied to QWCSP sine the quntifiers hnge the semntis of onstrints. In prtiulr, pplying these onsisteny notions on onstrints overing on mx vriles my result in unsound prunings. Consisteny notions for QWCSPs need to tke quntifiers into ount. To prune vlues of QWCSP, the min ide is tht if the A-ost of su-prolem P = P[x i = v] is greter thn or equl to the upper ound u (less thn or equl to the lower ound l resp.), the pruning tehniques in lph-et n e pplied. Let P[x 1..i 1 = v 1..i 1,x i = v] denote the suprolem P[x 1 = v 1 ][x 2 = v 2 ]...[x i 1 = v i 1 ][x i = v]. Formlly, we onsider two onditions: v D i s.t. v 1 D 1,..., v i 1 D i 1 : A-ost(P[x 1..i 1 = v 1..i 1,x i = v]) u (1) A-ost(P[x 1..i 1 = v 1..i 1,x i = v]) l (2) When ny of the ove onditions is stisfied, we n pply lph-et pruning ording to Tle I. Tle I WHEN CAN WE PRUNE/BACKTRACK A-ost u l Q i =min prune v ktrk Q i =mx ktrk prune v Theorem 4: Given QWCSP P. If Condition (1)/(2) for P is stisfied, pplying prunings nd ktrkings ording to Tle I is sound. Proof: (Sketh) Resons to perform prunings nd ktrking for min nd mx re symmetril. We only desrie the se where Q i =min. Suppose Condition (1) holds. We onsider A-ost(s) for su-prolems P[x 1..i 1 = v 1..i 1 ]. Without loss of generlity, we write P i 1 to e one of these su-prolems P[x 1..i 1 = v 1..i 1 ] y fixing vlues v 1 D 1, v 2 D 2,..., v i 1 D i 1. We will see the proof using P i 1 pplies for ll su-prolems P[x 1..i 1 = v 1..i 1 ], regrdless on whih vlues we fix. Given Q i =min,we otin: A-ost(P i 1 )= minp i 1 [x i = ] D i If A-ost(P i 1 ) <u, the following must e true: v D i where v v s.t. A-ost(P i 1 [x i = v ]) <u Pruning vlue v does not hnge the A-ost of P i 1.If A-ost(P i 1 ) u, i.e.p i 1 must not led to solutions, the following must e true: v D i, A-ost(P i 1 [x i = v ]) u After pruning vlue v, either domin wipe out ours or A-ost(P i 1 ) u. For oth ses, the su-prolem P i 1 nnot led to solutions. Comining the two ses, pruning vlue v does not hnge the prolem from unstisfile to stisfile(,nd vie vers). We now disuss Condition (2). Similr to the previous se, we onsider the A-ost for these su-prolems

5 2 Upper ound u : 10 Lower ound l : 1 0 Upper ound u : 10 Lower ound l : 1 mx x1 mx x min x 2 mx x mx x 3 min x Figure 4. Leling Tree for Exmple 3 P[x 1..i 1 = v 1..i 1 ],ndwefixp i 1 to e one of these su-prolems similrly. Given Q i =min, we otin: A-ost(P i 1 )= minp i 1 [x i = ] D i By Condition (2), P i 1 [x i = v] l holds, nd therefore: A-ost(P i 1 ) l Rell A-ost(P[x 1..i 1 = v 1..i 1,x i = v]) l pplies regrdless on whih vlue v 1, v 2,..., v i 1 we fix. Therefore, we otin: v 1 D 1,..., v i 1 D i 1, A-ost(P[x 1..i 1 = v 1..i 1]) l We n esily otin the following results using the definition of A-ost for QWCSP: A-ost(P) l. QWCSP P must e unstisfile, nd the solver n ktrk. Exmple 3: Given QWCSP P with the ordered sequene of vriles (x 1,x 2,x 3 ), domins D 1 = {,, },D 2 = {, }, ndd 3 = {,, }, the quntifier sequene (Q 1 = mx,q 2 = min,q 3 = mx),ndthe glol upper ound 10. Suppose the A-ost for su-prolem P[x 1 = ] is 1. Figure 4 shows the upper ound u, lower ound l, ndthea-osts for the remining su-prolems. By inspeting the figure, we n esily oserve Condition (2) holds: D 3 s.t. v 1 D 1, v 2 D 2, A-ost(P[x 1 = v 1 ][x 2 = v 2 ][x 3 = ]) l By Tle I, we n prune vlue of x 3. We n esily oserve the solution must not ontin the ssignment x 3 =, nd therefore, we n prune the vlue. After pruning vlue of x 3, we n esily oserve Condition (1) holds: D 2 s.t. v 1 D 1, A-ost(P[x 1 = v 1 ][x 2 = ]) u Similrly, we n prune vlue of x 2. Exmple 4: Suppose the quntifier sequene of Exmple 3 is repled y (Q 1 =mx,q 2 =mx,q 3 = min), nd the A-ost for su-prolem P[x 1 = ] remins unhnged (A-ost(P[x 1 = ]) = 1). Figure 5 shows the upper ound u, lower ound l,ndthea-osts for the remining su-prolems. Costs for eh omplete ssignment remin Figure 5. Leling Tree for Exmple 4 the sme s in Exmple 3. The only differene is the modified A-osts for su-prolems, resulting from the hnge in quntifiers. By inspeting the figure, we n esily oserve Condition (2) still holds: D 3 s.t. v 1 D 1, v 2 D 2, A-ost(P[x 1 = v 1 ][x 2 = v 2 ][x 3 = ]) l As Q 3 =min, we n esily oserve ll the A-osts for su-prolems P[x 1 = v 1 ][x 2 = v 2 ], v 1 D 1,v 2 D 2 must e less thn or equl to the l. By indution, we n onlude su-prolems P[x 1 = v 1 ], v 1 D 1 must e less thn or equl to the l, nd finlly otin A-ost(P) l. Therefore following Tle I, the solver n ktrk. One wy to hek Condition (1)/(2) is to find the ext vlue of the A-ost for eh su-prolem, whih is omputtionlly expensive. The prolem is essentilly equivlent to determining if vrile ssignment is solution of lssil CSPs in generl, whih is NP-hrd. A ommon tehnique in onstrint progrmming is to formulte onsisteny notions nd lgorithms, whih im t extrting nd mking informtion in prolem expliit. Useful informtion inludes pruning nd ost informtion. Here we pply the sme ide. We use effiient wys to extrt good upper ound nd lower ound of A-ost, so s to ktrk or identify non-solution vlues from domins erly in the serh. In the QWCSP solver (Algorithm 1), lines 7 31 prune or ktrk ording to the onditions speified in Tle I. Sine finding A-ost is diffiult, the lgorithm finds the pproximted ounds (pprox_l in line 13, nd pprox_u in line 21). Funtions pprox_l(p,x i = v) nd pprox_u(p,x i = v) find the pproximte A-ost for the set S of su-prolems, where: S = {P[x 1..i 1 = v 1..i 1,x i = v] v 1 D 1,...,v i 1 D i 1} suh tht: P S, A-ost(P ) pprox_u(p,x i = v),nd P S, A-ost(P ) pprox_l(p,x i = v)

6 pprox_u(p,x i = v) is tight if: mx A-ost(P )=pprox_u(p,x i = v) P S Similrly, pprox_l(p,x i = v) is tight if: min A-ost(P )=pprox_l(p,x i = v) P S Corollry 5: Given QWCSP P, If pprox_u(p,x i = v) l, we n prune vlue v of vrile x i if Q i = mx, nd perform ktrk if Q i =min.ifpprox_l(p,x i = v) u, we n prune vlue v of vrile x i if Q i =min, nd perform ktrk if Q i =mx. Proof: (Sketh) We n esily oserve the following: l pprox_u(p,x i = v) P[x 1..i 1 = v 1..i 1,x i = v] u pprox_l(p,x i = v) P[x 1..i 1 = v 1..i 1,x i = v] v 1 D 1,v 2 D 2,...,v i 1 D i 1. Condition pprox_u(p,x i = v) l implies Condition (2), nd ondition pprox_l(p,x i = v) u implies Condition (1). We then pply Tle I ording to these onditions. We hve designed two kinds of onsisteny notions: node onsisteny nd r onsisteny, whih extrt the pproximted upper nd lower ounds (hene implement pprox_u nd pprox_l) for QWCSPs. Unfortuntely, we hve to skip the tehnil detils due to spe limittions. V. QCOP VERSUS QWCSP QWCSPs re speil ses of QCOP [4]. Given QWCSP, this setion shows how to onstrut QCOP instne y the Soft As Hrd pproh [10], whih ws used to onstrut lssil COP instnes from WCSP instnes. In the next setion, we provide empiril evidene to demonstrte tht our proposed solving tehniques re more effiient thn those for QCOPs for tkling QWCSPs. A. Definitions of QCOP We first give the definition of QCOP [4]. A restrited quntified set of vriles (rqset) is tuple (q, W, C) where q {, }, W is suset of vriles W V,ndC is CSP. A prefix P of rqsets is sequene of rqsets ((q 1,W 1,C 1 ),...,(q n,w n,c n )) suh tht W i W j =, i j. We define rnge(p ) for prefix P with n rqsets to e [1..n], efore i (P ) to e j i W j,ndnu i (P )= min j>i {j q j = } to e the index of the next universl lok of vriles loted fter n index i. If no suh index exists, we denote nu i (P ) y n +1.LetA e set of ggregte nmes nd F set of ggregte funtions. An ggregte is n tom of the form : f(x) where A, f F,nd X V A.Anoptimiztion ondition is n tom of the form min(x), mx(x) where X V A or the tom ny. An tom min(x) (mx(x) resp.) mens the user is interested in strtegies tht minimize (mximize resp.) this vlue, while ny indites the user does not re out the returned strtegy. A -orqset is tuple (,W,C,o) where (,W,C) is rqset nd o is n optimiztion ondition. A -orqset is tuple (,W,C,A) where (,W,C) is rqset nd A is set of ggregtes. We denote nmes of the set of ggregtes A in -orqset y nmes(a). Anorqset is either -orqset or -orqset. A QCOP+ is pir (P, G) where G is CSP nd P =(orq 1,...,orq n ) is prefix of orqsets suh tht i rnge(p ), with k = nu i (P ): 1)iforq i =(,W,C,o) with o = min(x) or o = mx(x), then we must hve X efore k 1 (P ) (k <n+1?nmes(a k ): ), nd 2) if orq i =(,W,C,A), then for ll : f(x) in A, wemust hve X efore k 1 (P ) (k <n+1?nmes(a k ): ). A QCOP is QCOP+ in whih no orqset hs restritions, i.e. no onstrints in the CSP of ll orqsets. B. Trnsforming QWCSPs into QCOPs We n trnsform ny QWCSP P =(X, D, C, Q,k) into QCOPP = (P,G ) sed on the modified Soft As Hrd pproh s follows. For eh vrile x i in P, there is n orqset orq i =(, {x i },C i,o i ) in P,whereC i hs no onstrints. For every soft onstrint C in C, thereis orresponding ost vrile x in the CSP G with domin eing equl to ll possile osts given y C. We onstrut n uxiliry ost vrile s in CSP G whih is equl to the sum of ll ost vriles x. A onstrint s<kis dded to restrit the totl ost to e less thn the glol upper ound. If x i is minimiztion vrile, then we dd o i = min(s); otherwise, o i =mx(s). Suppose C on set S of vriles giving ost m when tuple of ssignment l is ssigned. There is reified onstrint in the CSP G restriting x to tke vlue m if vriles in S re ssigned with tuple l. Exmple 5: Given QWCSP P with n ordered sequene of vriles (x 1,x 2 ), domins D 1 = D 2 = {, }, set of onstrints {C 1,C 2 }, quntifier sequene {Q 1 = min,q 2 = mx), nd glol upper ound k = 7. C 1 () =0,C 1 () =5,C 2 () =1,C 2 () =3. The QCOP P n e expressed using the Soft As Hrd pproh s showninfigure6. x 1 D 1 x 2 D 2 min s mx s x C 1 {0, 5},x C 2 {1, 3},s {1, 3, 6} s = x C 1 x C 2 s<7 [x 1 = ] [x C 1 =0] [x 1 = ] [x C 1 =5] [x 2 = ] [x C 2 =1] [x 2 = ] [x C 2 =3] Figure 6. Trnsformed QWCSP in Exmple 5 Theorem 6: A QWCSP P n e trnsformed into QCOP P.TheA-ost of P n e found y solving the optiml strtegy [4] of P.

7 The proof follows diretly from the Soft As Hrd onstrution. In prtiulr, A-ost of P is equl to the vlue ssigned to s in the optiml strtegy [4] of P. The entrl theme of this pper is to show QWCSP, more restrited ut useful sulss of QCOP+, n e solved more effiiently. Bsed on WCSPs, QWCSP s onsisteny tehniques redistriute onstrint osts y projetions nd extensions [2]. In turn, we onjeture tht this llows extr prunings over the lssil onsistenies used in QCOP+. The sitution is similr to how Lee nd Leung [11] show WCSP (soft pproh) onsistenies to e stronger thn lssil optimiztion used in Soft As Hrd. VI. PERFORMANCE EVALUATION In this setion, we ompre the QCOP+ solver QeCode ginst our solver in three progressive modes: Alph-et pruning, Node Consisteny (NC), nd Ar Consisteny (AC). Vlues re leled in stti lexiogrphi order. We generte 20 instnes for eh enhmrk s prtiulr prmeter setting. Results for eh enhmrk re tulted with numer of solved instnes, verge time used, nd verge numer of tree nodes enountered. We tke verge for solved instnes only. Winning entries for verge time used nd verge numer of tree nodes enountered re highlighted in old. A symol - represents ll instnes fil to run within the time limit of 900 seonds. The experiment is onduted on Pentium 4 3.2GHz with 3GB memory. We ompre our solver ginst QeCode, whih uses minimx. All QWCSP instnes re trnsformed to QCOP using the Soft As Hrd pproh outlined. We note lph-et prunings n e employed for QCOP+, ut we elieve there will e less prunings y enforing lssil onsistenies. A. Rndom Generted Prolems We generte rndom inry QWCSPs with prmeters (n, s, d), where n is the numer of vriles, s is the domin size for eh vrile, nd d is the proility for inry onstrint to our etween two vriles. We purposefully do not generte unry onstrints to mke the prolem hrder to solve. The osts for eh inry onstrint re generted uniformly in [0...30]. Quntifiers re generted rndomly with hlf proility for min (mx resp.), nd numer of quntifier levels vry from instnes to instnes. Tle II shows the results. For ll instnes, even just lph-et pruning is two orders of mgnitude fster thn QeCode, whih nnot hndle even modertely sized instnes. NC nd AC oth run fster thn lph-et pruning, with the serh spe drmtilly deresed nd runtime signifintly fster. AC, utilizing informtion from oth unry nd inry onstrints, performs est mong ll solver modes. B. Grph Coloring Gme We hve generted instnes (v,, d) for grph oloring gme similr to the one in the introdution, where v is n even numer of nodes in the grph, is the rnge of numers llowed to ple, nd d is the proility of n edge etween two verties. Plyer 1 (Plyer 2 resp.) is ssigned to ply the odd (even resp.) numered turns, plyers ply in turn, nd in eh turn node is numered. The node orresponding to eh turn is generted rndomly. Tle III shows the results. Similr to Rndom Prolems, lph-et pruning runs fster thn QeCode in ll instnes two orders of mgnitude fster. NC nd AC oth run fster thn lphet pruning. Compring AC nd lph-et pruning, we n gin up to six times speedup for AC, whih prunes up to two-third of the serh spe of NC. Agin, AC etters in lmost ll instnes in runtime. C. Min-Mx Resoure Allotion Prolem Suppose N units of resoures re lloted to t tivities. We let x i e the mount of resoures lloted to tivity i, nd funtion i (x i ) returns the ost inurred from tivity i y lloting x i units of resoures the tivity. The resoure llotion prolem [12] is to find n optiml resoure llotion so s to minimize the totl ost. Suppose now there re s funtions s i. The min-mx resoure llotion prolem [13] is to find resoure llotion to minimize the mximum ost funtions. Tle IV shows the results. Alph-et pruning runs n order of mgnitude fster thn QeCode. Agin, NC nd AC oth run fster thn lph-et pruning. AC n prune up to 90% of the serh spe of NC nd runs the fstest in ll instnes. VII. CONCLUDING REMARKS We define the QWCSP frmework for modeling optimiztion prolems with dversries. Our work llows us to model nd solve interesting prolems, suh s grph oloring gme nd min-mx resoure llotion prolem, effiiently. We propose nd implement omplete solver inorporting lph-et pruning into rnh-nd-ound. We evlute our proposl using three enhmrks nd ompre with QeCode. Experimentl results show onsisteny enforement is worthwhile in generl nd our solver is orders of mgnitude fster thn QeCode in tkling QWCSPs, lthough QeCode is more generl solver for solving QCOP/QCOP+. When restriting ttention to QWCSPs, we re le to devise speifi inferene to prune nd guide serh. Our results suggest lph-et pruning tehniques n e future possile diretion for enhning QeCode. Brown et. l propose similr frmework, Adversril CSPs [14], whih fouses on the se where two opponents tke turns to ssign vriles, eh trying to diret the solution towrds their own ojetives. They desrie the proess s gme-tree serh, nd the solving lgorithm is sed on the minimx lgorithm. Our work pushes the ide further y: 1) pplying lph-et pruning, nd 2) exploiting osts informtion using soft onstrint tehniques. Another relted work is Stohsti CSPs [15], whih n represent

8 Tle II RANDOM GENERATED PROBLEM QeCode Alph-et Node Consisteny Ar Consisteny (n, s, d) #solve Time #nodes #solve Time #nodes #solve Time #nodes #solve Time #nodes (9, 5, 0.4) ,394, , , ,221 (9, 5, 0.6) ,394, , , ,024 (12, 5, 0.4) ,967, , ,866 (12, 5, 0.6) ,782, , ,710 (16, 5, 0.4) ,269, ,780, ,657,203 (16, 5, 0.6) ,859, ,085, ,909,388 (18, 5, 0.4) ,210, ,514,426 (18, 5, 0.6) ,171, ,613,430 Tle III GRAPH COLORING GAME QeCode Alph-et Node Consisteny Ar Consisteny (v,, d) #solve Time #nodes #solve Time #nodes #solve Time #nodes #solve Time #nodes (10, 4, 0.4) ,446, , , ,580 (10, 4, 0.6) ,446, , , ,617 (12, 4, 0.4) , , ,124 (12, 4, 0.6) , , ,088 (16, 4, 0.4) ,050, ,002, ,523 (16, 4, 0.6) ,213, , ,691 (18, 4, 0.4) ,095, ,315,212 (18, 4, 0.6) ,295, ,711,880 Tle IV MIN-MAX RESOURCE ALLOCATION QeCode Alph-et Node Consisteny Ar Consisteny (t, N, s) #solve Time #nodes #solve Time #nodes #solve Time #nodes #solve Time #nodes (10, 8, 7) , , , ,317 (12, 8, 7) ,889, , , ,096 (12, 9, 7) ,408, , , ,563 (13, 9, 7) ,461, ,732, , ,831 (13, 9, 8) ,455, ,700, , ,526 dversries y known proility distriutions. Proilities for every tion deided y dversries re known eforehnd. We then seek tions to minimize/mximize the expeted ost for ll possile senrios. Our work is similr in the sense tht we re minimizing the ost for the worst se senrio. It will e interesting to study how to model non-zero sum optimiztion prolems, llow restrited quntiers [16] for soft onstrints, devise r onsisteny lgorithms for high rity soft onstrints, nd investigte on vrile / vlue ordering heuristis. REFERENCES [1] K. Apt, Priniples of Constrint Progrmming. New York, USA: Cmridge University Press, [2] J. Lrros nd T. Shiex, Solving weighted CSP y mintining r onsisteny, Artifiil Intelligene, vol. 159, no. 1-2, pp. 1 26, [3] L. Bordeux nd E. Monfroy, Beyond NP: Ar-onsisteny for quntified onstrints, in CP 02, 2002, pp [4] M. Benedetti, A. Lllouet, nd J. Vutrd, Quntified onstrint optimiztion, in CP 08, 2008, pp [5] L. Bordeux, M. Cdoli, nd T. Mnini, CSP properties for quntified onstrints: Definitions nd omplexity, in AAAI 05, 2005, pp [6] S. Aror nd B. Brk, Computtionl Complexity: A Modern Approh, 1st ed. Cmridge University Press, [7] S. J. Russell nd P. Norvig, Artifiil Intelligene: A Modern Approh. Person Edution, [8] D. Stynes nd K. N. Brown, Reltime online solving of quntified CSPs, in CP 09, 2009, pp [9] M. Cooper, S. de Givry, M. Snhez, T. Shiex, M. Zytniki, nd T. Werner, Soft r onsisteny revisited, Artifiil Intelligene, vol. 174, no. 7-8, pp , [10] T. Petit, J.-C. Régin, nd C. Bessière, Speifi filtering lgorithms for over-onstrined prolems, in CP 01, 2001, pp [11] J. H. M. Lee nd K. L. Leung, Towrds effiient onsisteny enforement for glol onstrints in weighted onstrint stisftion, in IJCAI 09, 2009, pp [12] K. M. Mjelde, Methods of Allotion of Limited Resoures. John Wiley, [13] G. Yu, Min-mx optimiztion of severl lssil disrete optimiztion prolems, Journl of Optimiztion Theory nd Applitions, vol. 98, pp , [14] K. N. Brown, J. Little, P. J. Creed, nd E. C. Freuder, Adversril onstrint stisftion y gme-tree serh, in ECAI 04, 2004, pp [15] T. Wlsh, Stohsti onstrint progrmming, in ECAI 02, 2002, pp [16] M. Benedetti, A. Lllouet, nd J. Vutrd, QCSP mde prtil y virtue of restrited quntifition, in IJCAI 07, 2007, pp

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

More information

Towards Efficient Consistency Enforcement for Global Constraints in Weighted Constraint Satisfaction

Towards Efficient Consistency Enforcement for Global Constraints in Weighted Constraint Satisfaction Towrs Effiient Consisteny Enforement for Glol Constrints in Weighte Constrint Stisftion J. H. M. Lee n K. L. Leung Deprtment of Computer Siene n Engineering The Chinese University of Hong Kong, Shtin,

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

More information

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

Finite State Automata and Determinisation

Finite State Automata and Determinisation Finite Stte Automt nd Deterministion Tim Dworn Jnury, 2016 Lnguges fs nf re df Deterministion 2 Outline 1 Lnguges 2 Finite Stte Automt (fs) 3 Non-deterministi Finite Stte Automt (nf) 4 Regulr Expressions

More information

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then.

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then. pril 8, 2017 Mth 9 Geometry Solving vetor prolems Prolem Prove tht if vetors nd stisfy, then Solution 1 onsider the vetor ddition prllelogrm shown in the Figure Sine its digonls hve equl length,, the prllelogrm

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

Learning Partially Observable Markov Models from First Passage Times

Learning Partially Observable Markov Models from First Passage Times Lerning Prtilly Oservle Mrkov s from First Pssge s Jérôme Cllut nd Pierre Dupont Europen Conferene on Mhine Lerning (ECML) 8 Septemer 7 Outline. FPT in models nd sequenes. Prtilly Oservle Mrkov s (POMMs).

More information

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions MEP: Demonstrtion Projet UNIT 4: Trigonometry UNIT 4 Trigonometry tivities tivities 4. Pythgors' Theorem 4.2 Spirls 4.3 linometers 4.4 Rdr 4.5 Posting Prels 4.6 Interloking Pipes 4.7 Sine Rule Notes nd

More information

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras Glol Journl of Mthemtil Sienes: Theory nd Prtil. ISSN 974-32 Volume 9, Numer 3 (27), pp. 387-397 Interntionl Reserh Pulition House http://www.irphouse.om On Implitive nd Strong Implitive Filters of Lttie

More information

8 THREE PHASE A.C. CIRCUITS

8 THREE PHASE A.C. CIRCUITS 8 THREE PHSE.. IRUITS The signls in hpter 7 were sinusoidl lternting voltges nd urrents of the so-lled single se type. n emf of suh type n e esily generted y rotting single loop of ondutor (or single winding),

More information

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6 CS311 Computtionl Strutures Regulr Lnguges nd Regulr Grmmrs Leture 6 1 Wht we know so fr: RLs re losed under produt, union nd * Every RL n e written s RE, nd every RE represents RL Every RL n e reognized

More information

TOPIC: LINEAR ALGEBRA MATRICES

TOPIC: LINEAR ALGEBRA MATRICES Interntionl Blurete LECTUE NOTES for FUTHE MATHEMATICS Dr TOPIC: LINEA ALGEBA MATICES. DEFINITION OF A MATIX MATIX OPEATIONS.. THE DETEMINANT deta THE INVESE A -... SYSTEMS OF LINEA EQUATIONS. 8. THE AUGMENTED

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

More information

Distributed Generation Placement in Unbalanced Distribution System with Seasonal Load Variation

Distributed Generation Placement in Unbalanced Distribution System with Seasonal Load Variation Distriuted Genertion Plement in Unlned Distriution System with Sesonl Lod Vrition Rvi Tej Bhimrsetti Dept. of Eletril Engg., NT Kurukshetr Kurukshetr, ndi svrtej@gmil.om Ashwni Kumr, Memer, EEE Dept. of

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

More information

Outline. Theory-based Bayesian framework for property induction Causal structure induction

Outline. Theory-based Bayesian framework for property induction Causal structure induction Outline Theory-sed Byesin frmework for property indution Cusl struture indution Constrint-sed (ottom-up) lerning Theory-sed Byesin lerning The origins of usl knowledge Question: how do people relily ome

More information

TIME AND STATE IN DISTRIBUTED SYSTEMS

TIME AND STATE IN DISTRIBUTED SYSTEMS Distriuted Systems Fö 5-1 Distriuted Systems Fö 5-2 TIME ND STTE IN DISTRIUTED SYSTEMS 1. Time in Distriuted Systems Time in Distriuted Systems euse eh mhine in distriuted system hs its own lok there is

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

CS 573 Automata Theory and Formal Languages

CS 573 Automata Theory and Formal Languages Non-determinism Automt Theory nd Forml Lnguges Professor Leslie Lnder Leture # 3 Septemer 6, 2 To hieve our gol, we need the onept of Non-deterministi Finite Automton with -moves (NFA) An NFA is tuple

More information

1B40 Practical Skills

1B40 Practical Skills B40 Prcticl Skills Comining uncertinties from severl quntities error propgtion We usully encounter situtions where the result of n experiment is given in terms of two (or more) quntities. We then need

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1)

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1) Green s Theorem Mth 3B isussion Session Week 8 Notes Februry 8 nd Mrh, 7 Very shortly fter you lerned how to integrte single-vrible funtions, you lerned the Fundmentl Theorem of lulus the wy most integrtion

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α Disrete Strutures, Test 2 Mondy, Mrh 28, 2016 SOLUTIONS, VERSION α α 1. (18 pts) Short nswer. Put your nswer in the ox. No prtil redit. () Consider the reltion R on {,,, d with mtrix digrph of R.. Drw

More information

THE PYTHAGOREAN THEOREM

THE PYTHAGOREAN THEOREM THE PYTHAGOREAN THEOREM The Pythgoren Theorem is one of the most well-known nd widely used theorems in mthemtis. We will first look t n informl investigtion of the Pythgoren Theorem, nd then pply this

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

More information

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P.

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P. Chpter 7: The Riemnn Integrl When the derivtive is introdued, it is not hrd to see tht the it of the differene quotient should be equl to the slope of the tngent line, or when the horizontl xis is time

More information

Section 4.4. Green s Theorem

Section 4.4. Green s Theorem The Clulus of Funtions of Severl Vriles Setion 4.4 Green s Theorem Green s theorem is n exmple from fmily of theorems whih onnet line integrls (nd their higher-dimensionl nlogues) with the definite integrls

More information

ANALYSIS AND MODELLING OF RAINFALL EVENTS

ANALYSIS AND MODELLING OF RAINFALL EVENTS Proeedings of the 14 th Interntionl Conferene on Environmentl Siene nd Tehnology Athens, Greee, 3-5 Septemer 215 ANALYSIS AND MODELLING OF RAINFALL EVENTS IOANNIDIS K., KARAGRIGORIOU A. nd LEKKAS D.F.

More information

Linear choosability of graphs

Linear choosability of graphs Liner hoosility of grphs Louis Esperet, Mikel Montssier, André Rspud To ite this version: Louis Esperet, Mikel Montssier, André Rspud. Liner hoosility of grphs. Stefn Felsner. 2005 Europen Conferene on

More information

March eq Implementing Additional Reasoning into an Efficient Look-Ahead SAT Solver

March eq Implementing Additional Reasoning into an Efficient Look-Ahead SAT Solver Mrh eq Implementing Additionl Resoning into n Effiient Look-Ahed SAT Solver Mrijn Heule, Mrk Dufour, Joris vn Zwieten nd Hns vn Mren Deprtment of Informtion Systems nd Algorithms, Fulty of Eletril Engineering,

More information

University of Sioux Falls. MAT204/205 Calculus I/II

University of Sioux Falls. MAT204/205 Calculus I/II University of Sioux Flls MAT204/205 Clulus I/II Conepts ddressed: Clulus Textook: Thoms Clulus, 11 th ed., Weir, Hss, Giordno 1. Use stndrd differentition nd integrtion tehniques. Differentition tehniques

More information

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA Common intervls of genomes Mthieu Rffinot CNRS LIF Context: omprtive genomis. set of genomes prtilly/totlly nnotte Informtive group of genes or omins? Ex: COG tse Mny iffiulties! iology Wht re two similr

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Lerning Tom Mitchell, Mchine Lerning, chpter 13 Outline Introduction Comprison with inductive lerning Mrkov Decision Processes: the model Optiml policy: The tsk Q Lerning: Q function Algorithm

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: Digitl Logi Ciruits Chpter 4: Logi Optimiztion Curtis Nelson Logi Optimiztion In hpter 4 you will lern out: Synthesis of logi funtions; Anlysis of logi iruits; Tehniques for deriving minimum-ost

More information

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re

More information

Probability. b a b. a b 32.

Probability. b a b. a b 32. Proility If n event n hppen in '' wys nd fil in '' wys, nd eh of these wys is eqully likely, then proility or the hne, or its hppening is, nd tht of its filing is eg, If in lottery there re prizes nd lnks,

More information

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic Chpter 3 Vetor Spes In Chpter 2, we sw tht the set of imges possessed numer of onvenient properties. It turns out tht ny set tht possesses similr onvenient properties n e nlyzed in similr wy. In liner

More information

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true. York University CSE 2 Unit 3. DFA Clsses Converting etween DFA, NFA, Regulr Expressions, nd Extended Regulr Expressions Instructor: Jeff Edmonds Don t chet y looking t these nswers premturely.. For ech

More information

QUADRATIC EQUATION. Contents

QUADRATIC EQUATION. Contents QUADRATIC EQUATION Contents Topi Pge No. Theory 0-04 Exerise - 05-09 Exerise - 09-3 Exerise - 3 4-5 Exerise - 4 6 Answer Key 7-8 Syllus Qudrti equtions with rel oeffiients, reltions etween roots nd oeffiients,

More information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

Review Topic 14: Relationships between two numerical variables

Review Topic 14: Relationships between two numerical variables Review Topi 14: Reltionships etween two numeril vriles Multiple hoie 1. Whih of the following stterplots est demonstrtes line of est fit? A B C D E 2. The regression line eqution for the following grph

More information

Spacetime and the Quantum World Questions Fall 2010

Spacetime and the Quantum World Questions Fall 2010 Spetime nd the Quntum World Questions Fll 2010 1. Cliker Questions from Clss: (1) In toss of two die, wht is the proility tht the sum of the outomes is 6? () P (x 1 + x 2 = 6) = 1 36 - out 3% () P (x 1

More information

ILLUSTRATING THE EXTENSION OF A SPECIAL PROPERTY OF CUBIC POLYNOMIALS TO NTH DEGREE POLYNOMIALS

ILLUSTRATING THE EXTENSION OF A SPECIAL PROPERTY OF CUBIC POLYNOMIALS TO NTH DEGREE POLYNOMIALS ILLUSTRATING THE EXTENSION OF A SPECIAL PROPERTY OF CUBIC POLYNOMIALS TO NTH DEGREE POLYNOMIALS Dvid Miller West Virgini University P.O. BOX 6310 30 Armstrong Hll Morgntown, WV 6506 millerd@mth.wvu.edu

More information

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem.

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem. 27 Lesson 2: The Pythgoren Theorem nd Similr Tringles A Brief Review of the Pythgoren Theorem. Rell tht n ngle whih mesures 90º is lled right ngle. If one of the ngles of tringle is right ngle, then we

More information

Comparing the Pre-image and Image of a Dilation

Comparing the Pre-image and Image of a Dilation hpter Summry Key Terms Postultes nd Theorems similr tringles (.1) inluded ngle (.2) inluded side (.2) geometri men (.) indiret mesurement (.6) ngle-ngle Similrity Theorem (.2) Side-Side-Side Similrity

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

More information

Expand the Shares Together: Envy-free Mechanisms with a Small Number of Cuts

Expand the Shares Together: Envy-free Mechanisms with a Small Number of Cuts Nonme mnusript No. (will e inserted y the editor) Expnd the Shres Together: Envy-free Mehnisms with Smll Numer of uts Msoud Seddighin Mjid Frhdi Mohmmd Ghodsi Rez Alijni Ahmd S. Tjik Reeived: dte / Aepted:

More information

Transformation of combinatorial optimization problems written in extended SQL into constraint problems

Transformation of combinatorial optimization problems written in extended SQL into constraint problems Trnsformtion of omintoril optimiztion prolems written in extended SQL into onstrint prolems Genki Sknshi Grdute Shool of Informtis, Ngoy University sknshi@trs.ss.i.ngoy-u..jp ABSTRACT The omintoril optimiztion

More information

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

Bayesian Networks: Approximate Inference

Bayesian Networks: Approximate Inference pproches to inference yesin Networks: pproximte Inference xct inference Vrillimintion Join tree lgorithm pproximte inference Simplify the structure of the network to mkxct inferencfficient (vritionl methods,

More information

Single-Player and Two-Player Buttons & Scissors Games (Extended Abstract)

Single-Player and Two-Player Buttons & Scissors Games (Extended Abstract) Single-Plyer nd Two-Plyer Buttons & Sissors Gmes (Extended Astrt) Kyle Burke 1, Erik D. Demine 2, Hrrison Gregg 3, Roert A. Hern 4, Adm Hestererg 2, Mihel Hoffmnn 5, Hiro Ito 6, Irin Kostitsyn 7, Jody

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

s the set of onsequenes. Skeptil onsequenes re more roust in the sense tht they hold in ll possile relities desried y defult theory. All its desirle p

s the set of onsequenes. Skeptil onsequenes re more roust in the sense tht they hold in ll possile relities desried y defult theory. All its desirle p Skeptil Rtionl Extensions Artur Mikitiuk nd Miros lw Truszzynski University of Kentuky, Deprtment of Computer Siene, Lexington, KY 40506{0046, frtur mirekg@s.engr.uky.edu Astrt. In this pper we propose

More information

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3 2 The Prllel Circuit Electric Circuits: Figure 2- elow show ttery nd multiple resistors rrnged in prllel. Ech resistor receives portion of the current from the ttery sed on its resistnce. The split is

More information

Automatic Synthesis of New Behaviors from a Library of Available Behaviors

Automatic Synthesis of New Behaviors from a Library of Available Behaviors Automti Synthesis of New Behviors from Lirry of Aville Behviors Giuseppe De Giomo Università di Rom L Spienz, Rom, Itly degiomo@dis.unirom1.it Sestin Srdin RMIT University, Melourne, Austrli ssrdin@s.rmit.edu.u

More information

Chapter 0. What is the Lebesgue integral about?

Chapter 0. What is the Lebesgue integral about? Chpter 0. Wht is the Lebesgue integrl bout? The pln is to hve tutoril sheet ech week, most often on Fridy, (to be done during the clss) where you will try to get used to the ides introduced in the previous

More information

The Word Problem in Quandles

The Word Problem in Quandles The Word Prolem in Qundles Benjmin Fish Advisor: Ren Levitt April 5, 2013 1 1 Introdution A word over n lger A is finite sequene of elements of A, prentheses, nd opertions of A defined reursively: Given

More information

Bisimulation, Games & Hennessy Milner logic

Bisimulation, Games & Hennessy Milner logic Bisimultion, Gmes & Hennessy Milner logi Leture 1 of Modelli Mtemtii dei Proessi Conorrenti Pweł Soboiński Univeristy of Southmpton, UK Bisimultion, Gmes & Hennessy Milner logi p.1/32 Clssil lnguge theory

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 22 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix tries Definition of tri mtri is regulr rry of numers enlosed inside rkets SCHOOL OF ENGINEERING & UIL ENVIRONEN Emple he following re ll mtries: ), ) 9, themtis ), d) tries Definition of tri Size of tri

More information

Ch. 2.3 Counting Sample Points. Cardinality of a Set

Ch. 2.3 Counting Sample Points. Cardinality of a Set Ch..3 Counting Smple Points CH 8 Crdinlity of Set Let S e set. If there re extly n distint elements in S, where n is nonnegtive integer, we sy S is finite set nd n is the rdinlity of S. The rdinlity of

More information

CHENG Chun Chor Litwin The Hong Kong Institute of Education

CHENG Chun Chor Litwin The Hong Kong Institute of Education PE-hing Mi terntionl onferene IV: novtion of Mthemtis Tehing nd Lerning through Lesson Study- onnetion etween ssessment nd Sujet Mtter HENG hun hor Litwin The Hong Kong stitute of Edution Report on using

More information

Parse trees, ambiguity, and Chomsky normal form

Parse trees, ambiguity, and Chomsky normal form Prse trees, miguity, nd Chomsky norml form In this lecture we will discuss few importnt notions connected with contextfree grmmrs, including prse trees, miguity, nd specil form for context-free grmmrs

More information

Generalization of 2-Corner Frequency Source Models Used in SMSIM

Generalization of 2-Corner Frequency Source Models Used in SMSIM Generliztion o 2-Corner Frequeny Soure Models Used in SMSIM Dvid M. Boore 26 Mrh 213, orreted Figure 1 nd 2 legends on 5 April 213, dditionl smll orretions on 29 My 213 Mny o the soure spetr models ville

More information

Chapter 8 Roots and Radicals

Chapter 8 Roots and Radicals Chpter 8 Roots nd Rdils 7 ROOTS AND RADICALS 8 Figure 8. Grphene is n inredily strong nd flexile mteril mde from ron. It n lso ondut eletriity. Notie the hexgonl grid pttern. (redit: AlexnderAIUS / Wikimedi

More information

System Validation (IN4387) November 2, 2012, 14:00-17:00

System Validation (IN4387) November 2, 2012, 14:00-17:00 System Vlidtion (IN4387) Novemer 2, 2012, 14:00-17:00 Importnt Notes. The exmintion omprises 5 question in 4 pges. Give omplete explntion nd do not onfine yourself to giving the finl nswer. Good luk! Exerise

More information

Lecture 08: Feb. 08, 2019

Lecture 08: Feb. 08, 2019 4CS4-6:Theory of Computtion(Closure on Reg. Lngs., regex to NDFA, DFA to regex) Prof. K.R. Chowdhry Lecture 08: Fe. 08, 2019 : Professor of CS Disclimer: These notes hve not een sujected to the usul scrutiny

More information

SECTION A STUDENT MATERIAL. Part 1. What and Why.?

SECTION A STUDENT MATERIAL. Part 1. What and Why.? SECTION A STUDENT MATERIAL Prt Wht nd Wh.? Student Mteril Prt Prolem n > 0 n > 0 Is the onverse true? Prolem If n is even then n is even. If n is even then n is even. Wht nd Wh? Eploring Pure Mths Are

More information

MAT 403 NOTES 4. f + f =

MAT 403 NOTES 4. f + f = MAT 403 NOTES 4 1. Fundmentl Theorem o Clulus We will proo more generl version o the FTC thn the textook. But just like the textook, we strt with the ollowing proposition. Let R[, ] e the set o Riemnn

More information

Hyers-Ulam stability of Pielou logistic difference equation

Hyers-Ulam stability of Pielou logistic difference equation vilble online t wwwisr-publitionsom/jns J Nonliner Si ppl, 0 (207, 35 322 Reserh rtile Journl Homepge: wwwtjnsom - wwwisr-publitionsom/jns Hyers-Ulm stbility of Pielou logisti differene eqution Soon-Mo

More information

1 Online Learning and Regret Minimization

1 Online Learning and Regret Minimization 2.997 Decision-Mking in Lrge-Scle Systems My 10 MIT, Spring 2004 Hndout #29 Lecture Note 24 1 Online Lerning nd Regret Minimiztion In this lecture, we consider the problem of sequentil decision mking in

More information

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES PAIR OF LINEAR EQUATIONS IN TWO VARIABLES. Two liner equtions in the sme two vriles re lled pir of liner equtions in two vriles. The most generl form of pir of liner equtions is x + y + 0 x + y + 0 where,,,,,,

More information

Alpha Algorithm: A Process Discovery Algorithm

Alpha Algorithm: A Process Discovery Algorithm Proess Mining: Dt Siene in Ation Alph Algorithm: A Proess Disovery Algorithm prof.dr.ir. Wil vn der Alst www.proessmining.org Proess disovery = Ply-In Ply-In event log proess model Ply-Out Reply proess

More information

Symmetrical Components 1

Symmetrical Components 1 Symmetril Components. Introdution These notes should e red together with Setion. of your text. When performing stedy-stte nlysis of high voltge trnsmission systems, we mke use of the per-phse equivlent

More information

Random subgroups of a free group

Random subgroups of a free group Rndom sugroups of free group Frédérique Bssino LIPN - Lortoire d Informtique de Pris Nord, Université Pris 13 - CNRS Joint work with Armndo Mrtino, Cyril Nicud, Enric Ventur et Pscl Weil LIX My, 2015 Introduction

More information

5. Every rational number have either terminating or repeating (recurring) decimal representation.

5. Every rational number have either terminating or repeating (recurring) decimal representation. CHAPTER NUMBER SYSTEMS Points to Rememer :. Numer used for ounting,,,,... re known s Nturl numers.. All nturl numers together with zero i.e. 0,,,,,... re known s whole numers.. All nturl numers, zero nd

More information

Test Generation from Timed Input Output Automata

Test Generation from Timed Input Output Automata Chpter 8 Test Genertion from Timed Input Output Automt The purpose of this hpter is to introdue tehniques for the genertion of test dt from models of softwre sed on vrints of timed utomt. The tests generted

More information

Can one hear the shape of a drum?

Can one hear the shape of a drum? Cn one her the shpe of drum? After M. K, C. Gordon, D. We, nd S. Wolpert Corentin Lén Università Degli Studi di Torino Diprtimento di Mtemti Giuseppe Peno UNITO Mthemtis Ph.D Seminrs Mondy 23 My 2016 Motivtion:

More information

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations. Lecture 3 3 Solving liner equtions In this lecture we will discuss lgorithms for solving systems of liner equtions Multiplictive identity Let us restrict ourselves to considering squre mtrices since one

More information

12.4 Similarity in Right Triangles

12.4 Similarity in Right Triangles Nme lss Dte 12.4 Similrit in Right Tringles Essentil Question: How does the ltitude to the hpotenuse of right tringle help ou use similr right tringles to solve prolems? Eplore Identifing Similrit in Right

More information

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata CS103B ndout 18 Winter 2007 Ferury 28, 2007 Finite Automt Initil text y Mggie Johnson. Introduction Severl childrens gmes fit the following description: Pieces re set up on plying ord; dice re thrown or

More information

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014 S 224 DIGITAL LOGI & STATE MAHINE DESIGN SPRING 214 DUE : Mrh 27, 214 HOMEWORK III READ : Relte portions of hpters VII n VIII ASSIGNMENT : There re three questions. Solve ll homework n exm prolems s shown

More information

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx

for all x in [a,b], then the area of the region bounded by the graphs of f and g and the vertical lines x = a and x = b is b [ ( ) ( )] A= f x g x dx Applitions of Integrtion Are of Region Between Two Curves Ojetive: Fin the re of region etween two urves using integrtion. Fin the re of region etween interseting urves using integrtion. Desrie integrtion

More information