Towards Efficient Consistency Enforcement for Global Constraints in Weighted Constraint Satisfaction

Size: px
Start display at page:

Download "Towards Efficient Consistency Enforcement for Global Constraints in Weighted Constraint Satisfaction"

Transcription

1 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, N.T., Hong Kong {jlee,klleung}@se.uhk.eu.hk Astrt Powerful onsisteny tehniques, suh s AC* n FDAC*, hve een evelope for Weighte Constrint Stisftion Prolems (WCSPs) to reue the spe in solution serh, ut re restrite to only unry n inry onstrints. On the other hn, vn Hoeve et l. evelope effiient grph-se lgorithms for hnling soft onstrints s lssil onstrint optimiztion prolems. We prove tht nively inorporting vn Hoeve s metho into the WCSP frmework n enfore strong form of -Inverse Consisteny, whih n prune infesile vlues n eue goo lower oun estimtes. We further show how Vn Hoeve s metho n e moifie so s to hnle ost projetion n extension to mintin the stronger AC* n FDAC* generlize for non-inry onstrints. Using the soft lldifferent onstrint s teste, preliminry results emonstrte tht our proposl gives improvements up to n orer of mgnitue oth in terms of time n pruning. Introution The tsk t hn is on how to relx or weken some of the hr onstrints in n over-onstrine prolem so s to otin useful prtil solutions. Weighte onstrint stisftion [Shiex et l., ] is frmework for hnling suh tsks. While the si tehnique for solving weighte onstrint stisftion prolems (WCSPs) relies on form of rnh-n-oun serh, vrious onsisteny notions n tehniques [Lrros n Shiex, 00; 00; Snhez et l., 00] for unry, inry, n ternry onstrints hve een evelope to help prune the serh spe. Higher rity onstrints hve to e either first onverte to their inry ounterprts or tivte only fter enough vriles re instntite uring serh. The lk of effiient hnling of noninry onstrints in WCSP systems gretly restrits the p- We thnk the nonymous referees for their onstrutive omments. The work esrie in this pper ws sustntilly supporte y grnts CUHK0 n CUHK0 from the Reserh Grnts Counil of Hong Kong SAR. pliility of WCSP tehniques to omplex rel-life prolems. Inorporting ritrry soft n-nry onstrints into WCSP n e iffiult sine the osts hve to e represente extensionlly n mintine in n n-imensionl tle, inurring time n spe overhes. Soft glol onstrints re non-inry onstrints with semntis. In prtiulr, the ost struture of flow-se soft glol onstrints [vn Hoeve et l., 00] n e formulte s flow network, llowing the omputtion of the minimum ost of the soft glol onstrints using minimum ost flow lgorithm. This is useful in estimting the lower oun of the urrent serh pth. We show tht nive inorportion of flow-se soft glol onstrints into WCSP woul result in strong form of the -inverse onsisteny [Zytniki et l., 00], whih is still reltively wek in terms of lower oun estimtion n pruning. The question eomes whether we n hieve stronger onsistenies, the generlize versions of AC* [Lrros n Shiex, 00] n FDAC* [Lrros n Shiex, 00], for non-inry onstrints effiiently. Consisteny lgorithms for AC* n FDAC* involve three min opertions: () omputing the minimum ost of the onstrint when vrile x is fixe with vlue v, () projeting the minimum ost of onstrint to the unry onstrint for x t vlue v, n () extening the unry ost to the non-unry onstrints. These opertions llow ost movement mong onstrints n shifting of ost to the C onstrint, resulting in higher lower oun n lso omin prunings. Prt () is reily hnle y the minimum ost flow (MCF) lgorithm. We show how the MCF lgorithm n the orresponing flow networks n e pte for prts () n () so s to perform projetion n extension in polynomil time n spe omplexity. Using the soft lldifferent onstrint s teste, we emonstrte the vntges of the stronger onsistenies over nive inorportion. WCSP The weighte CSP (WCSP) frmework extens lssil onstrint stisftion y ssoiting osts to the tuples of vrile ssignments. A WCSP [Shiex et l., ] is tuple (X, D, C, k). X is set of vriles {x,x,...,x n } orere y their inies. D is set of omins D(x i ) for x i X. Eh x i n only e ssigne one vlue in its orresponing omin. An ssignment on set of vriles n

2 e represente y tuple l. We enote l[x i ] s the vlue ssigne to x i,nl[s] s the tuple forme from the ssignment on suset of vriles S. C is set of onstrints, eh C S of whih represents funtion mpping tuples orresponing to ssignments on S to ost vlution struture V (k) =([0...k],, ). The struture V (k) ontins set of integers [0...k] with stnr integer orering. Aition is efine y = min(k, + ), n sutrtion is efine y = if k n k = k for ny. Without loss of generlity, C S n lwys e efine (initilly with ll tuples mpping to zero) for ll S X. Theost of tuple l orresponing to n ssignment on X is efine s: ost(l) =C C C S C S(l[S]), where C is null onstrint tht enotes the lower oun of osts of ll possile tuples. A tuple l orresponing to n ssignment on X is fesile if ost(l) <k,nissolution of WCSPifl hs the minimum ost mong ll fesile tuples. A soft glol onstrint C S on vriles S hs prtiulr semntis n n hve more thn one ost mesure. Where neessry, we sometimes give lso seprte ost funtion μ in se C S hs more thn one suh funtion. For simpliity, we ssume tht when we write C S (l) or μ(l), l is lwys fesile ssignment to S. WCSPs re solve with si rnh-n-oun serh ugmente with onsisteny tehniques whih prune infesile vlues from vrile omins n push lower oun estimtes into C. Common onsisteny notions n tehniques [Lrros n Shiex, 00; 00; Snhez et l., 00] inlue NC*, AC*, n FDAC*, ut re esigne for unry to ternry onstrints only. Avrilex i is NC* if () eh vlue v D(x i ) stisfies C xi (v) C <kn () there exists vlue v D(x i ) suh tht C xi (v )=0. A WCSP is NC* iff ll vriles re NC*. Algorithm enfores NC*. Funtion unryprojet() projets osts from unry onstrints to C y simple rithmeti opertions, n prunevl() removes infesile vlues from omins. Enforing IC n Strong IC In this setion, we explin how vn Hoeve s metho of using minimum ost flow n e pte for WCSPs to enfore strong form of -inverse onsisteny [Zytniki et l., 00]. Given onnete flow network G(V, E, w,, s, t), wherev re the verties, E re the eges, n eh ege e E hs weight w e n pity e.aflow f from soure s to sink t of vlue α in G is efine s mpping from E to R suh tht : (s,u) E f su = (u,t) E f ut = α; (u,v) E f uv = (v,u) E f vu v V \{s, t}; 0 f e e e E. If α is not efine, α is the mximum vlue of ll flows in G. The ost of flow f is efine s e E w ef e. A soft glol onstrint C S with ost funtion μ is flow-se if μ llows for representtion in flow network G so tht the flow with 0 Proeure enforenc*() foreh x i X o unryprojet(x i ); foreh x i X o prunevl(x i ); Proeure unryprojet(x i ) α := k; foreh v D(x i ) o if α>c xi (v) then α := C xi (v); C := C α; foreh v D(x i ) o C xi (v) :=C xi (v) α; return α>0; Funtion prunevl(x i ):Boolen foreh v D(x i ) o if C xi (v) C = k then D(x i ):=D(x i ) \{v}; Algorithm : Enfore NC* on WCSP minimum ost in G orrespons to the tuple mpping to the minimum ost in C S. Vn Hoeve et l. [00] emonstrte his frmework on the soft versions of the lldifferent, g, regulr,nsme onstrints. We use the soft lldifferent onstrint with the μ e ost mesure [Petit et l., 00] to illustrte the onepts. Given n ssignment tuple l on vriles S, μ e (l) = {(i, j) i <j l[x i ]=l[x j ] x i,x j S}, whih stns for the numer of pirs of vriles shring the sme vlue. We n onstrut flow network G(V, E, w,, s, t) s follows [vn Hoeve et l., 00]. The network onsists of S + D + noes, where D is the size of the union of ll vrile omins in S. Eh vrile n vlue hve n ssoite noe, with two more noes s n t. The network ontins three sets of eges: (s, x i ) E for eh x i X with zero weight n unit pity; (x i,v) E for eh v D(x i ) with zero weight n unit pity; (v, t) i E, for eh i =,..., v,where v is the numer of vriles ontining v. Eh ege (v, t) i hs unit pity n weight of i. For exmple, if X = {x,x,x,x } with D(x ) = {, }, D(x ) = {, },D(x ) = D(x ) = {, } n lldifferent(x), the network is onstrute s shown in Figure. Only non-zero weights re shown in the network. All eges ssume unit pity. The minimum ost of the fesile flow in G with vlue X is min{μ e (l)}. To ompute min{μ e (l) l[x] =v}, the minimum ost flow simply enfores f xv =. For exmple, Figure shows flow (highlighte y thikene eges) of minimum ost when f x =.Regin[00] n Vn Hoeve et l. [00] prove tht suh n enforement n e erive from n existing flow 0

