Process Windows. Fig. 1: Motivational example.

Size: px
Start display at page:

Download "Process Windows. Fig. 1: Motivational example."

Transcription

1 1 Pross Winows Anry Mokhov, Jori Cortll, Alssnro Gnnro Nwstl Univrsity, Unit Kingom Univrsitt Politèni Ctluny, Brlon, Spin Astrt W sri mtho for formlly rprsnting th hviour of omplx prosss y pross winows. Eh winow ovrs prt of th systm hviour, i.. prt of th unrlying trnsition systm, n is sir to unrstn n nlys thn th omplt trnsition systm. Pross winows n ovrlp n hv shr stts n trnsitions so tht th omplt systm hviour is th union of winow hviours. W monstrt th vntg of suh rprsnttions whn ling with omplx systm hviours, n isuss potntil pplitions in iruit sign n pross mining. As motivtionl xmpl w onsir th prolm of ovring trnsition systms y mrk grphs, or mor gnrlly hoifr Ptri nts. Th otin winows orrspon to hoi-fr hviourl snrios of th systm, whrin on winow n tk ovr, or wk up, ftr nothr winow hs om intiv. Th orrsponing wk-up onitions n wk-up mrkings n riv utomtilly. () Trnsition systm. () Winow omposition. I. INTRODUCTION Unrstning n spifying th hviour of omplx onurrnt systm is iffiult tsk. Trnsition systms oftn suffr from th stt sp xplosion n vn Ptri nts struggl to rprsnt th hviour of mny rl systms in onis wy, us of multipl hviourl snrios ntngl in singl nt. In this ppr w show how trnsition systm n ompos into st of simplr hviourl mols, furthr rfrr to s winows. Th originl hviour n rovr s th union of th winows. A winow mols only on spt of th systm s hviour tht n hrtris y simpl vnt rltionships. By hoosing winows with simpl rprsnttions, suh s mrk grphs, hoi-fr nts, frhoi nts, t., on n mk sur tht h iniviul winow is simpl nough to unrstn, visulis n spify. A. Motivtionl xmpl Consir trnsition systm n its Ptri nt rprsnttion shown in Fig. 1(,). Arguly, th Ptri nt is mor iffiult to unrstn thn th trnsition systm, u to mix of onurrny n hoi. On n ompos th trnsition systm into two simplr ons, whih w ll winows, tht r hoi-fr, s shown in Fig. 1(). Th winows hv vry simpl Ptri nt rprsnttions W 1 n W 2 shown in Fig. 1(): th hoi spt of th systm hviour hs n strt wy from iniviul winows, n is impliitly rprsnt y th ltrntion of hviour twn winows. Th omposition n utomt iming to prou winows with spifi hviourl proprtis. In this xmpl, th rsulting winows r mrk grphs, lss of Ptri nts with prtiulrly wll-unrstoo struturl proprtis. Wk-up onition: p5 p8 Wk-up mrking: () Ptri nt. p0 = p7 p2 = p6 p3 = 1 Wk-up onition: p1 p3 Wk-up mrking: () Winows W 1 (lft) n W 2 (right). Fig. 1: Motivtionl xmpl. p6 = p2 p7 = p0 p8 = 1 An importnt proprty of th omposition is tht winows n hv ovrlpping hviours, whih provi rigs twn winows. As sn in Fig. 1() th winows ontin two shr stts: s0 (th initil stt) n s4. Th urrnt stt of th systm n thrfor osionlly sn in two winows simultnously, s shown in Fig. 2. By firing p or in s0 th systm lvs th shr stt n pros oring to on of th winows until it vntully oms to s0 or s4, wking up th intiv winow. Not: th systm n sty in th son winow infinitly y looping through stts {s6, s7, s8, s9}.

2 2 Fig. 2: Simulting winows from Fig. 1 (tiv winows r trnsprnt, intiv winows r opqu). Th min ontriutions of this ppr r s follows: W introu pross winows, oth informlly y xmpls n formlly, in Stions II n III. Pross winows n isovr utomtilly using th winow omposition lgorithm. Stion IV prsnts th lgorithm n provs its ompltnss. A mtho for utomt rivtion of wk-up onitions n mrkings is prsnt in Stion V. W xplor pplitions of pross winows in iruit sign n pross mining in Stion VI, n intgrt th prsnt lgorithms n sign mthoology into th opn-sour WORKCRAFT molling frmwork [1][2]. Stion VII isusss th potntil of pross winows for molling systms tht ontin rsour ritrtion n OR uslity. Th rlt work is rviw in Stion VIII. II. THE EXAMPLE IN MORE DETAIL In this stion w lrify th orrsponn twn trnsition systm n its rprsnttion using pross winows. Fig. 2 shows th trnsition systm from Fig. 1(), whr h stt is xpn into th orrsponing stt of th two pross winow nts in Fig. 1(). A winow is tiv whnvr it ovrs th urrnt stt, othrwis it is intiv; intiv winows r rwn opqu in Fig. 2. For xmpl, oth winows r tiv in stts s4 n s0, n th stt trnsition s4 s0 is rflt in oth winows y firing th trnsition. Dpning on whih trnsition ours in s0, ithr W 1 or W 2 oms intiv. In, W 1 os not ovr th trnsition, n W 2 os not ovr th trnsition p. Trnsitions {s7 y s4, s8 y s0} wk up winow W 1 n, similrly, {s2 s4, s3 x s4, s5 x s0} wk up winow W 2. Not tht thr is lwys t lst on tiv winow, us vry stt of th originl trnsition systm must ovr. Furthrmor, sin vry trnsition must ovr too, thr is lwys t lst on winow tht is tiv oth for n ftr trnsition ours. A. Wk-up mrkings Tl I provis n itionl illustrtion of th orrsponn twn th stts of th originl trnsition systm n th mrkings of th otin nts W 1 n W 2. As on n s, h stt is ovr y t lst on nt mrking. Whn TABLE I: Stts n nt mrkings in Fig. 1. Stt Mrking of W 1 Mrking of W 2 s0 {p0, p3} {p7, p8} s1 {p1, p4} - s2 {p1, p3} - s3 {p2, p4} - s4 {p2, p3} {p6, p8} s5 {p0, p4} - s6 - {p5, p8} s7 - {p6, p9} s8 - {p7, p9} s9 - {p5, p9}

3 3 winow oms intiv, th mrking of th orrsponing nt hs no mning n is forgottn. Whn th winow susquntly wks up, th nt must initilis with orrt mrking mthing th urrnt stt of th systm. Using Tl I on n otin th following wk-up mrkings: Whn W 1 wks up in stt s0, it must initilis with th mrking {p0, p3}. Whn W 1 wks up in stt s4, it must initilis with th mrking {p2, p3}. Whn W 2 wks up in stt s0, it must initilis with th mrking {p7, p8}. Whn W 2 wks up in stt s4, it must initilis with th mrking {p6, p8}. On n rmov ll rfrns to th originl trnsition systm n its stts s0 n s4, thry mking th pross winows s sription slf-ontin from th point of viw of th two nts, s follows: Whn W 1 wks up, it must hv tokn in p3, plus tokn in p0 (if p7 is mrk in W 2 ) or p2 (if p6 is mrk in W 2 ). All othr pls shoul unmrk. Whn W 2 wks up, it must hv tokn in p8, plus tokn in p7 (if p0 is mrk in W 1 ) or p6 (if p2 is mrk in W 2 ). All othr pls shoul unmrk. Th wk-up mrkings r shown in Fig. 1() low th nts. B. Wk-up onitions In ition to wk-up mrkings, w lso riv wk-up onitions: th wk-up onition of winow vluts to 1 in ll stts whr th winow n wk up n thrfor rquirs n initilistion using th wk-up mrking. In our running xmpl, oth winows n wk up in stts s4 n s0. From th point of viw of W 1, it ns to wk up whn W 2 hs mrking {p6, p8} or {p7, p8}. This n xprss y th Booln onition (p6 p7) p8, whih n simplifi to p5 p8 using Booln minimistion. Similrly, winow W 2 ns to wk up whn W 1 hs mrking {p0, p3} or {p2, p3}, s ptur y th onition (p0 p2) p3 or, quivlntly, p1 p3. Fig. 1() shows minimis wk-up onitions low h nt. A gnrl mtho for riving wk-up onitions n mrkings is prsnt in Stion V. III. LABELED TRANSITION SYSTEMS AND WINDOWS A. Lll Trnsition Systms A Lll Trnsition Systm (LTS) is tupl (S, Σ, T, s 0 ) whr S is finit st of stts, Σ is th lpht of lls, T S Σ S is th st of lll trnsitions n s 0 S is th initil stt. W us s s to not th lll trnsition (s,, s ) T. An vnt Σ is si to nl in s 1 S if thr xists s 1 s 2 for som s 2 S. Givn n vnt Σ, th Enling St of is th st of stts in whih is nl, i.., ES() = {s S s S : s s }. Similrly, w fin th Bkwr Enling St of : BES() = {s S s S : s s}. B. Winows Givn n LTS A = (S, Σ, T, s 0 ), winow of A is nothr LTS W = (S w { w }, Σ w, T w, s 0w ) suh tht S w S, Σ w Σ, n T w T. Morovr, Σ w stritly ontins th lls ssoit to T w n S w stritly ontins th stts ssoit to T w. w S rprsnts th intiv stt. If s 0 S w, thn s 0w = s 0, othrwis s 0w = w. Thus, ny winow is fully trmin y sust of trnsitions of th LTS. C. Winow Domposition Givn n LTS A = (S, Σ, T, s 0 ), Winow Domposition (WD) of A is st of LTS winows, {W 1,..., W n }, with W i = (S i { i }, Σ i, T i, s 0i ), suh tht S = S i, Σ = Σ i, T = T i i i i n ll i r iffrnt. Th finition implis tht vry stt n vry trnsition of A is ovr y t lst on winow. Aitionlly, th following onitions hol for vry W i : Th unrlying grph inu y T i is onnt. T i T j for ny j i. Intuitivly, th prvious onitions gurnt tht ll omponnts r miniml, i.., tht th stts r onnt (xpt i ) n no winow is runnt. D. Stt sp n trnsition stps A winow omposition W = {W 1,..., W n } is st of winows tht volv synhronously t vry trnsition stp oring to th trnsitions of th LTS thy rprsnt. W hs glol stt sp in whih h stt s is vtor of stt omponnts, s = (s 1,..., s n ), h on longing to iffrnt winow. Thr is on-to-on orrsponn twn th stts of W n th stts of th ssoit LTS. For vry stt s x S, th ssoit stt in W will s x = (s 1,..., s n ) suh tht for vry W i : s i = s x if s x S i, s i = i if s x S i i.., ll th tiv stts r intil. 1) Exmpl: If w onsir th LTS in Fig. 1() n th WD with two winows, W 1 (lft) n W 2 (right), in Fig. 1(), w osrv tht th initil stt s 0 is rprsnt y th vtor s 0 = (s 0, s 0 ). Whn firing trnsition s 0 s 6, th WD movs to stt s 6 = ( 1, s 6 ). W nxt sri possil tr of th WD: q (s 0, s 0 ) ( 1, s 6 ) ( 1, s 7 ) (s 4, s 4 ) p (s 0, s 0 ) (s 1, 2 ) As on n s from th ov tr, t vry stt h winow n ithr tiv or intiv. Som trnsitions p my tivt winow,.g., (s 0, s 0 ) (s 1, 2 ), whrs othr trnsitions my tivt (wk up) winow,.g., y ( 1, s 7 ) (s 4, s 4 ). Thr is lwys t lst on tiv winow tht kps trk of th urrnt stt so tht othrs n wk up n ppropritly initilis thmslvs whn thir tim oms. y