3 s x x x x Figure : A flow network for lldifferent. The thik eges give the minimum ost flow when x =. y onstruting resiul network from G n the existing flow, n fining the minimum ost yle ontining (x, v) in the resiul network. This n e foun y using the single soure shortest pth lgorithm. We now efine IC [Zytniki et l., 00] n strong IC for WCSPs, the enforement of whih n enefit from vn Hoeve s metho. A onstrint C S is IC if there exists tuple l orresponing to fesile ssignment with C S (l) = 0. AWCSPis IC iff ll onstrints re IC. For exmple, Figure () shows WCSP whih is not IC. No mtter whih vlues re ssigne to the vriles, C x,x C =0 x x () not IC () IC Figure : Two equivlent WCSPs with k = C = x x returns ost of t lest. To enfore IC, ost of is projete iretly from C x,x to C y reuing the ost of eh tuple y n inrese C y. The resultnt WCSP isshowninfigure(). Proeure enfore IC() in Algorithm enfores IC for WCSP y enforing IC on eh onstrints. Reuing the ost of eh tuple n e expensive. An implementtion trik is to use zero-initilize vrile z S to store the ost reue so fr ue to projetion from C S to C. If tuple l queries its ost from C S, the result is C S (l) z S. In generl, the lgorithm is exponentil even with the implementtion trik sine exponentil numer of tuples hve to e exmine t line. However, minimum ost flow omputtion llows for polynomil time lgorithm for flow-se soft glol onstrints, suh s lldifferent with μ e. Enforing IC only inreses C. We oserve, for exmple in Figure (), tht the vlue D(x ) nnot e prt of ny solution. The tuple ssoite with x = hs ost t lest : from C, from C x,n from C x,x. Extr onitions n e e to strengthen IC to llow lso t Funtion enfore IC():Boolen foreh C S C o flg := flg enfore IC(C S ); Funtion enfore IC(C S ):Boolen α := min{c S (l)}; foreh tuple l o C S (l) :=C S (l) α; C := C α; return α>0 Algorithm : Enforing IC on WCSP omin reution. A non-unry onstrint C S is strong IC if: C S is IC, n; for ll vlues v D(x) with x S, C C x (v) min{c S (t) t[x] =v} <k. AWCSPisstrong IC iff ll onstrints re strong IC. For exmple, the WCSP in Figure () is not strong IC, ut removing the vlue from D(x ) mkes it so. Proeure enforestrong IC() in Algorithm enfores strong IC, se on the W-AC*() Algorithm [Lrros n Shiex, 00]. The lgorithm mintins propgtion queue Q (implemente s set) of vriles. Constrints involving vriles in Q re potentilly not strong IC. Funtion pop() removes n ritrry ville vrile from Q in onstnt time. 0 Proeure enforestrong IC() Q := X; while Q o x u := pop(q); foreh C S s.t. {x u } S o foreh x i S \{x u } o flg := removeinfesile(c S, x i ); if flg then Q := Q {x i }; if enfore IC() then Q := X; Funtion removeinfesile(c S, x i ):Boolen foreh v D(x i ) o α := min{c S (l) l[x i ]=v}; if C C xi (v) α = k then D(x i ):=D(x i ) \{v}; Algorithm : Enforing strong IC of WCSP

4 ProeureenforeStrong IC() in Algorithm must terminte, the proof of whih is similr to those of Lrros n Shiex s Theorems n [00]. Suppose removeinfesile() n enfore IC() hve time omplexity of O(f strong ) n O(f ) respetively, the omplexity n e stte s follows. Theorem Proeure enforestrong IC() hs time omplexity of O(s mx (s mx ef strong + f )), wheree is the numer of non-unry onstrints, s mx is the mximum rity of the onstrints, n is the numer of vriles, n is the mximum omin size. Thus, enforestrong IC() must terminte. Proof: In eh itertion of the while loop, line will e exeute O(s mx e) times. Eh vrile is pushe into Q t most O() times ue to line (eh time D(x u ) is moifie); thus the while loop will e exeute O(s mx ) times. Therefore, the omplexity of proeure enforestrong IC() is O(s mx (s mx ef strong + f )), n it must terminte. Agin, enforestrong IC() requires exponentil omplexity sine line is exponentil in generl. However, line n e ompute in polynomil time for flow-se soft glol onstrints. The following result is onsequene of Regin s Lemm [00] n vn Hoeve et l. s Theorem [00]. Theorem If C S is flow-se soft glol onstrint, removeinfesile() hs time omplexity of O(K + SP), whereo(k) n O(SP) re the time omplexity to fin the minimum ost flow n single soure shortest pth respetively, n is the mximum omin size. Given network G(V, E, w,, s, t). A typil O(K) is O( V E ) if the suessive shortest pth lgorithm is use, n typil O(SP) is O( V E ) if lel orreting lgorithm, like the Bellmn-For lgorithm, is use [Ahuj et l., 00]. Due to spe limittion, we nnot give the etils of the resoningthtthe SoftsHr pproh [Petit et l., 00] is slightly weker thn enforing strong IC together with NC*, whih is still reltively wek in terms of the eue lower oun n pruning. Stronger onsistenies for soft glol onstrints re esirle. Projetion in GAC* We speilize the efinition of GAC in Cooper et l. [00] for WCSP. A vrile x i S is generlize r onsistent str (GAC*) with respet to non-unry onstrint C S if: x i is NC*, n; for eh vlue v i D(x i ), there exists vlues v j D(x j ) for ll j i n x j S so tht they form tuple l with C S (l) =0. {v j } is simple support of v i with respet to C S. AWCSPisGAC* iff ll vriles re GAC* with respet to ll onstrints. Notie tht GAC* ollpses to AC* for inry onstrints [Lrros n Shiex, 00] n AC for ternry onstrints [Snhez et l., 00]. Proeure enforegac*() in Algorithm enfores GAC* for WCSP n is se on the W-AC*() Algorithm [Lrros n Shiex, 00]. Algorithm must termi- 0 0 Proeure enforegac*() Q := X; while Q o x u := pop(q); foreh C S s.t. {x u } S o foreh x i S \{x u } o flg := flg finsupport(c S, x i ); if prunevl(x i ) then Q := Q {x i }; if flg then foreh x i X o if prunevl(x i ) then Q := Q {x i }; Funtion finsupport(c S, x i ):Boolen foreh v D(x i ) o α := min{c S (l) l[x i ]=v}; if C xi (v) =0 α>0then C xi (v) :=C xi (v) α; foreh tuple l with l[x i ]=v o C S (l) :=C S (l) α; unryprojet(x i ); Algorithm : Enforing GAC* for WCSP nte, the proof of whih is similr to tht of Theorem. By repling O(f strong ) n O(f ) y O(f GAC ) (the omplexity of finsupport()) no(n) (n times the omplexity of prunevl()) respetively, the omplexity of Algorithm n e stte s follows. Theorem Proeure enforegac*() hs time omplexity of O(s mx (es mx f GAC + n)), wheren,, e, n s mx re s efine in Theorem. Thus, enforegac*() must terminte. Agin, Algorithm requires exponentil time omplexity sine funtion finsupport() is exponentil. The time omplexity of finsupport() is etermine y two opertions: minimum ost omputtion (line ) n ost projetion (lines to ). Line omputes the minimum ost of C S when x i = v. Line projets the ost to the unry onstrint C xi, whih is simple rithmeti opertion. Lines n upte the ost of ll tuples orresponing to x i = v. In generl, this two su-proeures require exponentil time omplexity, whih n e reue for flow-se soft glol onstrints. Vn Hoeve s metho n e pplie similrly to line s in Setion. Lines to moify the ost funtion of the soft (glol) onstrint C S. Before we give our metho, we stte the onitions uner whih our metho is pplile. A soft glol onstrint C S with ost funtion μ is projetion-sfe if the soft glol onstrint C S with ost funtion μ is flow-se, n hs the orresponing flow network

5 G(V, E, w,, s, t), there is one-one orresponene etween every flow f of G n omplete vrile ssignment tuple l for C S, n there exists n injetion from n ssignment x i = v to ē E suh tht whenever l[x i ] = v for some tuple l, fē =in the flow f orresponing to l; whenever l[x i ] v, fē =0. Given projetion-sfe soft glol onstrint C S with ost funtion μ efine ove. Suppose ost of α is projete from C S to C xi ssoite with x i = v, resulting in new ost funtion μ. In other wors, μ (l) = μ(l) α if l[x i ] = v; otherwiseμ (l) = μ(l). We onstrut the orresponing flow network of C S with ost funtion μ s G (V,E,w,,s,t),wherew e = w e α if e is the ege orresponing to x i = v; otherwisew e = w e. We use gin the lldifferent onstrint with μ e s n exmple. Figure shows the orresponing flow network n the flow representing (x,x,x,x )=(,,, ) with ost. If ost of is projete from the onstrint to C x ssoite with x =, new network n e onstrute y eresing the weight w x of the ege (x,) from 0 to, s shown in Figure. The new ost of the flow in the network is now 0, whih orrespons to the ost of the tuple (,,, ) fter projetion. s x x x x Figure : The flow network orresponing to lldifferent fter projetion. The sounness n losure of our metho re gurntee y the following theorem. Theorem Suppose C S is soft glol onstrint with ost funtion μ is projetion sfe, ost of α ssoite with x i = v is projete from C S to C xi, resulting in new ost funtion μ. (Sounness) If f is minimum ost flow of G (V,E,w,,s,t),then e E w ef e =min{μ (l)}. (Closure) C S with ost funtion μ is projetion sfe. Proof: Projetion-sfety implies tht e E w e f e = e E w ef e αfē =min{μ(l)} αfē =min{μ (l)},where ē is the ege orresponing to x i = v. This onlues sounness. In ition, C S with μ is flow-se with G (V,E,w,,s,t) s the orresponing flow network. Sine the topology of G (V,E,w,,s,t) is the sme s tht of G(V, E, w,, s, t), C S with μ is projetion-sfe. t We stte without proof tht the mjority of the flow-se glol onstrints [vn Hoeve et l., 00] re projetion-sfe so tht GAC* n e enfore on them in polynomil time. Theorem The following flow-se soft glol onstrints re projetion-sfe. lldifferent with either μ vr or μ e ; g with either μ vr or μ vl ; sme with μ vr ; Unfortuntely, the regulr onstrint with either μ vr or μ eit [vn Hoeve et l., 00] n the soft SEQUENCE onstrint [Mher et l., 00] re not projetion-sfe sine they o not stisfy the thir requirement. Agin, the omplexity of enforing GAC* for vrile with respet to the projetion-sfe soft glol onstrints follows from vn Hoeve et l. s Theorem. Theorem If C S is projetion sfe, finsupport() hs time omplexity of O(K + SP), wherek n SP re s efine in Theorem. Bse on FDAC* [Lrros n Shiex, 00], even stronger onsisteny n e efine ut its enforement involves n extension opertor, whih is the reverse of projetion n the fous of the next setion. Extension in FDGAC* Suppose vriles re orere y their inies. A vrile x i S is iretionl generlize r onsistent str (DGAC*) with respet to non-unry onstrint C S if: x i is NC*, n; for eh vlue v i D(x i ), there exists vlues v j D(x j ) for ll j i n x j S so tht they form tuple l with C S (l) j>i x j S C x j (v j )=0. {v j } is full support of v i with respet to C S. AWCSPisfull iretionl generlize r onsistent str (FDGAC*) if ll vriles re DGAC* n GAC* with respet to ll non-unry onstrints. When the onstrints re inry, FDGAC* ollpses to FDAC* [Lrros n Shiex, 00]. When the onstrints re inry n ternry, however, FDGAC* iffers slightly from FDAC [Snhez et l., 00]. FDGAC* requires full supports with only zero unry osts, while FDAC [Snhez et l., 00] requires full supports with not only zero unry ut lso zero inry osts. BseontheFDAC*() Algorithm [Lrros n Shiex, 00], proeure enforefdgac*() in Algorithm enfores FDGAC*. Q n R store vriles whih re potentilly not GAC* n not DGAC* respetively. Funtion popmx() lwys removes the vrile with the lrgest inex from R in onstnt time. Proeure enforefdgac*() in Algorithm must terminte, the proof of whih is similr to those of Lrros et l. s Theorems n [00]. Suppose finfullsupport() n finsupport() re of orer O(f DGAC ) n O(f GAC ) respetively, the omplexity of proeure enforefdgac*() n e stte s follows.