4 4 E. Struturl proprtis From th thory of Ptri nts, w know tht rtin sulsss, suh s Mrk Grphs or Fr-Choi Ptri nts, r wll suit for goo-looking visul struturs [3]. Aitionlly, ths struturs r lso sirl for prformn n rhility nlysis. An intrsting ontriution in this r is th work y Bst n Dvillrs hrtrising th stt sps of hviours tht n gnrt y Mrk Grphs [4] n hoi-fr Ptri nts [5]. Fr-hoi Ptri nts is nothr sulss with visully-frinly struturl proprtis [6]. Th synthsis of this sulss hs n propos in [7] y omining th thory of rgions n ll splitting to for ll hois to fr. In this work, w pply th rsults from [5] n [7] for th omposition of hviours into pross winows. On of our min gols is to rt frmwork in whih th nlysis of prosss n highly utomt y proviing lgorithms to xtrt winows. Th propos lgorithms r s on solving SAT formultion of th prolm tht nos lol 1 proprtis of th winows. W nxt prsnt lol proprtis prsnt in [5][7] to nfor struturl proprtis on th synthsis Ptri nts. Th first two proprtis (forwr n kwr prsistn) r nssry, ut not suffiint, for th synthsis of hoi-fr Ptri nts. Th thir proprty is nssry for th synthsis of Fr-Choi Ptri nts. 1) Forwr n kwr prsistn: Givn n LTS, two vnts n r si to forwr prsistnt if th following onition hols: s 1 ES() ES(), s.t. s 1 s 2 s 1 s 3 : s 2 ES() s 3 ES(). This onition gurnts tht os not isl, n vi vrs. Not tht forwr prsistn lwys hols whn ES() ES() =. A ul proprty is fin for kwr prsistn. Two vnts n r si to kwr prsistnt if th following onition hols: s 1 BES() BES(), s.t. s 2 s 1 s 3 s 1 : s 2 BES() s 3 BES(). An LTS is si to forwr (kwr) prsistnt if forwr (kwr) prsistn hols for ll pirs of vnts. 2) Fr hoinss: Whn two vnts r not forwr prsistnt, thn onflit (hoi) ours twn thm. In this s, w my sir th onflit to fr, i.., th hoi onitions to symmtri for oth of thm. Lt n two vnts tht r not forwr prsistnt. Thn, n r si to in forwr fr hoi if ES() = ES(). Similrly, if n r not kwr prsistnt, thy r si to in kwr fr hoi if BES() = BES(). 1 By lol w rfr to proprtis tht n formult in trms of stts or trnsitions n smll nighourhoo roun thm. s0 s1 s2 s3 s4 s5 y y s6 x x Fig. 3: LTS with iffrnt prsistn n hoi proprtis. 3) Exmpl: Fig. 3 pits n LTS with iffrnt proprtis twn pirs of vnts. For xmpl, th pir (, ) is forwr prsistnt, ut not kwr prsistnt, sin n r oth kwr nl in s6, ut is not kwr nl in s4 n is not kwr nl in s5. Th pirs (, ) n (, ) r oth forwr n kwr prsistnt. Th pirs (, x) n (, x) r lso forwr n kwr prsistnt. Th pir (, ) is not forwr prsistnt, ut it is in forwr fr hoi. Finlly, th pir (, z) is not in forwr fr hoi, sin thy r not forwr prsistnt n z is not nl in s6. Similrly for th pir (, z). s7 s8 s9 x z s10 s11 s12 IV. ALGORITHM FOR WINDOW DECOMPOSITION This stion sris n lgorithmi mtho for isovring winow omposition of n LTS. Th mtho is inspir y th on prsnt in [3] for th xtrtion of LTS slis uring pross mining. It is s on SAT formultion of th prolm, using T vrils, tht mols ll possil winows tht onform to rtin st of proprtis. Th prolm is solv vi Psuo-Booln Optimistion [8]. With n us of nottion, w fin Booln vril t for h trnsition t T. A winow is fully trmin y sust of trnsitions, tht n mol s Booln ssignmnt to th orrsponing vrils. All thos vrils ssrt in th mol orrspon to th slt trnsitions for th winow. Th formul W (T ) tht mols ll possil winows tht n xtrt from n LTS is fin s: WINDOW(T ) = P 1 (T ) P n (T ) (1) whr h P i (T ) rprsnts st of onstrints ssoit to proprty. Nxt, th onstrints ssoit to iffrnt proprtis r sri. A ommon n importnt ftur of ths proprtis is tht thy r lol, i.., thy n spifi s Booln rltionships mong vrils tht rprsnt trnsitions in smll rgion of th LTS. A. Forwr n kwr prsistn Forwr prsistn nsurs tht no vnt isls nothr vnt in th xtrt winow (s St. III-E). Th Booln formultion of this proprty is s follows: Lt s, s 1, s 2 S n, Σ, with, suh tht t 1 = (s,, s 1 ) n t 2 = (s,, s 2 ). Lt T s2, = {t i = (s 2,, s i ) s i S} th st of trnsitions nl in s 2 with vnt. Thn th

5 5 following onstrint is to th formul to gurnt th prsistn of : (t 1 t 2 ) = (t i1 t ik ) whr t i1,..., t ik r th lmnts of T s2,. Noti tht, y symmtry, this onstrint will lso ppli for s prsistn. It lso works for nontrministi LTSs in whih T s2, > 1. In s T s2, =, th onstrint is ru to: t 1 t 2. Bkwr prsistn hs ul formultion tht intuitivly orrspons to th on for forwr prsistn whn th irtion of th trnsitions is rvrs. Th onstrints for forwr n kwr prsistn must formult for pirs of vnts nl in ny stt of th LTS. B. Dtrminism In som ss, it is sirl tht th xtrt winows r trministi. This implis tht ny non-trministi hoi nfors th systm to mov to iffrnt winow. Dtrminism n sily nfor y ing t-most-on onstrints ovr ll th trnsitions nl with th sm vnt in non-trministi stts. C. Conntnss This is proprty tht nnot gurnt with only lol onstrints. Inst, hyri pproh omining Booln onstrints n lgorithmi post-prossing is us. Th Booln onstrints gurnt tht no nw sour/lok stts r gnrt in winow. Formlly, for ny stt s S, w fin T in (s) = {t in1,..., t inm } n T out (s) = {t out1,..., t outn } s th st of inoming n outgoing trnsitions of s, rsptivly. For ny stt in whih T in (s) n T out (s), th following onstrint is : (t in1 t inm ) (t out1 t outn ). This onstrint gurnts tht ny stt with inoming n outgoing trnsitions in th originl LTS will lso hv inoming n outgoing trnsitions in ny winow. D. Algorithm W nxt prsnt n lgorithm for th isovry of winow omposition of n LTS (s Algorithm 1). Th lgorithm is s on th squntil xtrtion of pross winows tht fulfil st of proprtis. Th xtrtion is shphr y SAT formul tht nos th onstrints of th hosn proprtis (s lin 2 n qution (1)). Th vril T ontins th st of trnsitions tht hv not yt n ovr y th prviously xtrt winows. For h winow, th mximum numr of unovr trnsitions is slt (sis othr trnsitions). This sltion is str y ost funtion no s Psuo-Booln onstrint (lin 6). Th vril T i is th st of slt trnsitions. It is thortilly possil tht T i hs mor thn on onnt omponnt. In tht s, th lrgst omponnt is Algorithm 1 Gnrtion of Winow Domposition 1: funtion WINDOWDECOMPOSITION((S, Σ, T, s 0 )) 2: F SAT formul (1) for proprty noing 3: T = T T ontins th unovr trnsitions 4: i 1 Winow inx 5: whil T o whil unovr trnsitions 6: Cost t T t mx unovr trnsitions 7: T i PsuoBoolnOptimiztion(F, Cost) 8: T i LrgstConntComponnt(T i ) 9: Σ i Th lpht ssoit to T i 10: S i Stts from S jnt to T i 11: s ini s 0 S i? s 0 : i 12: W i = LT S(S i, Σ i, T i, s ini ) 13: T T \ T i 14: i i : rturn {W 1,..., W n } Th WD slt to rt nw pross winow W i. Th initil stt n ithr s 0 or i pning on whthr s 0 longs to on of th slt trnsitions. Th min loop of th lgorithm itrts until ll th trnsitions of th LTS hv n ovr y som winow. E. Implmnttion tils Th urrnt lgorithm hs n implmnt to isovr winow ompositions with forwr n kwr prsistn tht n ltr l to hoi-fr Ptri nts. To voi n xssiv frgmnttion of th slt trnsitions into multipl onnt omponnts, th onntnss onition isuss in St. IV-C hs n to formul F. Th PBLi lirry [9] hs n us for Psuo-Booln optimistion n Minist [10] s SAT solvr. Th mximistion of th ost funtion hs n implmnt y inrmntlly strngthning th onstrints tht no th ost funtion until th prolm oms unstisfil [9]. F. Trmintion n Compltnss Lt us ll simpl trs thos tht orrspon to simpl pths in th LTS, i.., thos tht o not visit th sm vrtx mor thn on. Trmintion is lwys gurnt y onsiring th following osrvtion: ny simpl tr is winow with forwr n kwr prsistn. Thrfor, if T, it is lwys possil to fin winow onsisting of simpl tr tht ovrs t lst on of th trnsitions in T n fulfils prsistn. Hn, T is ru t h itrtion. Not tht th ov rgumnt lso provs th ompltnss of th lgorithm: it isovrs vli winow omposition for ny input LTS. Th prvious osrvtion lso provis n uppr oun on th numr of itrtions rquir to isovr WD: th numr of simpl trs nnot lrgr thn th minimum numr of trs rquir to ovr ll trnsitions of th LTS. In prti, th numr of itrtions is sustntilly smllr sin vry winow ovrs multipl trs xhiiting onurrnt hviours.

6 6 V. DERIVING WAKE-UP CONDITIONS AND MARKINGS In this stion w prsnt mtho for riving Booln qutions for wk-up onitions n mrkings. Th mtho is intgrt with th winow omposition lgorithm prsnt in Stion IV n is vill s prt of th WORKCRAFT frmwork [1]. A. Driving wk-up onitions Lt W winow ovring th st of stts S w. Th truth tl of its wk-up onition (W, s) n spifi s follows: (W, s) = 0 for ll stts s tht r outsi th winow, tht is: s / S w : (W, s) = 0. (W, s) = 1 for ll stts s whr w n ntr th winow, tht is: s S w : ( s / S w : s s) (W, s) = 1. Othrwis, for ll stts s tht r ovr y th winow ut nnot ntr from outsi, th vlu (W, s) is unonstrin, i.. it is on t r. In, thr is no hrm if th wk-up onition is tru whn th winow is lry tiv, n w n us this flxiility to otin simplr qution for th wk-up onition. For th xmpl isuss in Stion II-B, th ov finition yils th following onstrints for W 1 : { (W1, s6) = (W 1, s7) = (W 1, s8) = (W 1, s9) = 0, (W 1, s0) = (W 1, s4) = 1. Sin th winows r rprsnt y sf Ptri nts, it is nturl to rprsnt thir stts y sts of mrk pls. This ls to th following stnr Booln logi synthsis prolm tht n solv y th ESPRESSO tool [11], whr sts r no y Booln vtors: Mrking s Booln vtor Wk-up onition (W 1, s) {p5, p8} (1, 0, 0, 1, 0) 0 {p6, p9} (0, 1, 0, 0, 1) 0 {p7, p9} (0, 0, 1, 0, 1) 0 {p5, p9} (1, 0, 0, 0, 1) 0 {p7, p8} (0, 0, 1, 1, 0) 1 {p6, p8} (0, 1, 0, 1, 0) 1 By synthsising th ov into Booln qution, on otins vry suint wk-up onition: (W 1, s) = p5 p8. It is not iffiult to prov tht n qution with only positiv litrls n lwys otin for wk-up onitions. This oms from th ft tht th tivtion of winow lwys oinis with th rrivl of tokn in som othr winows. This monotoni hviour gurnts positiv rltionship twn st of vrils n th wk-up onitions. Th tils of th proof r out of th sop of this ppr. W implmnt th positiv mo in our tool to riv wk-up onitions without ngtiv litrls, whih prous (W 1, s) pos = (p6 p8) (p7 p8) in this s. On n s tht th otin qution my simplifi y ftoring out th ommon trm p8. Our tool n riv suh ftor qutions if rqust y th usr. In our xmpl th rsult is (W 1, s) opt pos = (p6 p7) p8, s xpt. B. Driving wk-up mrkings To riv wk-up mrkings w us similr pproh. Lt m(w, p, s) stn for th wk-up mrking of pl p in winow W n stt s. Its truth tl is s follows: m(w, p, s) = 1 if w n ntr W in stt s n p must mrk. m(w, p, s) = 0 if w n ntr W in stt s n p must unmrk. Othrwis, th vlu m(w, p, s) is unonstrin. In, w only r out th vlu in th stts whn w ntr winow W n wk it up. For th xmpl isuss in Stion II-A, th ov finition yils th following onstrints for W 1 n p0: { m(w1, p0, s0) = 1, m(w 1, p0, s4) = 0. This n quivlntly xprss y th following truth tl: Mrking s Booln vtor Wk-up mrking m(w 1, p0, s) {p7, p8} (0, 0, 1, 1, 0) 1 {p6, p8} (0, 1, 0, 1, 0) 0 It is not iffiult to s tht th truth tl n synthsis into vry simpl qution m(w 1, p0, s) = p7. VI. APPLICATIONS Pross winows r usful whnvr on ns to unrstn th hviour of omplx systm whr onurrny n hoi r intrtwin. Suh systms oftn mk ommonly us hviourl mols, suh s Ptri nts, iffiult to omprhn, s w hv lry monstrt in th motivtionl xmpl in Stion I. In this stion w isuss two pplition rs whr pross winows r prtiulrly usful: synhronous iruit sign n pross mining. A. Asynhronous iruit sign Asynhronous iruits oprt without glol lok signl, n iniviul gts n thrfor fir truly onurrntly. Dsign of suh iruits is vry hllnging tsk, n vn iruits with fw gts my rquir sustntil spifition n nlysis ffort from th signr. Signl Trnsition Grphs (STGs) r ommonly us s th spifition lngug in synhronous iruit sign [12]. STGs r Ptri nts whos trnsitions r lll with signl trnsitions, i.. vnts orrsponing to signls hnging thir vlu from 0 to 1 (th rising trnsition, not y + for signl ) n 1 to 0 (th flling trnsition, not y ). Th ky nfit of using STGs ompr to trnsition systms is tht STGs n rprsnt onurrny vry omptly using th tru onurrny smntis, whih is vry nturl for synhronous iruits. Trnsition systms, on th othr hn, us th intrlving smntis for rprsnting onurrny, whih ls to inqutly lrg mols. Dspit th ft tht STG mols of synhronous iruits r oftn ompt, thy my still hr to unrstn, prtiulrly y usrs who r not xprts in th onurrny thory, suh s inustril hrwr nginrs. Pross winows hlp

7 7 () z lt snrio. () z snt snrio. Fig. 4: STG spifition of si uk ontrollr [13]. mk STG mols sir to unrstn y strting wy th hois in th systm, n rprsnting h hviourl snrio sprtly. Consir n xmpl STG shown in Fig. 4. Th STG spifis th hviour of si synhronous uk ontrollr us in on-hip powr rgultors [13]. Th STG is rsult of rful nlysis of th ontrollr y th signr, who mnully xtrt thr hviourl snrios n rprsnt thm s sprt rnhs of th STG in orr to hiv lr rprsnttion of th ontrollr s hviour. Not tht th STG is not ntirly trivil: th two uppr rnhs strt with th sm signl trnsition uv +, whih inits tht th snrios prtilly ovrlp. Fig. 5: Buk STG synthsis from th trnsition systm. To illustrt tht riving th STG spifition in Fig. 4 mnully is not trivil, Fig. 5 shows th STG synthsis utomtilly from th trnsition systm of th uk ontrollr y PETRIFY [14]. As on n s, on th rful mnul lyout s on th insight into hviourl snrios of th systm is rmov, th STG oms hrr to unrstn. Th winow omposition mtho prsnt in this ppr n utomtilly isovr th thr snrios from th unrlying trnsition systm, without ny mnul intrvntion from th signr, thry sustntilly rsing th spifition n visulistion ffort. Th xtrt winows r shown in Fig. 6. Thy hv hv th sm wk-up mrking with th only tokn on th o uv + r, n symmtri wk-up onitions tht monitor ths pls. Th spt of ovrlpping snrios is vn mor vint in th winows rprsnttion: th mrk grph orrsponing to th z snt snrio is sugrph of th z lt snrio, whih mns tht whnvr th formr winow is tiv, th lttr is tiv too. Rprsnting iruit hviour y olltion of mrk grphs n lso nfiil for th following rsons: () z rly snrio. Fig. 6: Fully utomt winow omposition of th uk ontrollr (lyout gnrt y Grphviz [15]). Mrk grphs r sulss of Ptri nts with prtiulrly wll unrstoo struturl proprtis. For xmpl, on n sily hrtris mrk grphs in trms of prformn n nrgy. If th proportion of tim th iruit oprts in h snrio is known from th systm sription, it is possil to ggrgt iniviul hrtristis of th snrios, otining mtri for ovrll systm prformn n nrgy onsumption. Pross winows prmit inrmntl spifition of systm, whr h snrio is sign n vrifi sprtly s mrk grph. Suh inrmntl spifition llows to voi monolithi STG spifitions tht nnot sign in ntrlis mnnr y inpnnt tms of signrs. It is possil to synthsis synhronous iruits for h mrk grph sprtly n thn omin thm using orrt-y-onstrution pproh on th sis of wkup onitions n mrkings. This n potntilly prou iruits tht r sir to implmnt using gts vill in stnr thnology lirris. B. Pross mining Anothr potntil pplition r is pross mining [16], mor spifilly th isovry of pross mols from xution trs. Som of th prvious work in this r [3] inspir th onpt of pross winows prsnt in this ppr. Trs: Fig. 7: Log of trs n Lll Trnsition Systm. W illustrt th ppliility of pross winows to th r of pross mining with simpl xmpl in Fig. 7. On th lft, log of trs is shown with vnts longing to th lpht {,,,, }. On th right, th LTS otin from

8 8 () Trnsition systm. () Ptri nt mol utomtilly isovr y PETRIFY. () Winow omposition (shr stts highlight). () Pross winows {W 1, W 2, W 3}. :w 2 :w 3 :w 2 :w 1 () Winow ovrly. Fig. 8: Mining pross mol for th log in Fig 7. th trs is pit. This LTS hs n gnrt with th prfix multist onvrsion [17], in whih prfixs with th sm numr of ourrns of h vnt l to th sm stt (rgrlss of th ourrn orr). Fig. 8() pits th Ptri nt otin y PETRIFY [14] using th thory of rgions n ll splitting. Th strutur of th Ptri nt is vry intrit n givs no intuition on how th pross hvs. Th min rson is us th nt rprsnts multipl hviours of iffrnt ntur unr th sm strutur. By xtrting hoi-fr pross winows shown in Fig. 8(), th strutur of th hviour oms muh mor visil. In mny ss, th logs of systm ontin hviours of susystms tht intrt with iffrnt uslity/onurrny rltions. Pross winows ontriut to istill th hin su-prosss n show th vrity of hviours tht wr rtifiilly ln in th sm log. Furthrmor, it is possil to omin pross winows with othr thniqus for visulising snrios. For xmpl, Fig. 8() shows how th winows n ovrli y mthing thir ommon frgmnts n using Booln onitions to tivt iniviul vnts. By stting w 1 w 2 w 3 = 010, i.. Wk-up onition: p5 Wk-up mrking: p0 = p8 p1 = p9 p3 = 1 () Winow W 1. () Ptri nt. Fig. 9: Aritrtion. Wk-up onition: p0 Wk-up mrking: p5 = p3 p6 = p4 p8 = 1 () Winow W 2. hoosing winow W 2, on n rmov vnts n whos onitions vlut to 0, n otin th son snrio. Suh ompt ovrli rprsnttions n utomtilly prou y xisting pross mining thniqus [18]. VII. DISCUSSION In this stion w stuy two mor xmpls of winow omposition, tht highlight th spts of slility n flxiility of th propos pproh whn it is ppli to rllif systms tht oftn ontin suh sours of omplxity s rsour ritrtion n OR uslity.

9 9 ( n ) ( k, us thr r xtly n ) k iffrnt hoi-fr snrios. This shows th limittion of th propos pproh whn winows r rstrit to hoi-fr nts. A possil solution to this prolm is to ovrly winows, s sri in Stion VI-B, whih rsults in ompt rprsnttion vn for xponntilly mny winows. Altrntivly, on n pt th winow omposition lgorithm to llow simpl rsour ritrtion pttrns within winows. () Trnsition systm. () Ptri nt. () Winow omposition (shr stts highlight). B. OR uslity OR uslity [19] is known to iffiult to mol with Ptri nts, s it rquirs ithr 2-sf pls or vnt splitting. Fig. 10 shows n xmpl of systm with OR uslity: th vnt my us ithr y or y. Th Ptri nt in Fig. 10() splits vnt n to mol OR uslity, whih mks th nt iffiult to unrstn n introus n spt of hoi into th mol, vn though th originl trnsition systm is prsistnt. Fig. 10() shows how th trnsition systm n ompos into union of two kwr-prsistnt trnsition systms. Th rsulting winow omposition is shown in Fig. 10(); it ontins two winows us th originl trnsition systm is not kwr prsistnt. Our implmnttion of th winow omposition lgorithm llows th usr to hoos whthr to rspt kwr prsistn uring th omposition pross or not, us in som situtions it my nfiil to isovr winows tht ontin OR uslity, s thy my orrspon to nturl hviourl snrios of th systm. Wk-up onition: p8 Wk-up mrking: () Winow W 1. p0 = 1 p3 = 1 A. Rsour ritrtion Fig. 10: OR uslity. Wk-up onition: p3 Wk-up mrking: () Winow W 2. p5 = 1 p8 = 1 Fig. 9() shows trnsition systm of rqust-grnton ritr. Th ritr pts two onurrnt rqusts r1 n r2 n issus t most on grnt g1 or g2 for pning rqust. Th rqust is susquntly rmov y th orrsponing on vnt 1 or 2. Th orrsponing Ptri nt in Fig. 9() is wll-known n pturs th hviour of th systm in vry lr n onis wy. Furthrmor, it is sll rprsnttion in th following sns. If on ns to gnrlis th mol to sri k-of-n ritr for hnling n rqusts y issuing t most k grnts t tim, on n simply us n rqust-grnt-on loops ritrting vi shr rsour pl initilly ontining k tokns. Now onsir th winow omposition shown in Fig. 9() n th winows in Fig. 9(,). Th winows r hoi-fr, s sir, howvr, this rprsnttion is not sll. In, k-of-n ritr rquirs n xponntil numr of winows VIII. RELATED WORK Pross winows r rlt to n inspir y ro oy of work on snrio-s systm spifition n nlysis mthos [20]. In prtiulr, Mssg-Squn Chrts (MSCs) [21] n Liv Squn Chrts (LSCs) [22] r wily us for th spifition of protools of th ommunition twn systm omponnts y mns of mssgs. MSCs n LSCs r support y tools n n utomtilly trnsform to trnsition systms for furthr mol-hking n synthsis. Som pprohs us Ptri nt s mols to rprsnt iniviul snrios, for xmpl olts [23] us prtil runs to rprsnt snrios n nti-snrios (i.. snrios tht must not our). Untnglings [24] lso rprsnt systm hviour y olltion of yli prtil runs, ut for th purpos of ffiint stt rprsnttion n mol-hking, inst of spifition. Strutur Ourrn Nts [25] introu fmily of rihr rltions twn snrios, suh s hviourl strtion. In th r of synhronous iruit sign, on n lso highlight th work on Conitionl Prtil Orr Grphs [26] n Prmtris Grphs [27], whr prtil orrs r us for th spifition of multi-snrio hrwr systms, suh s prossors n on-hip ommunition ontrollrs. Th ky iffrntiting spt of this ppr is th utomt isovry of snrios from trnsition systms, irtly inspir y [3], whih llows to unrstn th hviour

10 10 of omplx xisting systms tht hv not n mnully ompos into snrios. Furthrmor, unlik mny of th ov-mntion pprohs, th propos mtho is not limit to yli snrios n n smlssly hnl oth yli n yli snrios, hoosing th most pproprit formlism for thir rprsnttion, s hs n monstrt in Stion VI. Th min iffrn from th pproh prsnt in [3] is th ovrility of hviours. In [3], th xtrtion of slis ws orint to isovring pross mols otin from logs. In tht s, h tr of th log ws ompltly ovr y t lst on sli. Th work prsnt in this ppr is mor gnrl in th sns tht winows ovr ll hviours of th LTS ut trs my trvl ross iffrnt winows. IX. CONCLUSIONS Complx prosss oftn hv intrit rltionships mong th prtiipting vnts. Hving monolithi mol to rprsnt suh hviours oftn rsults in struturs tht o not giv lr intuition on th su-prosss hin insi th omplxity of th glol pross. Pross winows is formlism tht hlps istilling n isovring su-prosss with struturlly simpl rltionships. Evry winow mols prtil hviour of th omplt systm n hs simpl proprtis tht ontriut to ttr unrstning of th intrtion mong vnts. An importnt spt of th pross winows mtho is tht it is not rstrit to ny prtiulr st of proprtis of isovr winows. In this ppr w hv xplor prsistnt winows to otin hoi-fr snrios. Howvr, on n nvisg othr winow proprtis to us to riv winows with othr usful fturs. Automtion is nothr importnt spt of pross winows. If th sir proprtis r simpl n lol, ffiint lgorithms for th isovry of winows n riv, thry mking th intrtion with th usr simpl, prtil n intrtiv. ACKNOWLEDGEMENTS W r grtful to Alx Ykovlv for inspiring isussions. This rsrh ws prtilly support y EPSRC grnt EP/L025507/1 (A4A), n y funs from th Spnish Ministry for Eonomy n Comptitivnss n th Europn Union (FEDER funs) unr grnt TIN C2-1-R n th Gnrlitt Ctluny (2014 SGR1034). REFERENCES [1] Th Workrft frmwork hompg [2] I. Polikov, D. Sokolov, n A. Mokhov. Workrft: stti t flow strutur iting, visulistion n nlysis tool. In Ptri Nts n Othr Mols of Conurrny, pgs [3] Jvir Sn Pro n Jori Cortll. Mining strutur Ptri nts for th visuliztion of pross hvior. In 31st ACM Symposium on Appli Computing, pgs , April [4] Eik Bst n Rymon Dvillrs. Chrtristion of th stt sps of liv n oun mrk grph Ptri Nts. In Lngug n Automt Thory n Applitions, volum 8370 of LNCS, pgs Springr, [5] Eik Bst n Rymon Dvillrs. Synthsis of oun hoi-fr Ptri nts. In Pro. 26th Intrntionl Confrn on Conurrny Thory (CONCUR), pgs , [6] Jörg Dsl n Jvir Esprz. Fr Choi Ptri nts, volum 40 of Cmrig Trts in Thortil Computr Sin. Cmrig Univrsity Prss, [7] Jori Cortll, Mihl Kishinvsky, Luino Lvgno, n Alxnr Ykovlv. Driving Ptri nts from Finit Trnsition Systms. IEEE Trnstions on Computrs, 47(8): , August [8] Enr Boros n Ptr L. Hmmr. Psuo-ooln optimiztion. Disrt Appli Mthmtis, 123(1 3): , [9] Tois Philipp n Ptr Stink. PBLi lirry for noing psuoooln onstrints into CNF. In Mrijn Hul n Sn Wvr, itors, Thory n Applitions of Stisfiility Tsting SAT 2015, volum 9340 of Ltur Nots in Computr Sin, pgs Springr, [10] Nikls Eén n Nikls Sörnsson. An xtnsil SAT-solvr. In Thory n Applitions of Stisfiility Tsting, 6th Intrntionl Confrn, SAT 2003, pgs , [11] Rihr L. Rull n Alrto L. Sngiovnni-Vinntlli. Multipl- Vlu Minimiztion for PLA Optimiztion. IEEE Trns. on CAD of Intgrt Ciruits n Systms, 6(5): , [12] Alxnr V Ykovlv, Alrt M Kolmns, n Luino Lvgno. High-lvl moling n sign of synhronous intrf logi. IEEE Dsign & Tst of Computrs, 12(1):32 40, [13] D. Sokolov, A. Mokhov, A. Ykovlv, n D. Lloy. Towrs synhronous powr mngmnt. In IEEE Fil Tnsion Fil Consommtion (FTFC), pgs 1 4, My [14] Jori Cortll, Mihl Kishinvsky, Alx Konrtyv, Luino Lvgno, n Alxnr Ykovlv. Ptrify: tool for mnipulting onurrnt spifitions n synthsis of synhronous ontrollrs. IEICE Trnstions on Informtion n Systms, 80(3): , [15] Emn R. Gnsnr, Elfthrios Koutsofios, Stphn C. North, n Kim- Phong Vo. A thniqu for rwing irt grphs. IEEE Trns. Softwr Eng., 19(3): , [16] Wil M. P. vn r Alst. Pross Mining: Disovry, Conformn n Enhnmnt of Businss Prosss. Springr, 1st ition, [17] W.M.P. vn r Alst, V. Ruin, H.M.W. Vrk, B.F. vn Dongn, E. Kinlr, n C.W. Günthr. Pross mining: two-stp pproh to ln twn unrfitting n ovrfitting. Softwr & Systms Moling, 9(1):87 111, [18] Anry Mokhov, Josp Crmon, n Jonthn Bumont. Mining Conitionl Prtil Orr Grphs from Evnt Logs. In Trnstions on Ptri Nts n Othr Mols of Conurrny XI, pgs Springr Brlin Hilrg, [19] A. Ykovlv, M. Kishinvsky, A. Konrtyv, L. Lvgno, n M. Pitkiwiz-Koutny. On th mols for synhronous iruit hviour with OR uslity. Forml Mthos in Systm Dsign, pgs , [20] Klus Winhupt, Klus Pohl, Mtthis Jrk, n Ptr Humr. Snrios in systm vlopmnt: urrnt prti. IEEE softwr, 15(2):34 45, [21] Dvi Hrl n PS Thigrjn. Mssg squn hrts. In UML for Rl, pgs Springr, [22] Dvi Hrl n Rmi Mrlly. Com, lt s ply: snrio-s progrmming using LSCs n th ply-ngin, volum 1. Springr Sin & Businss Mi, [23] Dirk Fhln. Olts snrio-s moling with ptri nts. In Intrntionl Confrn on Applitions n Thory of Ptri Nts, pgs Springr, [24] Artm Polyvynyy, Mrllo L Ros, Chun Ouyng, H Arthur, n M Tr Hofst. Untnglings: novl pproh to nlyzing onurrnt systms. Forml Aspts of Computing, 27(5-6):753, [25] Mij Koutny n Brin Rnll. Strutur ourrn nts: A formlism for iing systm filur prvntion n nlysis thniqus. Funmnt Informti, 97(1-2):41 91, [26] Anry Mokhov n Alx Ykovlv. Conitionl prtil orr grphs: Mol, synthsis, n pplition. IEEE Trnstions on Computrs, 59(11): , [27] Anry Mokhov n Vitor Khomnko. Algr of prmtris grphs. ACM Trnstions on Em Computing Systms, 13(4s), 2014.

Why the Junction Tree Algorithm? The Junction Tree Algorithm. Clique Potential Representation. Overview. Chris Williams 1.

Why the Junction Tree Algorithm? The Junction Tree Algorithm. Clique Potential Representation. Overview. Chris Williams 1. Why th Juntion Tr lgorithm? Th Juntion Tr lgorithm hris Willims 1 Shool of Informtis, Univrsity of Einurgh Otor 2009 Th JT is gnrl-purpos lgorithm for omputing (onitionl) mrginls on grphs. It os this y

More information

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura Moul grph.py CS 231 Nomi Nishimur 1 Introution Just lik th Python list n th Python itionry provi wys of storing, ssing, n moifying t, grph n viw s wy of storing, ssing, n moifying t. Bus Python os not

More information

Constructive Geometric Constraint Solving

Constructive Geometric Constraint Solving Construtiv Gomtri Constrint Solving Antoni Soto i Rir Dprtmnt Llngutgs i Sistms Inormàtis Univrsitt Politèni Ctluny Brlon, Sptmr 2002 CGCS p.1/37 Prliminris CGCS p.2/37 Gomtri onstrint prolm C 2 D L BC

More information

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)} Introution Computr Sin & Enginring 423/823 Dsign n Anlysis of Algorithms Ltur 03 Elmntry Grph Algorithms (Chptr 22) Stphn Sott (Apt from Vinohnrn N. Vriym) I Grphs r strt t typs tht r pplil to numrous