6 Proeure enforefdgac*() R := Q := X; while R Q o while Q o x u := pop(q); foreh C S s.t. {x u} S o foreh x i S \{x u} o if finsupport(c S, x i) then R := R {x i}; 0 0 if flg then foreh x i X s.t. prunevl(x i) o Q := Q {x i}; while R o x u := popmx(r); if prunevl(x u) then Q := Q {x u}; foreh C S s.t. {x u} S o for i = u DownTo s.t. x i S o if finfullsupport(c S, x i) then R := R {x i}; foreh x i X s.t. prunevl(x i) o Q := Q {x i}; Funtion finfullsupport(c S, x i):boolen foreh j>in x j S o foreh v D(x j) o foreh tuple l with l[x j]=v o C S(l) :=C S(l) C xj (v j); 0 C xj (v j):=0; flg := finsupport(c S, x i); foreh j>in x j S o finsupport(c S, x j); unryprojet(x i); Algorithm : Enforing FDGAC* on WCSP Theorem enforefdgac*() hs time omplexity of O(s mxe(nf DGAC + f GAC )+n ),wheren,, e, n s mx re efine in Theorem. Thus, enforefdgac*() must terminte. Agin, the omplexity n e exponentil ue to finsupport() n finfullsupport(). Inthefollowing, we fous the isussion on finfullsupport(). The first prt (lines to ) performs extension, reversl of projetion, to push ll the unry osts k to C S.Bythe time we exeute line, ll unry osts re 0, n enforing GAC* for x i hieves the seon requirement of DGAC*. Line re-insttes GAC* for ll vriles x j,wherej>i. Note tht the suess in line gurntees tht C xj (v j )=0 if v j ppers in tuple l whih mkes C S (l) =0. The key ie to performing extension properly is similr to tht of projetion: the metho is pplile to projetionsfe soft glol onstrint C S with ost funtion μ. Suppose now we wnt to exten ost of α ssoite with x i = v from C xi to C S resulting in new ost funtion μ.inother wors, μ (l) =μ(l) α if l[x i ]=v; otherwiseμ (l) = μ(l). We onstrut the orresponing flow network of C S with ost funtion μ s G (V,E,w,,s,t), wherew e = w e α if e is the ege orresponing to x i = v; otherwise w e = w e. Similrly, extension is oth soun n lose. Theorem Suppose C S is projetion sfe soft glol onstrint with ost funtion μ, n ost of α ssoite with x i = v is extene from C xi to C S, resulting in new ost funtion μ. (Sounness) If f is minimum ost flow of G (V,E,w,,s,t),then e E w e f e =min{μ (l)}. (Closure) C S with ost funtion μ is projetion sfe. The omplexity result gin follows from vn Hoeve et l. s Theorem [00]. Theorem If C S is projetion-sfe soft glol onstrint, finfullsupport() hs time omplexity of O(K + s mx SP),whereK n SP re s efine in Theorem. Lst ut not lest, we stte the reltive strength of the onsistenies onerne. Given two onsistenies β n γ, β is stronger thn γ (β γ)ifwcspp is γ whenever P is β. Theorem 0 FDGAC* GAC* strong IC GAC in Soft s Hr Approhes. Experimentl Results To emonstrte the effiieny of our proposls, we hve implemente strong IC, GAC*, n FDGAC* for the soft lldifferent onstrint with the μ e n μ vr ost funtions in ToulBr. Our enhmrk instnes re se on softene version of the ll-intervl series prolem (CSPLi Pro00). This prolem ontins minly lldifferent onstrints, unonerning us from other possile externl ftors n fousing on evluting the effiieny of our propose lgorithms. Suh enhmrk lso llows us to stuy the sling ehvior of our lgorithms. The originl prolem of orer n is to fin series {x,...,x n } suh tht it is permuttion of {0,...,n } n the jent ifferenes i = x i x i+, i = {,...,n } re istint. To moel its softene version s WCSP, we use {x i } n { i } s vriles with omins {0,...,n }. Two lldifferent onstrints re ple on {x i } n { i } respetively. Ternry tle onstrints re use to enfore i = x i x i+. Besies, rnom unry onstrints re ple on {x i }, ssigning rnom osts to eh ssignment rnging from 0 to. During the experiment, vriles {x i } re first ssigne in lexiogrphi orer, followe y { i } in the sme orer. Vlue ssignments strt with the vlue with minimum unry ost first. The test is onute in Dell Optiplex 0 with n Intel P.GHz CPU n GB RAM. The verge runtime n numer of ktrks of five instnes re mesure for eh vlue of n with no initil upper oun. Entries re mrke with * if the verge runtime exees the limit of hour.

7 n Strong IC GAC* FDGAC* Time(s) Bktrks Time(s) Bktrks Time(s) Bktrks * * * * * *.. * * * *.0. * * * *..0 * * * * * * * *.0.0 () μ e n Strong IC GAC* FDGAC* Time(s) Bktrks Time(s) Bktrks Time(s) Bktrks * * * * * * * * 0..0 () μ vr Figure : The time in seons n the numer of ktrks in solving softene ll-intervl series instnes y enforing ifferent onsistenies on the soft lldifferent onstrints with μ e (top) n μ vr (ottom). We give the results for lldifferent with μ e n μ vr in Figure, whih grees well with the theoretil omprison of the three onsistenies. This emonstrtes tht minimum ost flow omputtion is n effiient metho for enforing the onsistenies of projetion-sfe soft glol onstrints. Despite higher omplexity, FDGAC*, the strongest onsisteny oth in terms of pruning n lower oun resoning, is the ler winner ettering strong IC y one to two orers of mgnitue, while GAC* omes in ler seon. In the est se, enforing FDGAC* n remove times more serh noes thn enforing GAC*, n 0 times more thn enforing strong IC. Lst ut not lest, we note tht, without strong IC, Toulr elys the propgtion of n-ry onstrints until only two vriles restrite y the onstrints re not yet ssigne. It is imprtil to solve the enhmrk even with smll vlue of n. Referenes [Ahuj et l., 00] R.K. Ahuj, T.L. Mgnnti, n J.B. Orlin. Network Flows: Theory, Algorithms, n Applitions. Prentie Hll/Person, 00. [Cooper n Shiex, 00] M. Cooper n T. Shiex. Ar Consisteny for Soft Constrints. Artifiil Intelligene, :, 00. [Lrros n Shiex, 00] J. Lrros n T. Shiex. In the Quest of the Best Form of Lol Consisteny for Weighte CSP. In Proeeings of IJCAI 00, pges, 00. [Lrros n Shiex, 00] J. Lrros n T. Shiex. Solving Weighte CSP y Mintining Ar Consisteny. Artifiil Intelligene, (-):, 00. [Mher et l., 00] M. Mher, N. Nroytsk, C.-G. Quimper, n T. Wlsh. Flow-Bse Propgtors for the SE- QUENCE n Relte Glol Constrints. In Proeeings of CP 00, pges, 00. [Petit et l., 00] T. Petit, J.-C. Regin, n C. Bessiere. Speifi Filtering Algorithm for Over-Constrine Prolems. In Proeeings of CP 00, pges, 00. [Regin, 00] J.-C. Regin. Cost-Bse Ar Consisteny for Glol Crinlity Constrints. Constrints, : 0, 00. [Snhez et l., 00] M. Snhez, S. e Givry, n T. Shiex. Menelin Error Detetion in Complex Peigrees using Weighte Constrint Stisftion Tehniques. Constrints, ():0, 00. [Shiex et l., ] T. Shiex, H. Frgier, n G. Verfillie. Vlue Constrint Stisftion Prolems: Hr n Esy Prolems. In Proeeings of IJCAI, pges,. [vn Hoeve et l., 00] W.J. vn Hoeve, G. Pesnt, n L.- M. Rousseu. On Glol Wrming: Flow-se Soft Glol Constrints. J. Heuristis, (-):, 00. [Zytniki et l., 00] Mtthis Zytniki, Christine Gspin, n Thoms Shiex. A New Lol Consisteny for Weighte CSP Deite to Long Domins. In Proeeings of SAC 00, pges, 00. Conlusion Glol onstrints re one of the keys for moeling n solving omplex rel-life prolems. To the est of our knowlege, this is the first suess report of glol onstrints in WCSP solvers with prtil effiieny. Our tehniques mke it possile to enfore generlize versions of existing onsistenies exploiting speifilly hrteristis of WCSPs. Immeite future work inlues stuies of the implementtion of more projetion-sfe soft glol onstrints, fesiility of other forms of onsistenies, experiments on wier vriety of enhmrks. It is lso interesting to investigte if there re other forms of projetion-sfety.

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

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

CSC2542 State-Space Planning

CSC2542 State-Space Planning CSC2542 Stte-Spe Plnning Sheil MIlrith Deprtment of Computer Siene University of Toronto Fll 2010 1 Aknowlegements Some the slies use in this ourse re moifitions of Dn Nu s leture slies for the textook

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

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

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework

Technology Mapping Method for Low Power Consumption and High Performance in General-Synchronous Framework R-17 SASIMI 015 Proeeings Tehnology Mpping Metho for Low Power Consumption n High Performne in Generl-Synhronous Frmework Junki Kwguhi Yukihie Kohir Shool of Computer Siene, the University of Aizu Aizu-Wkmtsu

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

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

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite! Solutions for HW9 Exerise 28. () Drw C 6, W 6 K 6, n K 5,3. C 6 : W 6 : K 6 : K 5,3 : () Whih of the following re iprtite? Justify your nswer. Biprtite: put the re verties in V 1 n the lk in V 2. Biprtite:

More information

Now we must transform the original model so we can use the new parameters. = S max. Recruits

Now we must transform the original model so we can use the new parameters. = S max. Recruits MODEL FOR VARIABLE RECRUITMENT (ontinue) Alterntive Prmeteriztions of the pwner-reruit Moels We n write ny moel in numerous ifferent ut equivlent forms. Uner ertin irumstnes it is onvenient to work with

More information

Weighted Constraint Satisfaction Problems with Min-Max Quantifiers

Weighted Constraint Satisfaction Problems with Min-Max Quantifiers 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 {jlee,wkmk}@se.uhk.edu.hk

More information

Implication Graphs and Logic Testing

Implication Graphs and Logic Testing Implition Grphs n Logi Testing Vishwni D. Agrwl Jmes J. Dnher Professor Dept. of ECE, Auurn University Auurn, AL 36849 vgrwl@eng.uurn.eu www.eng.uurn.eu/~vgrwl Joint reserh with: K. K. Dve, ATI Reserh,

More information

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106 8. Problem Set Due Wenesy, Ot., t : p.m. in - Problem Mony / Consier the eight vetors 5, 5, 5,..., () List ll of the one-element, linerly epenent sets forme from these. (b) Wht re the two-element, linerly

More information

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours Mi-Term Exmintion - Spring 0 Mthemtil Progrmming with Applitions to Eonomis Totl Sore: 5; Time: hours. Let G = (N, E) e irete grph. Define the inegree of vertex i N s the numer of eges tht re oming into

More information

CS261: A Second Course in Algorithms Lecture #5: Minimum-Cost Bipartite Matching

CS261: A Second Course in Algorithms Lecture #5: Minimum-Cost Bipartite Matching CS261: A Seon Course in Algorithms Leture #5: Minimum-Cost Biprtite Mthing Tim Roughgren Jnury 19, 2016 1 Preliminries Figure 1: Exmple of iprtite grph. The eges {, } n {, } onstitute mthing. Lst leture

More information

A Disambiguation Algorithm for Finite Automata and Functional Transducers

A Disambiguation Algorithm for Finite Automata and Functional Transducers A Dismigution Algorithm for Finite Automt n Funtionl Trnsuers Mehryr Mohri Cournt Institute of Mthemtil Sienes n Google Reserh 51 Merer Street, New York, NY 1001, USA Astrt. We present new ismigution lgorithm