More information

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)} s s of s Computr Sin & Enginring 423/823 Dsign n Anlysis of Ltur 03 (Chptr 22) Stphn Sott (Apt from Vinohnrn N. Vriym) s of s s r strt t typs tht r pplil to numrous prolms Cn ptur ntitis, rltionships twn

More information

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph Intrntionl J.Mth. Comin. Vol.1(2014), 80-86 Algorithmi n NP-Compltnss Aspts of Totl Lit Domintion Numr of Grph Girish.V.R. (PES Institut of Thnology(South Cmpus), Bnglor, Krntk Stt, Ini) P.Ush (Dprtmnt

More information

CSC Design and Analysis of Algorithms. Example: Change-Making Problem

CSC Design and Analysis of Algorithms. Example: Change-Making Problem CSC 801- Dsign n Anlysis of Algorithms Ltur 11 Gry Thniqu Exmpl: Chng-Mking Prolm Givn unlimit mounts of oins of nomintions 1 > > m, giv hng for mount n with th lst numr of oins Exmpl: 1 = 25, 2 =10, =

More information

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018 CSE 373: Mor on grphs; DFS n BFS Mihl L Wnsy, F 14, 2018 1 Wrmup Wrmup: Disuss with your nighor: Rmin your nighor: wht is simpl grph? Suppos w hv simpl, irt grph with x nos. Wht is th mximum numr of gs

More information

Garnir Polynomial and their Properties

Garnir Polynomial and their Properties Univrsity of Cliforni, Dvis Dprtmnt of Mthmtis Grnir Polynomil n thir Proprtis Author: Yu Wng Suprvisor: Prof. Gorsky Eugny My 8, 07 Grnir Polynomil n thir Proprtis Yu Wng mil: uywng@uvis.u. In this ppr,

More information

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V Unirt Grphs An unirt grph G = (V, E) V st o vrtis E st o unorr gs (v,w) whr v, w in V USE: to mol symmtri rltionships twn ntitis vrtis v n w r jnt i thr is n g (v,w) [or (w,v)] th g (v,w) is inint upon

More information

CSE 373: AVL trees. Warmup: Warmup. Interlude: Exploring the balance invariant. AVL Trees: Invariants. AVL tree invariants review

CSE 373: AVL trees. Warmup: Warmup. Interlude: Exploring the balance invariant. AVL Trees: Invariants. AVL tree invariants review rmup CSE 7: AVL trs rmup: ht is n invrint? Mihl L Friy, Jn 9, 0 ht r th AVL tr invrints, xtly? Disuss with your nighor. AVL Trs: Invrints Intrlu: Exploring th ln invrint Cor i: xtr invrint to BSTs tht

More information

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs.

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs. Pths.. Eulr n Hmilton Pths.. Pth D. A pth rom s to t is squn o gs {x 0, x 1 }, {x 1, x 2 },... {x n 1, x n }, whr x 0 = s, n x n = t. D. Th lngth o pth is th numr o gs in it. {, } {, } {, } {, } {, } {,

More information

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem)

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem) 12/3/12 Outlin Prt 10. Grphs CS 200 Algorithms n Dt Struturs Introution Trminology Implmnting Grphs Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 1 Ciruits Cyl 2 Eulr