More information

Solutions to Problem Set #1

Solutions to Problem Set #1 CSE 233 Spring, 2016 Solutions to Prolem Set #1 1. The movie tse onsists of the following two reltions movie: title, iretor, tor sheule: theter, title The first reltion provies titles, iretors, n tors

More information

CIT 596 Theory of Computation 1. Graphs and Digraphs

CIT 596 Theory of Computation 1. Graphs and Digraphs CIT 596 Theory of Computtion 1 A grph G = (V (G), E(G)) onsists of two finite sets: V (G), the vertex set of the grph, often enote y just V, whih is nonempty set of elements lle verties, n E(G), the ege

More information

2.4 Theoretical Foundations

2.4 Theoretical Foundations 2 Progrmming Lnguge Syntx 2.4 Theoretil Fountions As note in the min text, snners n prsers re se on the finite utomt n pushown utomt tht form the ottom two levels of the Chomsky lnguge hierrhy. At eh level

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

Logic, Set Theory and Computability [M. Coppenbarger]

Logic, Set Theory and Computability [M. Coppenbarger] 14 Orer (Hnout) Definition 7-11: A reltion is qusi-orering (or preorer) if it is reflexive n trnsitive. A quisi-orering tht is symmetri is n equivlene reltion. A qusi-orering tht is nti-symmetri is n orer

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

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233,

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233, Surs n Inies Surs n Inies Curriulum Rey ACMNA:, 6 www.mthletis.om Surs SURDS & & Inies INDICES Inies n surs re very losely relte. A numer uner (squre root sign) is lle sur if the squre root n t e simplifie.

More information

CS 360 Exam 2 Fall 2014 Name

CS 360 Exam 2 Fall 2014 Name CS 360 Exm 2 Fll 2014 Nme 1. The lsses shown elow efine singly-linke list n stk. Write three ifferent O(n)-time versions of the reverse_print metho s speifie elow. Eh version of the metho shoul output

More information

Compression of Palindromes and Regularity.

Compression of Palindromes and Regularity. Compression of Plinromes n Regulrity. Kyoko Shikishim-Tsuji Center for Lierl Arts Eution n Reserh Tenri University 1 Introution In [1], property of likstrem t t view of tse is isusse n it is shown tht

More information

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4 Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones

More information

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS

POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS Bull. Koren Mth. So. 35 (998), No., pp. 53 6 POSITIVE IMPLICATIVE AND ASSOCIATIVE FILTERS OF LATTICE IMPLICATION ALGEBRAS YOUNG BAE JUN*, YANG XU AND KEYUN QIN ABSTRACT. We introue the onepts of positive

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

The DOACROSS statement

The DOACROSS statement The DOACROSS sttement Is prllel loop similr to DOALL, ut it llows prouer-onsumer type of synhroniztion. Synhroniztion is llowe from lower to higher itertions sine it is ssume tht lower itertions re selete

More information

I 3 2 = I I 4 = 2A

I 3 2 = I I 4 = 2A ECE 210 Eletril Ciruit Anlysis University of llinois t Chigo 2.13 We re ske to use KCL to fin urrents 1 4. The key point in pplying KCL in this prolem is to strt with noe where only one of the urrents

More information

Welcome. Balanced search trees. Balanced Search Trees. Inge Li Gørtz

Welcome. Balanced search trees. Balanced Search Trees. Inge Li Gørtz Welome nge Li Gørt. everse tehing n isussion of exerises: 02110 nge Li Gørt 3 tehing ssistnts 8.00-9.15 Group work 9.15-9.45 isussions of your solutions in lss 10.00-11.15 Leture 11.15-11.45 Work on exerises

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministi Finite utomt The Power of Guessing Tuesdy, Otoer 4, 2 Reding: Sipser.2 (first prt); Stoughton 3.3 3.5 S235 Lnguges nd utomt eprtment of omputer Siene Wellesley ollege Finite utomton (F)

More information

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza

Laboratory for Foundations of Computer Science. An Unfolding Approach. University of Edinburgh. Model Checking. Javier Esparza An Unfoling Approh to Moel Cheking Jvier Esprz Lbortory for Fountions of Computer Siene University of Einburgh Conurrent progrms Progrm: tuple P T 1 T n of finite lbelle trnsition systems T i A i S i i

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

Metaheuristics for the Asymmetric Hamiltonian Path Problem

Metaheuristics for the Asymmetric Hamiltonian Path Problem Metheuristis for the Asymmetri Hmiltonin Pth Prolem João Pero PEDROSO INESC - Porto n DCC - Fule e Ciênis, Universie o Porto, Portugl jpp@f.up.pt Astrt. One of the most importnt pplitions of the Asymmetri

More information

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area

On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area Journl of Grph Algorithms n Applitions http://jg.info/ vol. 13, no. 2, pp. 153 177 (2009) On Clss of Plnr Grphs with Stright-Line Gri Drwings on Liner Are M. Rezul Krim 1,2 M. Siur Rhmn 1 1 Deprtment of

More information

Monochromatic Plane Matchings in Bicolored Point Set

Monochromatic Plane Matchings in Bicolored Point Set CCCG 2017, Ottw, Ontrio, July 26 28, 2017 Monohromti Plne Mthings in Biolore Point Set A. Krim Au-Affsh Sujoy Bhore Pz Crmi Astrt Motivte y networks interply, we stuy the prolem of omputing monohromti

More information

COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE

COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE M. STISSING, C. N. S. PEDERSEN, T. MAILUND AND G. S. BRODAL Bioinformtis Reserh Center, n Dept. of Computer Siene, University

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

Lecture 2: Cayley Graphs

Lecture 2: Cayley Graphs Mth 137B Professor: Pri Brtlett Leture 2: Cyley Grphs Week 3 UCSB 2014 (Relevnt soure mteril: Setion VIII.1 of Bollos s Moern Grph Theory; 3.7 of Gosil n Royle s Algeri Grph Theory; vrious ppers I ve re

More information

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

Algebra 2 Semester 1 Practice Final

Algebra 2 Semester 1 Practice Final Alger 2 Semester Prtie Finl Multiple Choie Ientify the hoie tht est ompletes the sttement or nswers the question. To whih set of numers oes the numer elong?. 2 5 integers rtionl numers irrtionl numers

More information

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph

Graph Algorithms. Vertex set = { a,b,c,d } Edge set = { {a,c}, {b,c}, {c,d}, {b,d}} Figure 1: An example for a simple graph Inin Institute of Informtion Tehnology Design n Mnufturing, Knheepurm, Chenni 00, Ini An Autonomous Institute uner MHRD, Govt of Ini http://www.iiitm..in COM 0T Design n Anlysis of Algorithms -Leture Notes

More information

SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVEX STOCHASTIC PROCESSES ON THE CO-ORDINATES

SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVEX STOCHASTIC PROCESSES ON THE CO-ORDINATES Avne Mth Moels & Applitions Vol3 No 8 pp63-75 SOME INTEGRAL INEQUALITIES FOR HARMONICALLY CONVE STOCHASTIC PROCESSES ON THE CO-ORDINATES Nurgül Okur * Imt Işn Yusuf Ust 3 3 Giresun University Deprtment

More information

A Primer on Continuous-time Economic Dynamics

A Primer on Continuous-time Economic Dynamics Eonomis 205A Fll 2008 K Kletzer A Primer on Continuous-time Eonomi Dnmis A Liner Differentil Eqution Sstems (i) Simplest se We egin with the simple liner first-orer ifferentil eqution The generl solution

More information

50 AMC Lectures Problem Book 2 (36) Substitution Method

50 AMC Lectures Problem Book 2 (36) Substitution Method 0 AMC Letures Prolem Book Sustitution Metho PROBLEMS Prolem : Solve for rel : 9 + 99 + 9 = Prolem : Solve for rel : 0 9 8 8 Prolem : Show tht if 8 Prolem : Show tht + + if rel numers,, n stisf + + = Prolem

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

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

Ranking Generalized Fuzzy Numbers using centroid of centroids

Ranking Generalized Fuzzy Numbers using centroid of centroids Interntionl Journl of Fuzzy Logi Systems (IJFLS) Vol. No. July ning Generlize Fuzzy Numers using entroi of entrois S.Suresh u Y.L.P. Thorni N.vi Shnr Dept. of pplie Mthemtis GIS GITM University Vishptnm

More information

On the Spectra of Bipartite Directed Subgraphs of K 4

On the Spectra of Bipartite Directed Subgraphs of K 4 On the Spetr of Biprtite Direte Sugrphs of K 4 R. C. Bunge, 1 S. I. El-Znti, 1, H. J. Fry, 1 K. S. Kruss, 2 D. P. Roerts, 3 C. A. Sullivn, 4 A. A. Unsiker, 5 N. E. Witt 6 1 Illinois Stte University, Norml,

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

On the Revision of Argumentation Systems: Minimal Change of Arguments Status

On the Revision of Argumentation Systems: Minimal Change of Arguments Status On the Revision of Argumenttion Systems: Miniml Chnge of Arguments Sttus Sylvie Coste-Mrquis, Séstien Koniezny, Jen-Guy Milly, n Pierre Mrquis CRIL Université Artois CNRS Lens, Frne {oste,koniezny,milly,mrquis}@ril.fr

More information

Computing all-terminal reliability of stochastic networks with Binary Decision Diagrams

Computing all-terminal reliability of stochastic networks with Binary Decision Diagrams Computing ll-terminl reliility of stohsti networks with Binry Deision Digrms Gry Hry 1, Corinne Luet 1, n Nikolos Limnios 2 1 LRIA, FRE 2733, 5 rue u Moulin Neuf 80000 AMIENS emil:(orinne.luet, gry.hry)@u-pirie.fr

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

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point GCSE C Emple 7 Work out 9 Give your nswer in its simplest form Numers n inies Reiprote mens invert or turn upsie own The reiprol of is 9 9 Mke sure you only invert the frtion you re iviing y 7 You multiply

More information

Section 2.3. Matrix Inverses

Section 2.3. Matrix Inverses Mtri lger Mtri nverses Setion.. Mtri nverses hree si opertions on mtries, ition, multiplition, n sutrtion, re nlogues for mtries of the sme opertions for numers. n this setion we introue the mtri nlogue

More information

Separable discrete functions: recognition and sufficient conditions

Separable discrete functions: recognition and sufficient conditions Seprle isrete funtions: reognition n suffiient onitions Enre Boros Onřej Čepek Vlimir Gurvih Novemer 21, 217 rxiv:1711.6772v1 [mth.co] 17 Nov 217 Astrt A isrete funtion of n vriles is mpping g : X 1...

More information

COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE

COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE COMPUTING THE QUARTET DISTANCE BETWEEN EVOLUTIONARY TREES OF BOUNDED DEGREE M. STISSING, C. N. S. PEDERSEN, T. MAILUND AND G. S. BRODAL Bioinformtis Reserh Center, n Dept. of Computer Siene, University

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

Factorising FACTORISING.

Factorising FACTORISING. Ftorising FACTORISING www.mthletis.om.u Ftorising FACTORISING Ftorising is the opposite of expning. It is the proess of putting expressions into rkets rther thn expning them out. In this setion you will

More information

Reformulating global constraints: the Slide and Regular constraints

Reformulating global constraints: the Slide and Regular constraints Reformulting glol constrints: the Slide nd Regulr constrints Christin Bessiere 1, Emmnuel Herrd 2, Brhim Hnich 3, Zeynep Kiziltn 4, Clude-Guy Quimper 5, nd Toy Wlsh 6 1 LIRMM, University of Montpellier,

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

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

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

Analysis of Temporal Interactions with Link Streams and Stream Graphs

Analysis of Temporal Interactions with Link Streams and Stream Graphs Anlysis of Temporl Intertions with n Strem Grphs, Tiphine Vir, Clémene Mgnien http:// ltpy@ LIP6 CNRS n Soronne Université Pris, Frne 1/23 intertions over time 0 2 4 6 8,,, n for 10 time units time 2/23

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

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

Subsequence Automata with Default Transitions

Subsequence Automata with Default Transitions Susequene Automt with Defult Trnsitions Philip Bille, Inge Li Gørtz, n Freerik Rye Skjoljensen Tehnil University of Denmrk {phi,inge,fskj}@tu.k Astrt. Let S e string of length n with hrters from n lphet

More information

Unfoldings of Networks of Timed Automata

Unfoldings of Networks of Timed Automata Unfolings of Networks of Time Automt Frnk Cssez Thoms Chtin Clue Jr Ptrii Bouyer Serge H Pierre-Alin Reynier Rennes, Deemer 3, 2008 Unfolings [MMilln 93] First efine for Petri nets Then extene to other

More information

Automata and Regular Languages

Automata and Regular Languages Chpter 9 Automt n Regulr Lnguges 9. Introution This hpter looks t mthemtil moels of omputtion n lnguges tht esrie them. The moel-lnguge reltionship hs multiple levels. We shll explore the simplest level,

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

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

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

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap

Particle Physics. Michaelmas Term 2011 Prof Mark Thomson. Handout 3 : Interaction by Particle Exchange and QED. Recap Prtile Physis Mihelms Term 2011 Prof Mrk Thomson g X g X g g Hnout 3 : Intertion y Prtile Exhnge n QED Prof. M.A. Thomson Mihelms 2011 101 Rep Working towrs proper lultion of ey n sttering proesses lnitilly

More information

The vertex leafage of chordal graphs

The vertex leafage of chordal graphs The vertex lefge of horl grphs Steven Chplik, Jurj Stho b Deprtment of Physis n Computer Siene, Wilfri Lurier University, 75 University Ave. West, Wterloo, Ontrio N2L 3C5, Cn b DIMAP n Mthemtis Institute,

More information

arxiv: v1 [cs.cg] 28 Apr 2009

arxiv: v1 [cs.cg] 28 Apr 2009 Orienttion-Constrine Retngulr Lyouts Dvi Eppstein 1 n Elen Mumfor 2 1 Deprtment of Computer Siene, University of Cliforni, Irvine, USA 2 Deprtment of Mthemtis n Computer Siene, TU Einhoven, The Netherlns

More information

Lecture 8: Abstract Algebra

Lecture 8: Abstract Algebra Mth 94 Professor: Pri Brtlett Leture 8: Astrt Alger Week 8 UCSB 2015 This is the eighth week of the Mthemtis Sujet Test GRE prep ourse; here, we run very rough-n-tumle review of strt lger! As lwys, this

More information

Key compiler algorithms (for embedded systems)

Key compiler algorithms (for embedded systems) Key ompiler lgorithms (for emee systems) Peter Mrweel University of Dortmun, Germny P. Mrweel, Univ. Dortmun/Informtik 2 ICD/ES, 2006 Fri 0 0. 0.0 Universität Dortmun Opertions/Wtt [MOPS/mW].0µ ASIC Reonfigurle

More information

Computing the Quartet Distance between Evolutionary Trees in Time O(n log n)

Computing the Quartet Distance between Evolutionary Trees in Time O(n log n) Computing the Qurtet Distne etween Evolutionry Trees in Time O(n log n) Gerth Stølting Brol, Rolf Fgererg Christin N. S. Peersen Mrh 3, 2003 Astrt Evolutionry trees esriing the reltionship for set of speies

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

Deciding the Consistency of Branching Time Interval Networks

Deciding the Consistency of Branching Time Interval Networks Deiing the Consisteny of Brnhing Time Intervl Networks Mro Gvnelli Deprtment of Engineering University of Ferrr, Itly mro.gvnelli@unife.it https://ori.org/0000-0001-7433-5899 Alessnro Pssntino Deprtment

More information

XML and Databases. Outline. 1. Top-Down Evaluation of Simple Paths. 1. Top-Down Evaluation of Simple Paths. 1. Top-Down Evaluation of Simple Paths

XML and Databases. Outline. 1. Top-Down Evaluation of Simple Paths. 1. Top-Down Evaluation of Simple Paths. 1. Top-Down Evaluation of Simple Paths Outline Leture Effiient XPth Evlution XML n Dtses. Top-Down Evlution of simple pths. Noe Sets only: Core XPth. Bottom-Up Evlution of Core XPth. Polynomil Time Evlution of Full XPth Sestin Mneth NICTA n

More information

Arc Consistency during Search

Arc Consistency during Search Ar Consisten uring Serh Chvlit Likitvivtnvong Shool of Computing Ntionl Universit of Singpore Yunlin Zhng Sott Shnnon Dept of Computer Siene Tes Teh Universit, USA Jmes Bowen Eugene C Freuer Cork Constrint

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

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

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

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}