More information

0.1. Exercise 1: the distances between four points in a graph

0.1. Exercise 1: the distances between four points in a graph Mth 707 Spring 2017 (Drij Grinrg): mitrm 3 pg 1 Mth 707 Spring 2017 (Drij Grinrg): mitrm 3 u: W, 3 My 2017, in lss or y mil (grinr@umn.u) or lss S th wsit or rlvnt mtril. Rsults provn in th nots, or in

More information

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs Prt 10. Grphs CS 200 Algorithms n Dt Struturs 1 Introution Trminology Implmnting Grphs Outlin Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 2 Ciruits Cyl A spil yl

More information

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp CSE 373 Grphs 1: Conpts, Dpth/Brth-First Srh ring: Wiss Ch. 9 slis rt y Mrty Stpp http://www.s.wshington.u/373/ Univrsity o Wshington, ll rights rsrv. 1 Wht is grph? 56 Tokyo Sttl Soul 128 16 30 181 140

More information

Section 10.4 Connectivity (up to paths and isomorphism, not including)

Section 10.4 Connectivity (up to paths and isomorphism, not including) Toy w will isuss two stions: Stion 10.3 Rprsnting Grphs n Grph Isomorphism Stion 10.4 Conntivity (up to pths n isomorphism, not inluing) 1 10.3 Rprsnting Grphs n Grph Isomorphism Whn w r working on n lgorithm

More information

Present state Next state Q + M N

Present state Next state Q + M N Qustion 1. An M-N lip-lop works s ollows: I MN=00, th nxt stt o th lip lop is 0. I MN=01, th nxt stt o th lip-lop is th sm s th prsnt stt I MN=10, th nxt stt o th lip-lop is th omplmnt o th prsnt stt I

More information

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS OMPLXITY O OUNTING PLNR TILINGS Y TWO RS KYL MYR strt. W show tht th prolm o trmining th numr o wys o tiling plnr igur with horizontl n vrtil r is #P-omplt. W uil o o th rsults o uquir, Nivt, Rmil, n Roson

More information

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes.

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes. Nm: UCA ID Numr: Stion lttr: th 61 : Disrt Struturs Finl Exm Instrutor: Ciprin nolsu You hv 180 minuts. No ooks, nots or lultors r llow. Do not us your own srth ppr. 1. (2 points h) Tru/Fls: Cirl th right

More information

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008 Th Univrsity o Syny MATH2969/2069 Grph Thory Tutoril 5 (Wk 12) Solutions 2008 1. (i) Lt G th isonnt plnr grph shown. Drw its ul G, n th ul o th ul (G ). (ii) Show tht i G is isonnt plnr grph, thn G is

More information

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s?

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s? MATH 3012 Finl Exm, My 4, 2006, WTT Stunt Nm n ID Numr 1. All our prts o this prolm r onrn with trnry strings o lngth n, i.., wors o lngth n with lttrs rom th lpht {0, 1, 2}.. How mny trnry wors o lngth

More information

Graph Isomorphism. Graphs - II. Cayley s Formula. Planar Graphs. Outline. Is K 5 planar? The number of labeled trees on n nodes is n n-2

Graph Isomorphism. Graphs - II. Cayley s Formula. Planar Graphs. Outline. Is K 5 planar? The number of labeled trees on n nodes is n n-2 Grt Thortil Is In Computr Sin Vitor Amhik CS 15-251 Ltur 9 Grphs - II Crngi Mllon Univrsity Grph Isomorphism finition. Two simpl grphs G n H r isomorphi G H if thr is vrtx ijtion V H ->V G tht prsrvs jny

More information

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management nrl tr T is init st o on or mor nos suh tht thr is on sint no r, ll th root o T, n th rminin nos r prtition into n isjoint susts T, T,, T n, h o whih is tr, n whos roots r, r,, r n, rsptivly, r hilrn o

More information

CS September 2018

CS September 2018 Loil los Distriut Systms 06. Loil los Assin squn numrs to msss All ooprtin prosss n r on orr o vnts vs. physil los: rport tim o y Assum no ntrl tim sour Eh systm mintins its own lol lo No totl orrin o

More information

Planar Upward Drawings

Planar Upward Drawings C.S. 252 Pro. Rorto Tmssi Computtionl Gomtry Sm. II, 1992 1993 Dt: My 3, 1993 Sri: Shmsi Moussvi Plnr Upwr Drwings 1 Thorm: G is yli i n only i it hs upwr rwing. Proo: 1. An upwr rwing is yli. Follow th

More information

Graphs. CSC 1300 Discrete Structures Villanova University. Villanova CSC Dr Papalaskari

Graphs. CSC 1300 Discrete Structures Villanova University. Villanova CSC Dr Papalaskari Grphs CSC 1300 Disrt Struturs Villnov Univrsity Grphs Grphs r isrt struturs onsis?ng of vr?s n gs tht onnt ths vr?s. Grphs n us to mol: omputr systms/ntworks mthm?l rl?ons logi iruit lyout jos/prosss f

More information

ECE COMBINATIONAL BUILDING BLOCKS - INVEST 13 DECODERS AND ENCODERS

ECE COMBINATIONAL BUILDING BLOCKS - INVEST 13 DECODERS AND ENCODERS C 24 - COMBINATIONAL BUILDING BLOCKS - INVST 3 DCODS AND NCODS FALL 23 AP FLZ To o "wll" on this invstition you must not only t th riht nswrs ut must lso o nt, omplt n onis writups tht mk ovious wht h

More information

Outline. 1 Introduction. 2 Min-Cost Spanning Trees. 4 Example

Outline. 1 Introduction. 2 Min-Cost Spanning Trees. 4 Example Outlin Computr Sin 33 Computtion o Minimum-Cost Spnnin Trs Prim's Alorithm Introution Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #33 3 Alorithm Gnrl Constrution Mik Joson (Univrsity o Clry)

More information

Outline. Circuits. Euler paths/circuits 4/25/12. Part 10. Graphs. Euler s bridge problem (Bridges of Konigsberg Problem)

Outline. Circuits. Euler paths/circuits 4/25/12. Part 10. Graphs. Euler s bridge problem (Bridges of Konigsberg Problem) 4/25/12 Outlin Prt 10. Grphs CS 200 Algorithms n Dt Struturs Introution Trminology Implmnting Grphs Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 1 2 Eulr s rig prolm

More information

1 Introduction to Modulo 7 Arithmetic

1 Introduction to Modulo 7 Arithmetic 1 Introution to Moulo 7 Arithmti Bor w try our hn t solvin som hr Moulr KnKns, lt s tk los look t on moulr rithmti, mo 7 rithmti. You ll s in this sminr tht rithmti moulo prim is quit irnt rom th ons w

More information

CS61B Lecture #33. Administrivia: Autograder will run this evening. Today s Readings: Graph Structures: DSIJ, Chapter 12

CS61B Lecture #33. Administrivia: Autograder will run this evening. Today s Readings: Graph Structures: DSIJ, Chapter 12 Aministrivi: CS61B Ltur #33 Autogrr will run this vning. Toy s Rings: Grph Struturs: DSIJ, Chptr 12 Lst moifi: W Nov 8 00:39:28 2017 CS61B: Ltur #33 1 Why Grphs? For xprssing non-hirrhilly rlt itms Exmpls:

More information

12. Traffic engineering

12. Traffic engineering lt2.ppt S-38. Introution to Tltrffi Thory Spring 200 2 Topology Pths A tlommunition ntwork onsists of nos n links Lt N not th st of nos in with n Lt J not th st of nos in with j N = {,,,,} J = {,2,3,,2}

More information

A Simple Code Generator. Code generation Algorithm. Register and Address Descriptors. Example 3/31/2008. Code Generation

A Simple Code Generator. Code generation Algorithm. Register and Address Descriptors. Example 3/31/2008. Code Generation A Simpl Co Gnrtor Co Gnrtion Chptr 8 II Gnrt o for singl si lok How to us rgistrs? In most mhin rhitturs, som or ll of th oprnsmust in rgistrs Rgistrs mk goo tmporris Hol vlus tht r omput in on si lok

More information

COMP108 Algorithmic Foundations

COMP108 Algorithmic Foundations Grdy mthods Prudn Wong http://www.s.liv..uk/~pwong/thing/omp108/01617 Coin Chng Prolm Suppos w hv 3 typs of oins 10p 0p 50p Minimum numr of oins to mk 0.8, 1.0, 1.? Grdy mthod Lrning outoms Undrstnd wht

More information

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely . DETERMINANT.. Dtrminnt. Introution:I you think row vtor o mtrix s oorint o vtors in sp, thn th gomtri mning o th rnk o th mtrix is th imnsion o th prlllppi spnn y thm. But w r not only r out th imnsion,

More information

Graphs. Graphs. Graphs: Basic Terminology. Directed Graphs. Dr Papalaskari 1

Graphs. Graphs. Graphs: Basic Terminology. Directed Graphs. Dr Papalaskari 1 CSC 00 Disrt Struturs : Introuon to Grph Thory Grphs Grphs CSC 00 Disrt Struturs Villnov Univrsity Grphs r isrt struturs onsisng o vrs n gs tht onnt ths vrs. Grphs n us to mol: omputr systms/ntworks mthml

More information

QUESTIONS BEGIN HERE!

QUESTIONS BEGIN HERE! Points miss: Stunt's Nm: Totl sor: /100 points Est Tnnss Stt Univrsity Dprtmnt of Computr n Informtion Sins CSCI 710 (Trnoff) Disrt Struturs TEST for Fll Smstr, 00 R this for strtin! This tst is los ook

More information

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology!

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology! Outlin Computr Sin 331, Spnnin, n Surphs Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #30 1 Introution 2 3 Dinition 4 Spnnin 5 6 Mik Joson (Univrsity o Clry) Computr Sin 331 Ltur #30 1 / 20 Mik

More information

A Low Noise and Reliable CMOS I/O Buffer for Mixed Low Voltage Applications

A Low Noise and Reliable CMOS I/O Buffer for Mixed Low Voltage Applications Proings of th 6th WSEAS Intrntionl Confrn on Miroltronis, Nnoltronis, Optoltronis, Istnul, Turky, My 27-29, 27 32 A Low Nois n Rlil CMOS I/O Buffr for Mix Low Voltg Applitions HWANG-CHERNG CHOW n YOU-GANG

More information

Process Discovery. prof.dr.ir. Wil van der Aalst.