More information

Lecture 11 Binary Decision Diagrams (BDDs)

Lecture 11 Binary Decision Diagrams (BDDs) C 474A/57A Computer-Aie Logi Design Leture Binry Deision Digrms (BDDs) C 474/575 Susn Lyseky o 3 Boolen Logi untions Representtions untion n e represente in ierent wys ruth tle, eqution, K-mp, iruit, et

More information

Computing on rings by oblivious robots: a unified approach for different tasks

Computing on rings by oblivious robots: a unified approach for different tasks Computing on rings y olivious roots: unifie pproh for ifferent tsks Ginlorenzo D Angelo, Griele Di Stefno, Alfreo Nvrr, Niols Nisse, Krol Suhn To ite this version: Ginlorenzo D Angelo, Griele Di Stefno,

More information

Bi-decomposition of large Boolean functions using blocking edge graphs

Bi-decomposition of large Boolean functions using blocking edge graphs Bi-eomposition of lrge Boolen funtions using loking ege grphs Mihir Chouhury n Krtik Mohnrm Deprtment of Eletril n Computer Engineering, Rie University, Houston {mihir,kmrm}@rie.eu Astrt Bi-eomposition

More information

6. Suppose lim = constant> 0. Which of the following does not hold?

6. Suppose lim = constant> 0. Which of the following does not hold? CSE 0-00 Nme Test 00 points UTA Stuent ID # Multiple Choie Write your nswer to the LEFT of eh prolem 5 points eh The k lrgest numers in file of n numers n e foun using Θ(k) memory in Θ(n lg k) time using

More information

XML and Databases. Exam Preperation Discuss Answers to last year s exam. Sebastian Maneth NICTA and UNSW

XML and Databases. Exam Preperation Discuss Answers to last year s exam. Sebastian Maneth NICTA and UNSW XML n Dtses Exm Prepertion Disuss Answers to lst yer s exm Sestin Mneth NICTA n UNSW CSE@UNSW -- Semester 1, 2008 (1) For eh of the following, explin why it is not well-forme XML (is WFC or the XML grmmr

More information

arxiv: v2 [math.co] 31 Oct 2016

arxiv: v2 [math.co] 31 Oct 2016 On exlue minors of onnetivity 2 for the lss of frme mtrois rxiv:1502.06896v2 [mth.co] 31 Ot 2016 Mtt DeVos Dryl Funk Irene Pivotto Astrt We investigte the set of exlue minors of onnetivity 2 for the lss

More information

Phylogenies via Quartets

Phylogenies via Quartets Phylogenies vi Qurtets Dvi Brynt rynt@mth.mgill. LIRMM, Frne CRM, U. e M. U. Cnterury MGill University Bite-size trees There is only one unroote tree for one, two or three tx... But there re four unroote

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

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

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

SOME COPLANAR POINTS IN TETRAHEDRON

SOME COPLANAR POINTS IN TETRAHEDRON Journl of Pure n Applie Mthemtis: Avnes n Applitions Volume 16, Numer 2, 2016, Pges 109-114 Aville t http://sientifivnes.o.in DOI: http://x.oi.org/10.18642/jpm_7100121752 SOME COPLANAR POINTS IN TETRAHEDRON

More information

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2 BOOLEAN METHODS Giovnni De Miheli Stnford University Boolen methods Exploit Boolen properties. { Don't re onditions. Minimiztion of the lol funtions. Slower lgorithms, etter qulity results. Externl don't

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