Process Discovery. prof.dr.ir. Wil van der Aalst. Pross Disovry prof.r.ir. Wil vn r Alst www.prossmining.org Positioning Pross Mining prformn-orint qustions, prolms n solutions pross mol nlysis (simultion, vrifition, t.) pross mining t-orint nlysis (t

More information

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013 CS Avn Dt Struturs n Algorithms Exm Solution Jon Turnr //. ( points) Suppos you r givn grph G=(V,E) with g wights w() n minimum spnning tr T o G. Now, suppos nw g {u,v} is to G. Dsri (in wors) mtho or

More information

Numbering Boundary Nodes

Numbering Boundary Nodes Numring Bounry Nos Lh MBri Empori Stt Univrsity August 10, 2001 1 Introution Th purpos of this ppr is to xplor how numring ltril rsistor ntworks ffts thir rspons mtrix, Λ. Morovr, wht n lrn from Λ out

More information

Register Allocation. Register Allocation. Principle Phases. Principle Phases. Example: Build. Spills 11/14/2012

Register Allocation. Register Allocation. Principle Phases. Principle Phases. Example: Build. Spills 11/14/2012 Rgistr Allotion W now r l to o rgistr llotion on our intrfrn grph. W wnt to l with two typs of onstrints: 1. Two vlus r liv t ovrlpping points (intrfrn grph) 2. A vlu must or must not in prtiulr rhitturl

More information

CS 461, Lecture 17. Today s Outline. Example Run

CS 461, Lecture 17. Today s Outline. Example Run Prim s Algorithm CS 461, Ltur 17 Jr Si Univrsity o Nw Mxio In Prim s lgorithm, th st A mintin y th lgorithm orms singl tr. Th tr strts rom n ritrry root vrtx n grows until it spns ll th vrtis in V At h

More information

Outline. Computer Science 331. Computation of Min-Cost Spanning Trees. Costs of Spanning Trees in Weighted Graphs

Outline. Computer Science 331. Computation of Min-Cost Spanning Trees. Costs of Spanning Trees in Weighted Graphs Outlin Computr Sin 33 Computtion o Minimum-Cost Spnnin Trs Prim s Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #34 Introution Min-Cost Spnnin Trs 3 Gnrl Constrution 4 5 Trmintion n Eiiny 6 Aitionl

More information

Aquauno Video 6 Plus Page 1

Aquauno Video 6 Plus Page 1 Connt th timr to th tp. Aquuno Vio 6 Plus Pg 1 Usr mnul 3 lik! For Aquuno Vio 6 (p/n): 8456 For Aquuno Vio 6 Plus (p/n): 8413 Opn th timr unit y prssing th two uttons on th sis, n fit 9V lklin ttry. Whn

More information

Seven-Segment Display Driver

Seven-Segment Display Driver 7-Smnt Disply Drivr, Ron s in 7-Smnt Disply Drivr, Ron s in Prolm 62. 00 0 0 00 0000 000 00 000 0 000 00 0 00 00 0 0 0 000 00 0 00 BCD Diits in inry Dsin Drivr Loi 4 inputs, 7 outputs 7 mps, h with 6 on

More information

Designing A Concrete Arch Bridge

Designing A Concrete Arch Bridge This is th mous Shwnh ri in Switzrln, sin y Rort Millrt in 1933. It spns 37.4 mtrs (122 t) n ws sin usin th sm rphil mths tht will monstrt in this lsson. To pro with this lsson, lik on th Nxt utton hr

More information

QUESTIONS BEGIN HERE!

QUESTIONS BEGIN HERE! Points miss: Stunt's Nm: Totl sor: /100 points Est Tnnss Stt Univrsity Dprtmnt o Computr n Inormtion Sins CSCI 2710 (Trno) Disrt Struturs TEST or Sprin Smstr, 2005 R this or strtin! This tst is los ook

More information

Similarity Search. The Binary Branch Distance. Nikolaus Augsten.

Similarity Search. The Binary Branch Distance. Nikolaus Augsten. Similrity Srh Th Binry Brnh Distn Nikolus Augstn nikolus.ugstn@sg..t Dpt. of Computr Sins Univrsity of Slzurg http://rsrh.uni-slzurg.t Vrsion Jnury 11, 2017 Wintrsmstr 2016/2017 Augstn (Univ. Slzurg) Similrity

More information

CS200: Graphs. Graphs. Directed Graphs. Graphs/Networks Around Us. What can this represent? Sometimes we want to represent directionality:

CS200: Graphs. Graphs. Directed Graphs. Graphs/Networks Around Us. What can this represent? Sometimes we want to represent directionality: CS2: Grphs Prihr Ch. 4 Rosn Ch. Grphs A olltion of nos n gs Wht n this rprsnt? n A omputr ntwork n Astrtion of mp n Soil ntwork CS2 - Hsh Tls 2 Dirt Grphs Grphs/Ntworks Aroun Us A olltion of nos n irt

More information

CS 241 Analysis of Algorithms

CS 241 Analysis of Algorithms CS 241 Anlysis o Algorithms Prossor Eri Aron Ltur T Th 9:00m Ltur Mting Lotion: OLB 205 Businss HW6 u lry HW7 out tr Thnksgiving Ring: Ch. 22.1-22.3 1 Grphs (S S. B.4) Grphs ommonly rprsnt onntions mong

More information

A 4-state solution to the Firing Squad Synchronization Problem based on hybrid rule 60 and 102 cellular automata

A 4-state solution to the Firing Squad Synchronization Problem based on hybrid rule 60 and 102 cellular automata A 4-stt solution to th Firing Squ Synhroniztion Prolm s on hyri rul 60 n 102 llulr utomt LI Ning 1, LIANG Shi-li 1*, CUI Shung 1, XU Mi-ling 1, ZHANG Ling 2 (1. Dprtmnt o Physis, Northst Norml Univrsity,

More information

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1

Solutions for HW11. Exercise 34. (a) Use the recurrence relation t(g) = t(g e) + t(g/e) to count the number of spanning trees of v 1 Solutions for HW Exris. () Us th rurrn rltion t(g) = t(g ) + t(g/) to ount th numr of spnning trs of v v v u u u Rmmr to kp multipl gs!! First rrw G so tht non of th gs ross: v u v Rursing on = (v, u ):

More information

DUET WITH DIAMONDS COLOR SHIFTING BRACELET By Leslie Rogalski

DUET WITH DIAMONDS COLOR SHIFTING BRACELET By Leslie Rogalski Dut with Dimons Brlt DUET WITH DIAMONDS COLOR SHIFTING BRACELET By Lsli Roglski Photo y Anrw Wirth Supruo DUETS TM from BSmith rt olor shifting fft tht mks your work tk on lif of its own s you mov! This

More information

Trees as operads. Lecture A formalism of trees

Trees as operads. Lecture A formalism of trees Ltur 2 rs s oprs In this ltur, w introu onvnint tgoris o trs tht will us or th inition o nroil sts. hs tgoris r gnrliztions o th simpliil tgory us to in simpliil sts. First w onsir th s o plnr trs n thn

More information

(a) v 1. v a. v i. v s. (b)

(a) v 1. v a. v i. v s. (b) Outlin RETIMING Struturl optimiztion mthods. Gionni D Mihli Stnford Unirsity Rtiming. { Modling. { Rtiming for minimum dly. { Rtiming for minimum r. Synhronous Logi Ntwork Synhronous Logi Ntwork Synhronous

More information

MULTIPLE-LEVEL LOGIC OPTIMIZATION II

MULTIPLE-LEVEL LOGIC OPTIMIZATION II MUTIPE-EVE OGIC OPTIMIZATION II Booln mthos Eploit Booln proprtis Giovnni D Mihli Don t r onitions Stnfor Univrsit Minimition of th lol funtions Slowr lgorithms, ttr qulit rsults Etrnl on t r onitions

More information

Weighted graphs -- reminder. Data Structures LECTURE 15. Shortest paths algorithms. Example: weighted graph. Two basic properties of shortest paths

Weighted graphs -- reminder. Data Structures LECTURE 15. Shortest paths algorithms. Example: weighted graph. Two basic properties of shortest paths Dt Strutur LECTURE Shortt pth lgorithm Proprti of hortt pth Bllmn-For lgorithm Dijktr lgorithm Chptr in th txtook (pp ). Wight grph -- rminr A wight grph i grph in whih g hv wight (ot) w(v i, v j ) >.

More information

Announcements. Not graphs. These are Graphs. Applications of Graphs. Graph Definitions. Graphs & Graph Algorithms. A6 released today: Risk

Announcements. Not graphs. These are Graphs. Applications of Graphs. Graph Definitions. Graphs & Graph Algorithms. A6 released today: Risk Grphs & Grph Algorithms Ltur CS Spring 6 Announmnts A6 rls toy: Risk Strt signing with your prtnr sp Prlim usy Not grphs hs r Grphs K 5 K, =...not th kin w mn, nywy Applitions o Grphs Communition ntworks

More information

CSE303 - Introduction to the Theory of Computing Sample Solutions for Exercises on Finite Automata

CSE303 - Introduction to the Theory of Computing Sample Solutions for Exercises on Finite Automata CSE303 - Introduction to th Thory of Computing Smpl Solutions for Exrciss on Finit Automt Exrcis 2.1.1 A dtrministic finit utomton M ccpts th mpty string (i.., L(M)) if nd only if its initil stt is finl

More information

Problem solving by search

Problem solving by search Prolm solving y srh Tomáš voo Dprtmnt o Cyrntis, Vision or Roots n Autonomous ystms Mrh 5, 208 / 3 Outlin rh prolm. tt sp grphs. rh trs. trtgis, whih tr rnhs to hoos? trtgy/algorithm proprtis? Progrmming

More information

Design Optimization Based on Diagnosis Techniques

Design Optimization Based on Diagnosis Techniques Dsign Optimiztion Bs on Dignosis Thniqus Anrs Vnris Mgy S. Air Irhim N. Hjj Univrsity of Toronto Motorol Univrsity of Illinois ECE Dprtmnt 77 W. Prmr ECE Dprtmnt n CSL Toronto, ON M5S 34 Austin, T 78729

More information

New challenges on Independent Gate FinFET Transistor Network Generation

New challenges on Independent Gate FinFET Transistor Network Generation Nw hllngs on Inpnnt Gt FinFET Trnsistor Ntwork Gnrtion Viniius N. Possni, Anré I. Ris, Rnto P. Ris, Flip S. Mrqus, Lomr S. Ros Junior Thnology Dvlopmnt Cntr, Frl Univrsity o Plots, Plots, Brzil Institut

More information

Section 3: Antiderivatives of Formulas

Section 3: Antiderivatives of Formulas Chptr Th Intgrl Appli Clculus 96 Sction : Antirivtivs of Formuls Now w cn put th is of rs n ntirivtivs togthr to gt wy of vluting finit intgrls tht is ct n oftn sy. To vlut finit intgrl f(t) t, w cn fin

More information

EE1000 Project 4 Digital Volt Meter

EE1000 Project 4 Digital Volt Meter Ovrviw EE1000 Projt 4 Diitl Volt Mtr In this projt, w mk vi tht n msur volts in th rn o 0 to 4 Volts with on iit o ury. Th input is n nlo volt n th output is sinl 7-smnt iit tht tlls us wht tht input s

More information

Analysis for Balloon Modeling Structure based on Graph Theory

Analysis for Balloon Modeling Structure based on Graph Theory Anlysis for lloon Moling Strutur bs on Grph Thory Abstrt Mshiro Ur* Msshi Ym** Mmoru no** Shiny Miyzki** Tkmi Ysu* *Grut Shool of Informtion Sin, Ngoy Univrsity **Shool of Informtion Sin n Thnology, hukyo

More information

Automatic synthesis and optimization of partially specified asynchronous systems

Automatic synthesis and optimization of partially specified asynchronous systems Automti synthsis n optimiztion of prtilly spifi synhnous systms Alx Konrtyv Jo ortll Mihl Kishinvsky Luino Lvgno Alxnr Ykovlv Univ. of Aizu Univ. Potèni Intl orp. Univ. of Uin Univ. of Nwstl Jpn tluny,

More information

Computational Biology, Phylogenetic Trees. Consensus methods

Computational Biology, Phylogenetic Trees. Consensus methods Computtionl Biology, Phylognti Trs Consnsus mthos Asgr Bruun & Bo Simonsn Th 16th of Jnury 2008 Dprtmnt of Computr Sin Th univrsity of Copnhgn 0 Motivtion Givn olltion of Trs Τ = { T 0,..., T n } W wnt

More information

a b v a v b v c v = a d + bd +c d +ae r = p + a 0 s = r + b 0 4 ac + ad + bc + bd + e 5 = a + b = q 0 c + qc 0 + qc (a) s v (b)

a b v a v b v c v = a d + bd +c d +ae r = p + a 0 s = r + b 0 4 ac + ad + bc + bd + e 5 = a + b = q 0 c + qc 0 + qc (a) s v (b) Outlin MULTIPLE-LEVEL LOGIC OPTIMIZATION Gionni D Mihli Stnfor Unirsit Rprsnttions. Tonom of optimition mthos: { Gols: r/l. { Algorithms: lgri/booln. { Rul-s mthos. Empls of trnsformtions. Booln n lgri

More information

# 1 ' 10 ' 100. Decimal point = 4 hundred. = 6 tens (or sixty) = 5 ones (or five) = 2 tenths. = 7 hundredths.

# 1 ' 10 ' 100. Decimal point = 4 hundred. = 6 tens (or sixty) = 5 ones (or five) = 2 tenths. = 7 hundredths. How os it work? Pl vlu o imls rprsnt prts o whol numr or ojt # 0 000 Tns o thousns # 000 # 00 Thousns Hunrs Tns Ons # 0 Diml point st iml pl: ' 0 # 0 on tnth n iml pl: ' 0 # 00 on hunrth r iml pl: ' 0

More information

1. Determine whether or not the following binary relations are equivalence relations. Be sure to justify your answers.

1. Determine whether or not the following binary relations are equivalence relations. Be sure to justify your answers. Mth 0 Exm - Prti Prolm Solutions. Dtrmin whthr or not th ollowing inry rltions r quivln rltions. B sur to justiy your nswrs. () {(0,0),(0,),(0,),(,),(,),(,),(,),(,0),(,),(,),(,0),(,),(.)} on th st A =

More information

S i m p l i f y i n g A l g e b r a SIMPLIFYING ALGEBRA.

S i m p l i f y i n g A l g e b r a SIMPLIFYING ALGEBRA. S i m p l i y i n g A l g r SIMPLIFYING ALGEBRA www.mthltis.o.nz Simpliying SIMPLIFYING Algr ALGEBRA Algr is mthmtis with mor thn just numrs. Numrs hv ix vlu, ut lgr introus vrils whos vlus n hng. Ths

More information

Using the Printable Sticker Function. Using the Edit Screen. Computer. Tablet. ScanNCutCanvas

Using the Printable Sticker Function. Using the Edit Screen. Computer. Tablet. ScanNCutCanvas SnNCutCnvs Using th Printl Stikr Funtion On-o--kin stikrs n sily rt y using your inkjt printr n th Dirt Cut untion o th SnNCut mhin. For inormtion on si oprtions o th SnNCutCnvs, rr to th Hlp. To viw th

More information

ECE 407 Computer Aided Design for Electronic Systems. Circuit Modeling and Basic Graph Concepts/Algorithms. Instructor: Maria K. Michael.

ECE 407 Computer Aided Design for Electronic Systems. Circuit Modeling and Basic Graph Concepts/Algorithms. Instructor: Maria K. Michael. 0 Computr i Dsign or Eltroni Systms Ciruit Moling n si Grph Conptslgorithms Instrutor: Mri K. Mihl MKM - Ovrviw hviorl vs. Struturl mols Extrnl vs. Intrnl rprsnttions Funtionl moling t Logi lvl Struturl

More information

The Plan. Honey, I Shrunk the Data. Why Compress. Data Compression Concepts. Braille Example. Braille. x y xˆ

The Plan. Honey, I Shrunk the Data. Why Compress. Data Compression Concepts. Braille Example. Braille. x y xˆ h ln ony, hrunk th t ihr nr omputr in n nginring nivrsity of shington t omprssion onpts ossy t omprssion osslss t omprssion rfix os uffmn os th y 24 2 t omprssion onpts originl omprss o x y xˆ nor or omprss

More information

5/7/13. Part 10. Graphs. Theorem Theorem Graphs Describing Precedence. Outline. Theorem 10-1: The Handshaking Theorem

5/7/13. Part 10. Graphs. Theorem Theorem Graphs Describing Precedence. Outline. Theorem 10-1: The Handshaking Theorem Thorm 10-1: Th Hnshkin Thorm Lt G=(V,E) n unirt rph. Thn Prt 10. Grphs CS 200 Alorithms n Dt Struturs v V (v) = 2 E How mny s r thr in rph with 10 vrtis h of r six? 10 * 6 /2= 30 1 Thorm 10-2 An unirt

More information

MAT3707. Tutorial letter 201/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/201/1/2017

MAT3707. Tutorial letter 201/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/201/1/2017 MAT3707/201/1/2017 Tutoril lttr 201/1/2017 DISCRETE MATHEMATICS: COMBINATORICS MAT3707 Smstr 1 Dprtmnt o Mtmtil Sins SOLUTIONS TO ASSIGNMENT 01 BARCODE Din tomorrow. univrsity o sout ri SOLUTIONS TO ASSIGNMENT

More information

In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions.

In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. Crystl Rports for Visul Stuio.NET In orr to lrn whih qustions hv n nswr orrtly: 1. Print ths pgs. 2. Answr th qustions. 3. Sn this ssssmnt with th nswrs vi:. FAX to (212) 967-3498. Or. Mil th nswrs to

More information

A comparison of routing sets for robust network design

A comparison of routing sets for robust network design A omprison of routing sts for roust ntwork sign Mihl Poss Astrt Dsigning ntwork l to rout st of non-simultnous mn vtors is n importnt prolm rising in tlommunitions. Th prolm n sn two-stg roust progrm whr

More information

Multipoint Alternate Marking method for passive and hybrid performance monitoring

Multipoint Alternate Marking method for passive and hybrid performance monitoring Multipoint Altrnt Mrkin mtho or pssiv n hyri prormn monitorin rt-iool-ippm-multipoint-lt-mrk-00 Pru, Jul 2017, IETF 99 Giuspp Fiool (Tlom Itli) Muro Coilio (Tlom Itli) Amo Spio (Politnio i Torino) Riro

More information

Chapter 9. Graphs. 9.1 Graphs

Chapter 9. Graphs. 9.1 Graphs Chptr 9 Grphs Grphs r vry gnrl lss of ojt, us to formliz wi vrity of prtil prolms in omputr sin. In this hptr, w ll s th sis of (finit) unirt grphs, inluing grph isomorphism, onntivity, n grph oloring.

More information

Page 1. Question 19.1b Electric Charge II Question 19.2a Conductors I. ConcepTest Clicker Questions Chapter 19. Physics, 4 th Edition James S.

Page 1. Question 19.1b Electric Charge II Question 19.2a Conductors I. ConcepTest Clicker Questions Chapter 19. Physics, 4 th Edition James S. ConTst Clikr ustions Chtr 19 Physis, 4 th Eition Jms S. Wlkr ustion 19.1 Two hrg blls r rlling h othr s thy hng from th iling. Wht n you sy bout thir hrgs? Eltri Chrg I on is ositiv, th othr is ngtiv both

More information

Expert System. Knowledge-Based Systems. Page 1. Development of KB Systems. Knowledge base. Expert system = Structured computer program

Expert System. Knowledge-Based Systems. Page 1. Development of KB Systems. Knowledge base. Expert system = Structured computer program Knowlg-Bs Systms Exprt Systm Anrw Kusik 2139 Smns Cntr Iow City, Iow 52242-1527 nrw-kusik@uiow.u http://www.in.uiow.u/~nkusik Tl: 319-335 5934 Fx: 319-335 5669 Knowlg s Infrn Engin Dt Exprt systm = Strutur

More information

Announcements. These are Graphs. This is not a Graph. Graph Definitions. Applications of Graphs. Graphs & Graph Algorithms

Announcements. These are Graphs. This is not a Graph. Graph Definitions. Applications of Graphs. Graphs & Graph Algorithms Grphs & Grph Algorithms Ltur CS Fll 5 Announmnts Upoming tlk h Mny Crrs o Computr Sintist Or how Computr Sin gr mpowrs you to o muh mor thn o Dn Huttnlohr, Prossor in th Dprtmnt o Computr Sin n Johnson

More information

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms

learning objectives learn what graphs are in mathematical terms learn how to represent graphs in computers learn about typical graph algorithms rp loritms lrnin ojtivs loritms your sotwr systm sotwr rwr lrn wt rps r in mtmtil trms lrn ow to rprsnt rps in omputrs lrn out typil rp loritms wy rps? intuitivly, rp is orm y vrtis n s twn vrtis rps r

More information

arxiv: v1 [cs.ds] 20 Feb 2008

arxiv: v1 [cs.ds] 20 Feb 2008 Symposium on Thortil Aspts of Computr Sin 2008 (Borux), pp. 361-372 www.sts-onf.org rxiv:0802.2867v1 [s.ds] 20 F 2008 FIXED PARAMETER POLYNOMIAL TIME ALGORITHMS FOR MAXIMUM AGREEMENT AND COMPATIBLE SUPERTREES

More information

FSA. CmSc 365 Theory of Computation. Finite State Automata and Regular Expressions (Chapter 2, Section 2.3) ALPHABET operations: U, concatenation, *

FSA. CmSc 365 Theory of Computation. Finite State Automata and Regular Expressions (Chapter 2, Section 2.3) ALPHABET operations: U, concatenation, * CmSc 365 Thory of Computtion Finit Stt Automt nd Rgulr Exprssions (Chptr 2, Sction 2.3) ALPHABET oprtions: U, conctntion, * otin otin Strings Form Rgulr xprssions dscri Closd undr U, conctntion nd * (if

More information

Exact Template Matching Using Boolean Satisfiability

Exact Template Matching Using Boolean Satisfiability 2013 IEEE 43r Intrntionl Symposium on Multipl-Vlu Logi Ext Tmplt Mthing Using Booln Stisfiility Nil Assi Mthis Sokn Rort Will Rolf Drhslr Institut of Computr Sin, Univrsity of Brmn, 28359 Brmn, Grmny Cyr-Physil

More information

Reducing the Depth of Quantum Circuits Using Additional Circuit Lines

Reducing the Depth of Quantum Circuits Using Additional Circuit Lines Ruing th Dpth of Quntum Ciruits Using Aitionl Ciruit Lins Nil Assi 1, Rort Will 1,2, Mthis Sokn 1,2, n Rolf Drhslr 1,2 1 Institut of Computr Sin, Univrsity of Brmn Group of Computr Arhittur, D-28359 Brmn,

More information

Efficient Broadcast in MANETs Using Network Coding and Directional Antennas

Efficient Broadcast in MANETs Using Network Coding and Directional Antennas Effiint Brost in MANETs Using Ntwork Coing n Dirtionl Antnns Shuhui Yng Dprtmnt of Computr Sin Rnsslr Polythni Institut Troy, NY 28 Ji Wu n Mihl Cri Dprtmnt of Computr Sin n Enginring Flori Atlnti Univrsity

More information

Properties of Hexagonal Tile local and XYZ-local Series

Properties of Hexagonal Tile local and XYZ-local Series 1 Proprtis o Hxgonl Til lol n XYZ-lol Sris Jy Arhm 1, Anith P. 2, Drsnmik K. S. 3 1 Dprtmnt o Bsi Sin n Humnitis, Rjgiri Shool o Enginring n, Thnology, Kkkn, Ernkulm, Krl, Ini. jyjos1977@gmil.om 2 Dprtmnt

More information

temporally share the same FPGA Large circuit PI s micro-cycle one user cycle PO s

temporally share the same FPGA Large circuit PI s micro-cycle one user cycle PO s Ciruit Prtitioning for Dynmilly Rongurl FPGAs Huiqun Liu n D. F. Wong Dprtmnt of Computr Sins Unirsity of Txs t Austin Austin, T 787 Emil: fhqliu, wongg@s.utxs.u Astrt Dynmilly rongurl FPGAs h th potntil

More information

This chapter covers special properties of planar graphs.

This chapter covers special properties of planar graphs. Chptr 21 Plnr Grphs This hptr ovrs spil proprtis of plnr grphs. 21.1 Plnr grphs A plnr grph is grph whih n b rwn in th pln without ny gs rossing. Som piturs of plnr grph might hv rossing gs, but it s possibl

More information

Graph-Based Workflow Recommendation: On Improving Business Process Modeling

Graph-Based Workflow Recommendation: On Improving Business Process Modeling Grph-Bs Workflow ommntion: On Improving Businss Pross Moling Bin Co Collg of Computr Sin Zhjing Univrsity Hngzhou Chin 37 oin@zju.u.n Dongjing Wng Collg of Computr Sin Zhjing Univrsity Hngzhou Chin 37

More information

Fundamental Algorithms for System Modeling, Analysis, and Optimization

Fundamental Algorithms for System Modeling, Analysis, and Optimization Fundmntl Algorithms for Sstm Modling, Anlsis, nd Optimiztion Edwrd A. L, Jijt Rohowdhur, Snjit A. Sshi UC Brkl EECS 144/244 Fll 2011 Copright 2010-11, E. A. L, J. Rohowdhur, S. A. Sshi, All rights rsrvd

More information

Formal Concept Analysis

Formal Concept Analysis Forml Conpt Anlysis Conpt intnts s losd sts Closur Systms nd Implitions 4 Closur Systms 0.06.005 Nxt-Closur ws dvlopd y B. Gntr (984). Lt M = {,..., n}. A M is ltilly smllr thn B M, if B A if th smllst

More information

More Foundations. Undirected Graphs. Degree. A Theorem. Graphs, Products, & Relations

More Foundations. Undirected Graphs. Degree. A Theorem. Graphs, Products, & Relations Mr Funtins Grphs, Pruts, & Rltins Unirt Grphs An unirt grph is pir f 1. A st f ns 2. A st f gs (whr n g is st f tw ns*) Friy, Sptmr 2, 2011 Ring: Sipsr 0.2 ginning f 0.4; Stughtn 1.1.5 ({,,,,}, {{,}, {,},

More information

Synthesizing Petri Nets from State-Based Models

Synthesizing Petri Nets from State-Based Models Synthsizing Ptri Nts rom Stt-Bs Mols Jori Cortll Univ. Politèni Ctluny, 08071 Brlon, Spin Mihl Kishinvsky y Th Univrsity o Aizu Aizu-Wkmtsu, 965-80 Jpn Luino Lvgno z Politnio i Torino 10129 Torino, Itly

More information