An Effective Heuristic for Simple Offset Assignment with Variable Coalescing

Size: px
Start display at page:

Download "An Effective Heuristic for Simple Offset Assignment with Variable Coalescing"

Transcription

1 An Etiv Huristi or Simpl Ost Assinmnt with Vribl Colsin Hssn Slmy n J. Rmnujm Dprtmnt o Eltril n Computr Eninrin n Cntr or Computtion n Thnoloy Louisin Stt Univrsity, Bton Rou, LA 7080, USA {hslm,jxr}@.lsu.u Abstrt. In mny Diitl Sinl Prossors (DSPs) with limit mmory, prorms r lo in th ROM n thus it is vry importnt to optimiz th siz o th o to ru th mmory rquirmnt. Mny DSP prossors inlu rss nrtion units (AGUs) tht n prorm rss rithmti (uto-inrmnt n uto-rmnt) in prlll to instrution xution, n without th n or xtr instrutions. Muh rsrh hs bn onut to optimiz th lyout o th vribls in mmory to t th most bnit rom uto-inrmnt n utormnt. Th simpl ost ssinmnt (SOA) problm onrns th lyout o vribls or mhins with on rss ristr n th nrl ost ssinmnt (GOA) ls with multipl rss ristrs. Both ths problms ssum tht h vribl ns to b llot or th ntir urtion o prorm. Both SOA n GOA r NP-omplt. In this ppr, w prsnt huristi or SOA tht onsirs olsin two or mor non-intrrin vribls into th sm mmory lotion. SOA with vribl olsin is intn to rs th ost o rss rithmti instrutions s wll s to rs th mmory rquirmnt or vribls by mximizin th numbr o vribls mpp to th sm mmory slot. Rsults on svrl bnhmrks show th siniint improvmnt o our solution ompr to othr huristis. In ition, w hv pt simult nnlin to urthr improv th solution rom our huristi. Introution Emb prossors r oun in mny ltroni vis suh s tlphons, mrs, n lultors. Du to th tiht onstrints on th sin o mb systms, mmory is usully limit. In ontrst, th mmory rquirmnt or th xution o iitl sinl prossin n vio prossin os on n mb systm is siniint. Morovr, sin th prorm o rsis in th on-hip ROM, th siz o th o irtly trnslts into silion. So o minimiztion boms substntil ol in orr to optimiz th mount o mmory n. Mny Diitl Sinl Prossors (DSPs) suh s th TI Cx/C5x, Motorol 56xxx, Anlo Dvis 0x n ST D950 hv rss nrtion units (AGUs) [5]. Th AGU is rsponsibl or lultin th tiv rss. A typil AGU

2 Hssn Slmy n J. Rmnujm onsists o n rss ristr il n moiy ristr il s shown in Fiur. Th rhitturs o suh DSPs support only inirt mmory rssin. Sin th bs-plus-ost rssin mo is not support, n xtr instrution is n, in nrl, to (subtrt) n ost to (rom) th urrnt rss in th rss ristr to omput th nw rss. Howvr, suh rhitturs support uto-inrmnt n uto-rmnt o th rss ristr. Whn thr is n to n ost o or subtrt n ost o rom th urrnt rss, this n b on in prlll with th sm LOAD/STORE instrution usin uto-inrmnt or uto-rmnt; n this os not rquir n xtr rss rithmti instrution in th o. Exploitin this hrtristi will l to o omption n thus lss mmory us sin th lnth o th o in DSP irtly trnslts into rquir silion r. On mtho or minimizin th instrutions n or rss omputtion is to prorm o st ssinmnt o th vribls. Ost ssinmnt rrs to th problm o plin th vribls in th mmory to mximlly utiliz uto-inrmnt/rmnt n thus ru o siz. AR pointr Immit Constnt MR pointr q r = Arss Ristr Fil +/- Moiy Ristr Fil Etiv Arss Fi.. A typil Arss Gnrtion Unit (AGU) ontins moiy ristr il, rss ristr il n ALU Simpl ost ssinmnt (SOA) rrs to th s whr thr is only on rss ristr (AR), whrs nrl ost ssinmnt (GOA) rrs to th s whr thr r multipl rss ristrs []. In both SOA n GOA onsir in this ppr, th vlu o uto-inrmnt/rmnt is ; SOA n GOA r NP-omplt []. Svrl rsrhrs hv stui th ost ssinmnt problm n hv propos irnt huristis. In this ppr, w prsnt n tiv huristi or th simpl ost ssinmnt problm with vribl olsin. Colsin llows two or mor vribls to shr th sm mmory lotion provi tht thir liv rns o not ovr-

3 An Etiv Huristi or Simpl Ost Assinmnt lp. Bs on th liv rns o ll th vribls, n intrrn rph (IG) is onstrut in whih n (, b) inits tht vribls n b intrr n thus thy n not b mpp into th sm mmory lotion. Vribl olsin improvs th rsults by rsin th numbr o rss rithmti instrutions n s wll s th mmory rquirmnt or storin th vribls. Th rminr o th ppr is orniz s ollows. Stion prsnts rlt work in this r. Stion prsnts our lorithm or simpl ost ssinmnt with vribl olsin. Stion 4 ivs n xmpl tht shows how our lorithm works. Stion 5 prsnts th simult nnlin lorithm to urthr improv th rsults. Stion 6 summrizs th rsults. Finlly Stion 7 prsnts our onlusions. Rlt Work Th problm o simpl ost ssinmnt ws irst isuss by Brtly []. Thn Lio t l. [] show tht th SOA problm is NP-omplt n tht it is quivlnt to th Mximum Wiht Pth Covr (MWPC) problm. Thy propos huristis or both SOA n GOA. Givn n ss squn o th vribls, th ss rph hs no or h vribl with n o wiht w btwn nos n b mnin tht vribls n b ppr onsutivly w tims in th ss squn.in this ry huristi, s r slt in rsin orr o thir wihts provi tht hoosin n os not introu yl n it os not rsult in no o r mor thn two. Finlly, th ss rph onsirin only th slt s will trmin th plmnt o th vribls in th mmory. On possibl rsult o pplyin Lio s huristi to th ss squn in Fiur () is shown in Fiur (), whr th bol s r th slt s n th inl ost ssinmnt is [b]. Th ost o solution is th sum o th wihts o ll unslt s (i.., non-bol s). For th xmpl in Fiur (), th ost is whih rprsnts th non-bol tht rrs to th on rss rithmti oprtion n to o rom to in th ss squn sin vribls n r mpp to non-onsutiv mmory lotions. Luprs n Mrwl [9] xtn Lio s work by proposin ti-brk huristi or th SOA problm. Lio t l. i not stt wht hppns i two s hv qul wiht. Luprs n Mrwl us th ollowin ti-brk untion: i two s hv th sm wiht, thy pik th with th smllr vlu o th ti-brk untion T (, b) in or n (, b) s in qution 5. Atri t l. [] solv th SOA problm usin n inrmntl pproh. Thy tri to ovrom som o th problms with Lio s lorithm, minly in th s o qul wiht s s wll s th ry pproh o lwys sltin th mximum wiht s. Strtin with n initil ost ssinmnt (whih oul b th rsult o ny SOA huristi), thir inrmntl-soa tris to xplor mor points in th solution sp by onsirin th t o sltin urrntly unslt s.

4 4 Hssn Slmy n J. Rmnujm Luprs [7] ompr svrl lorithms or simpl ost ssinmnt. Ottoni t l. [] stui th simpl ost ssinmnt problm with vribl olsin (CSOA). Thir lorithm uss livnss inormtion to onstrut th intrrn rph. In th intrrn rph, th nos rprsnt vribls n n btwn two vribls mns tht thy intrr n thus thy n not b ols. Th uthors us th SOA huristi propos by Lio t l. [] nhn with th ti brk in [9], with th irn tht t h stp th lorithm hooss btwn (i) olsin two vribls; n (ii) sltin th with th mximum wiht s in Lio s lorithm. Thir lorithm ins th pir o nos tht n b ols with mximum sv whr sv rprsnts th tul svin rom olsin this pir o nos. At th sm tim, it ins th with th mximum wiht w tht n b slt usin Lio s lorithm. I thr r nits or both olsin n sltion, thn it will us olsin i sv is lrr thn w, othrwis us sltion. ()Th ss squn: b b b b (b) b () Fi.. () Ass squn. (b) Ass rph orrsponin to th ss squn. () Ost ssinmnt whr bol s rprsnt th slt s n th ost o suh ssinmnt is. In [], th uthors stui th ss o SOA with vribl olsin t th sm tim s []. Thir olsin lorithm irst sprts vlus into tomi units ll wbs by pplyin vribl rnmin. Thir propos huristi strts by pplyin pr-itrtion olsin ruls. Thn th lorithm piks th two vribls (i.., nos) with mximum svin or olsin provi tht thy rspt th vliity onitions. I th svin is positiv, thn th two nos r ols. Lio s SOA will thn b ppli to th nw ss rph. This pross will ontinu s lon s thr r two vribls tht n b ols. Svrl

5 An Etiv Huristi or Simpl Ost Assinmnt 5 othrs [0], [5], [6], [7], [9], [0] hv rss problms rlt to ost ssinmnt. CSOA: Ost ssinmnt with vribl olsin In simpl ost ssinmnt (SOA), h mmory lotion or slot is ssin only on vribl. Simpl ost ssinmnt with vribl olsin (CSOA) rrs to th s whr mor thn on vribl n b mpp into th sm mmory lotion. Vribl olsin is intn to rs th mmory rquirmnt by urthr rsin th numbr o rss rithmti instrutions s wll s by rsin th mmory rquirmnts or storin th vribls. Two vribls n b ols i thir liv rns o not ovrlp t ny tim whih mns tht t ny tim, thos two vribls r not n to b simultnously liv. In CSOA, n intrrn rph (IG) is onstrut by xminin th liv rns o ll th vribls. Eh no in th rph rprsnts vribl, n n btwn two nos mns thy intrr n thus thy nnot b ols. Two vribls n b ols i thy mt ll th ollowin onitions: th two vribls o not intrr; tr olsin, no no in th ss rph hs mor thn two slt s inint t it; (n) th rsultin ss rph is still yli onsirin only th slt s. So inst o lwys sltin n s in SOA, CSOA n ithr slt n or ols two vribls tht mt th thr onitions list bov. Our lorithm prsnt in Fiur intrts both sltion n olsin options in wy to minimiz th totl ost, whih is rprsnt by th numbr o rss rithmti instrutions, s wll s to rs th mmory rquirmnt or storin th vribls in mmory. Th lorithm tks s n input, th intrrn rph (IG) n th ss squn, n outputs th mppin o th vribls to mmory lotions possibly with olsin. From th ss squn, it onstruts th ss rph (AG) whih pturs th rquny o onsutiv ourrn o ny two vribls in th ss squn. Thn it sorts th s whos n-point vrtis intrr in rsin orr o thir wihts s ui or sltion. Sin on o th purposs o th huristi is to rs th mmory rquirmnt or storin th vribls, n (, b) suh tht (, b) / IG will not b onsir or sltion. Suh n will b nit or olsin whih mns tht wr s will b onsir or sltion n thus mor vribls will probbly b ols. Not tht th sltion o n my prvnt vribl olsin opportunitis in th utur. So only thos s whos npoints intrr will b onsir s nits or sltion in h itrtion o th lorithm. Any two vribls tht o not intrr r onsir s nits or olsin. In h itrtion, ll pirs o vribls tht mt th thr onitions or vribl olsin (mntion rlir) r nits or olsin. W in

6 6 Hssn Slmy n J. Rmnujm th ollowin vlus: Atul Gin(, b) Gin(, b) = P ossibl Loss(, b) Atul Gin(, b) = W (, b) + W (, x) + P ossibl Loss(, b) = + + x Aj() Aj(b) (b,x) Slt E (,x) / Slt Es y Aj() Aj(b) (b,y) / Slt Es (,y) Slt Es (,x) / IG,(b,x) IG (b,x) / Slt Es (b,y) / IG,(,y) IG (,y) / Slt Es () W (b, y) () (, x) (b, y) () A Gin vlu or h o ths nit pirs is lult tht pturs th bnit o olsin s wll s th possibl loss o utur opportunitis or olsin. Th vlu Gin(, b) is in s th tul svin tht rsults rom olsin vribls n b ivi by th possibl loss o utur olsin opportunitis u to olsin n b. Whn vribls n b r ols, ll s inint t n b o th orm (, x) n (b, x) will b mr, n i (, b) xists, it will b lt. Whn s (, x) n (b, x) r mr into (b, x), i t lst on o th s ws lry slt, thn (b, x) is lso onsir to b slt. Th vlu Gin(, b) is in s shown in Eqution n th vlu Atul Gin(, b) is in in Eqution. Th vlu Atul Gin(, b) is bsilly th sum o th wihts o th s inint t or b tht wr not slt bor n bm slt tr bin mr with slt plus th wiht o th (, b). Th vlu P ossibl Loss(, b) is in in Eqution s th sum o th s (, x) suh tht (, x) / IG, (b, x) is not slt, n (b, x) IG plus th sum o th s (b, y) suh tht (b, y)/ IG, (, y) is not slt, n (, y) IG. As pit in qution, P ossibl Loss(, b) onsirs only vrtis tht r nihbors to or b. Althouh othr initions o th loss n b us, w oun tht our inition pturs th possibl t o olsin on solutions tht n b onstrut. Evn thouh olsin involvs vrtis n not s, usin th numbr o s s th ssn or th loss in Eqution ls to bttr rsults. Th rtionl bhin this is tht n whos orrsponin vrtis intrr will probbly n up s slt n thus it my prvnt som olsin opportunitis n s rsult it my r th qulity o th inl solution. It is worth notin tht lthouh our huristi intrts both sltion n olsin, it ivs priority to olsin, whih n b lrly u rom th

7 An Etiv Huristi or Simpl Ost Assinmnt 7 inition o loss. W bliv this is on o th min rsons or our improvmnts in trms o th ost s wll s th mmory rquirmnt or storin th vribls. W ivi th vlu Atul Gin(, b) with th vlu P ossibl Loss(, b) to ount or th numbr o s whos orrsponin vribls wr intrrnr n now intrr s rsult rom olsin n b. Th rson bhin this is tht olsin two vribls with lr P ossibl Loss vlu my prvnt som utur olsin opportunitis n thus my prvnt hivin smllr ost ompr to olsin two vribls with smllr P ossibl Loss vlu. Amon ll th pirs tht r nits or olsin, our lorithm piks th pir with th mximum Gin. I th lorithm is bl to in pir or olsin s wll s n or sltion, thn it will ols i th Atul Gin rom olsin is rtr thn or qul to th wiht o th onsir or sltion; othrwis, it will slt th. On wy our huristi ttmpts to mximiz th numbr o vribls mpp to h mmory lotion is to llow th olsin o pirs o vribls with zro Gin vlu (i possibl) tr no mor vribls with positiv Gin n b ols. Colsin vribls without oo ui my prvnt possibl improvmnts ovr th stnr SOA solution. Consir th xmpl in Fiur 4. Fiur 4(b) shows Lio s ry solution. Th ost o this ost ssinmnt is 4. Fiur 4() shows th solution usin th lorithm in [] whos ost is lso 4. Althouh thr is potntil or improvmnt throuh vribl olsin, th lorithm in [] ils to ptur th improvmnt ovr Lio s solution. This is bus th lorithm in [] irst hooss to ols vrtis b n sin thy hv th mximum sv. Howvr, this hoi will prvnt ny utur olsin opportunitis. Our lorithm llvits this shortomin by lultin th P ossibl Loss(b, ) = 5 n thus Gin(b, ) = /5. So our lorithm irst piks n b or olsin sin Gin(, b) = ; (b, ) will not b onsir or sltion sin b n o not intrr. Th ost o th inl solution o our lorithm is zro, s shown in Fiur 4(). For sltion, w us two ti brk untions T n T in blow, T (, b) = r() + r(b) (4) T (, b) = W (, x) + W (b, y) (5) x Aj() y Aj(b) whr T (, b) is th sum o th r o n r o b in th ss rph. T (, b) is th Luprs ti brk untion in s th sum o th wihts o th s tht r inint t plus th sum o th wihts o th s tht r inint t b. I two s tht r nits or sltion hv th sm wiht thn w try to ti brk usin th untion T ; i T nnot brk th ti, w us T. An with smllr T or T will win th ti. I two pirs o vribls (, b) n (, ) tht r nits or olsin r suh tht Gin(, b)= Gin(, ), thn w irst try to brk th ti usin T 0 whih is th Atul Gin suh tht w hoos th pir with th bir Atul Gin. I both nit pirs hv th sm tul in, thn w ti brk usin T ollow by T, i n.

8 8 Hssn Slmy n J. Rmnujm - Colsn SOA Alorithm Input: th Ass squn. th Intrrn rph IG. Output: Ost ssinmnt. Buil th ss rph (AG) rom th ss squn. L = list o s (x,y) suh tht (x,y) IG in rsin orr o thir wihts usin T thn T or ti brk. Cols = ls. Slt = ls. Do Fin pir o nos (,b) or olsin tht stisy:. (, b) / IG.. AG will still b yli tr n b r ols onsirin slt s.. No no will n up with r > onsirin slt s. 4. (,b) hs mx Gin whr Gin is lult s in qution (). whr T 0, T, n T r th thr ti brk untions us in tht orr. I suh pir o nos is oun, thn Cols = tru. Amon th s tht blon to L pik th irst (,) suh tht:. Sltin (,) will not rsult in yli AG onsirin slt s.. Sltin (,) will not rsult in no with r > onsirin slt s. I suh n is oun, thn Slt = tru; rmov (,) rom L. I (Cols && Slt) I (Atul Gin(, b) = Wiht(, )) Upt ss rph AG with (, b) ols. Upt intrrn rph IG with (, b) ols. Upt list L Els Slt (,) Els i (Cols) Upt ss rph AG with (,b) ols Upt intrrn rph IG with (,b) ols Upt list L Els i (Slt) Slt (,) Whil (Cols Slt) Rturn ost ssinmnt Fi.. Our lorithm or Simpl Ost Assinmnt with vribl olsin.

9 An Etiv Huristi or Simpl Ost Assinmnt 9 b b () (b),b,,b,, () () Fi. 4. () Intrrn Grph. (b) Lio s SOA ry solution whr th ost = 4. ()Th solution rom th lorithm in [] o ost 4 whr it ils to ptur th potntil improvmnts rom olsin. () Th optiml solution rom our lorithm with ost = 0. 4 An Exmpl For th sk o lrity, onsir th xmpl in Fiur 5 whr Fiur 5() shows th intrrn rph (IG) n Fiur 5(b) shows th oriinl ss rph (AG). Fiurs 5()-(h) show how th ss rph is upt whn our huristi is ppli to this xmpl. Althouh not shown, whnvr two nos r ols, th intrrn rph (IG) will b upt to rlt th olsin o th nos s wll s to upt th intrrn s orinly. Tbl shows th stp-by-stp xution o our lorithm n th ritri us or hoosin th nits or sltion n or olsin. Not tht in Tbl w o not show olsin nits with zro Gin. Fiur 5(i) shows th inl solution with zro ost. I w run th lorithm in [] on th sm xmpl prsnt in Fiur 5, th ost o possibl inl solution (whih is shown in Fiur 6) is 4. 5 Simult Annlin Sin th ost ssinmnt problm is NP omplt, th huristi prsnt in Stion will vry likly prou suboptiml solution. So in orr to urthr improv th rsults, w us simult nnlin pproh. Simult Annlin (SA) [] is lobl stohsti mtho tht is us to nrt pproximt solutions to vry lr ombintoril problms. Th thniqu oriints rom th thory o sttistil mhnis, n is bs on th nloy btwn th

10 0 Hssn Slmy n J. Rmnujm b b,b () (b) (),b,b,b,, (),b () (),,b,, () (h) (i) Fi. 5. () Th Intrrn Grph. (b) Oriinl Ass Grph. ()-(h) Th ss rphs tr h itrtion o our lorithm. (i) Th inl ost ssinmnt, whih inurs zro ost.,b,,b, Fi. 6. On possibl inl solution or th xmpl shown in Fiur 5 usin th lorithm in []

11 An Etiv Huristi or Simpl Ost Assinmnt Tbl. A stp by stp run o our lorithm on th xmpl in Fiur 5 Itrtion Cols Cnit Sltion Dision vrtis AtulGin PossiblLoss Gin Wiht,b Cols(,b) b, 4 /4 (b,) Ti-brk T 0, / (,),, /, (b,), (b,) Slt (b,), (,),, (b,) Cols (,), (,) Ti-brk T 0, / (b,) Slt (b,) 4, (,) Ti-brk T (,) 5, (,) Slt (,) (,) 6, (,) Cols (,) nnlin pross o solis n th solution prour or lr ombintoril optimiztion problms. Th nnlin lorithm bins with n initil sibl oniurtion, n thn nihbor oniurtion is rt by prturbin th urrnt solution. I th ost o th nihborin solution is lss thn tht o th urrnt solution, th nihborin solution is pt; othrwis, it is pt or rjt with som probbility. Th probbility o ptin inrior solutions is untion o prmtr, ll th tmprtur T, n th hn in ost btwn th nihborin solution n th urrnt solution. Th tmprtur is rs urin th optimiztion pross, n th probbility o ptin n inrior solution rss with th rution o th tmprtur vlu. Th st o prmtrs ontrollin th initil tmprtur, stoppin ritrion, tmprtur rmnt btwn sussiv sts, n numbr o itrtions or h tmprtur is ll th oolin shul []. Typilly, t th binnin o th lorithm, th tmprtur T is lr n n inrior solution hs hih probbility o bin pt. Durin this prio, th lorithm. ts s rnom srh to in promisin rion in th solution sp. As th optimiztion prorsss, th tmprtur rss n thr is lowr probbility o ptin n inrior solution. Th lorithm thn bhvs lik own hill lorithm or inin th lol optimum o th urrnt rion. Sin simult nnlin rquirs siniint mount o tim in orr to onvr to oo solution, w i to us th inl solution rom our huristi s th initil solution or SA n thn rn SA or short prio o tim with

12 Hssn Slmy n J. Rmnujm low probbility o ptin b solution. Th nihbor untion n prorm on o th ollowin oprtions: Exhn th ontnt o two mmory lotions. Mov th ontnt o on mmory lotion. Unols ols no into two or mor nos. Cols two mmory lotions. 6 Rsults W implmnt our thniqus in th OstSton toolst [4] n w tst our lorithms on th MiBnh bnhmrks [4]. In Tbl, w ompr our rsults with our irnt thniqus us to solv th SOA problm, minly Luprs ti-brk [9], inrmntl with Luprs ti-brk INC-TB[9][7], Gnti lorithm GA[8], n Ottoni s CSOA []. W msur th prnt o th numbr o rss rithmti instrutions ompr to Lio s lorithm []. Our huristi rstilly rus th ost o simpl ost ssinmnt whn ompr to huristis tht o not llow vribl olsin sin vribl olsin inrss th proximity btwn vribls in mmory, thus it rus th numbr o upt instrutions. Column 6 shows tht our huristi ws bl to outprorm th CSOA huristi [] (rsults o whih r shown in Column 5) in ll th ss xpt or on bnhmrk. This improvmnt is u to th ui us in our hoi btwn nits or olsin whr w not only onsir th tul svin but lso n stimt o th possibl loss in utur olsin opportunitis. Also th i o just onsirin s whos npoints intrr or sltion inrss th opportunity or olsin nos with mximum Gin s in in Eqution. Th bility to ols pns on th slt s n vi-vrs. So n lorithm tht n hoos th riht nits or sltion n olsin, t th riht itrtion n i btwn thm, shoul onsir th inlun o suh ision on utur solutions. This is ount or in our lorithm by inin th possibl loss s ui or th possibl t o olsin on utur solutions. Th thr ti brk untions T 0, T, n T ply rol in hivin th lr improvmnts to th inl solution. W o not show th omprison to th thniqu in [] sin th uthors rport n vr ost rution o.% whn ompr to [9] whih is wors thn th rsults hiv in []. Our simult nnlin (SA) lorithm urthr improv th rsults by srhin th sibl rion or bttr solutions strtin rom th inl solution o our huristi. Rsults in Tbl olumn 6 shows tht th SA urthr improv th rsults in ll th ss in short CPU tim. In Tbl, w show th rution in mmory slots n to stor th vribls usin our lorithm ompr to tht o usin th lorithm prsnt in []. Rsults show tht our lorithm rstilly rus th mmory rquirmnt by mximizin th numbr o vribls tht r ssin to th sm mmory lotion n it outprorms th CSOA lorithm [] in ll th ss.

13 An Etiv Huristi or Simpl Ost Assinmnt Th rson bhin this rution is tht w in th Gin rom olsin in trms o possibl loss in olsin opportunitis s wll s u to th t tht w i not onsir th s (, b) suh tht (, b) / IG s nits or sltion n this will rsult in mor opportunitis or olsin. Howvr, th min rson or this improvmnt is tht our huristi llows zro Gin olsin btwn nos in th inl AG. Tht is, w ols pirs o vrtis (, b) (i possibl) suh tht Gin(, b) = 0. This zro Gin olsin will not ru th ost in trms o th numbr o rss rithmti instrutions but it will ontribut to mximizin th numbr o vribls mpp to mmory lotion. This xplins th hu irn btwn th improvmnts in Tbl n Tbl. Althouh huristi sin just to rs th mmory rquirmnt or storin th vribls n t bttr rsults thn thos in Tbl, it will b trimntl to th qulity o th inl solution in trms o th numbr o rss rithmti instrutions. So our huristi not only rss th ost (whih is in s th rution in th numbr o rss rithmti instrutions), but lso rss th numbr o mmory lotions n to stor th vribls. Tbl. Comprison btwn irnt thniqus or solvin th SOA problm whr olumn shows irnt bnhmrks, olumn shows th rsults by pplyin Lio s + Ti-brk [9], olumn shows th rsults o th GA in [8], olumn 4 shows th rsults i th Ti-brk [9] is ombin with th inrmntl SOA in [], n olumn 5 show th rsults in th s o SOA with vribl olsin [], olumn 6 shows our rsults whn pplyin our lorithm, olumn 7 shows th rsults usin simult nnlin. Bnhmrks TB (%) GA(%) INC-TB(%) CSOA(%) Our lorithm SA [9] [8] [9][7] [] (%) (%) pm pi sm jp mp pwit pp rst Conlusions Th problm o ost ssinmnt hs riv lot o ttntion rom rsrhrs u to its rt impt on o siz rution or DSPs. Ruin th o siz is bniil in th s o DSPs sin th o is irtly trnsorm into silion r. Sttistis show tht os or DSPs n hv up to 50% rss rithmti instrutions [8]. So th min i o th onoin rsrh in this il

14 4 Hssn Slmy n J. Rmnujm Tbl. Th numbr o mmory slots n usin our lorithm to th lorithm prsnt in []. Bnhmrks #Vribls #Mmory slots #Mmory slots [] our lorithm pm pi sm jp mp pwit pp rst is to rs th numbr o rss rithmti instrutions n thus th o siz. Th problm is stui s simpl ost ssinmnt (SOA) n s nrl ost ssinmnt (GOA), whr irnt thniqus n lorithms r us to tkl ths problms with irnt moiitions suh s th inlusion o th moiy-ristrs [9] s wll s th s whr th ost rn is rtr thn. In this ppr w prsnt huristi to solv th simpl ost ssinmnt with vribl olsin tht hooss btwn sltion n olsin in h itrtion by lultin th Atul Gin n P ossibl Loss or h pir o olsin nits. Rsults show tht our lorithm not only rss th numbr o rss rithmti instrutions, but lso rstilly rss th mmory rquirmnt or storin th vribls by mximizin th numbr o vribls tht r mpp to th sm mmory slot. Simult nnlin urthr improv th inl solution rom our huristi. Aknowlmnts. W r inbt to Sm Miki or rul rin o this ppr whih hs rsult in siniint improvmnt in th prsnttion o th ppr. In ition, w thnk th rrs or thir ommnts.w r inbt to Sm Miki or rul rin o this ppr whih hs rsult in siniint improvmnt in th prsnttion o th ppr. In ition, w thnk th rrs or thir ommnts. Rrns. S. Atri, J. Rmnujm, n M. Knmir. Improvin Ost Assinmnt or Emb Prossors. Lnus n Compilrs or Hih-Prormn Computin, S. Miki t l. (s.), Ltur Nots in Computr Sin, Sprinr, 00.. D.H. Brtly. Optimizin Stk Frm Asss or Prossors with Rstrit Arssin Mos. Sotwr-Prti n Exprin, vol., no., pp. 0-, 99.. S. Kirkptrik, C. D. Gltt Jr., n M. P. Vhi. Optimiztion by Simult Annlin. Sin, 0, 4598, , 98.

15 An Etiv Huristi or Simpl Ost Assinmnt 5 4. C. L, M. Potkonjk, n W. Mnion-Smith. Mibnh: A Tool or Evlutin n Synthsizin Multimi n Communitions Systms. In Pro. IEEE Intrntionl Symposium on Mirorhittur, pp. 0-5, R. Luprs. Co Gnrtion or Emb Prossors. In Pro. Intrntionl Systm Synthsis Symposium, R. Luprs. Co Optimiztion Thniqus or Emb Prossors. Kluwr Ami Publishrs, R. Luprs. Ost Assinmnt Showown: Evlution o DSP Arss Co Optimiztion Alorithms. th Intrntionl Conrn on Compilr Constrution (CC), Wrsw (Poln), Apr 00, Sprinr Ltur Nots on Computr Sin, LNCS R. Luprs, F. Dvi. A Uniorm Optimiztion Thniqu or Ost Assinmnt Problms. th Int. Systm Synthsis Symposium (ISSS), R. Luprs, P. Mrwl. Alorithms or Arss Assinmnt in DSP Co Gnrtion. Int. Conrn on Computr-Ai Dsin (ICCAD), B. Li, R. Gupt. Simpl Ost Assinmnt in Prsn o Subwor Dt. CASES, ACM Prss, 00.. S. Lio. Co Gnrtion n Optimiztion or Emb Diitl Sinl Prossors. Ph.D. Thsis, Dpt. o Eltril Eninrin n Computr Sin, Msshustts Institut o Thnoloy, S. Lio, S. Dvs, K. Kutzr, S. Tjin, A. Wn. Stor Assinmnt to Drs Co Siz. ACM SIGPLAN Conrn on Prormmin Lnu Dsin n Implmnttion (PLDI), D. Ottoni, G. Ottoni, G. Arujo, R. Luprs. Improvin Ost Assinmnt throuh simultnous Vribl Colsin. In Proins o th 7th Intrntionl Workshop on Sotwr n Compilrs or Emb Systms (SCOPES 0), in Sprinr LNCS 86, pp , Vinn, Austri, Sptmbr OstSton G. Ottoni, S. Rio, G. Arujo, S. Rjopln, n S. Mlik. Optiml Liv Rn Mr or Arss Ristr Allotion in Emb Prorms. In Pro. 0th Intrntionl Conrn on Compilr Constrution, CC 00, LNCS 07, pp Sprinr, April A. Ro n S. Pn. Stor Assinmnt Optimiztions to Gnrt Compt n Eiint Co on Emb DSPs. In SIGPLAN Conrn on Prormmin Lnu Dsin n Implmnttion, ps 8-8, A. Sursnm, S. Lio, n S. Dvs. Anlysis n Evlution o Arss Arithmti Cpbilitis in Custom DSP Arhitturs. In Dsin Automtion Conrn, pp. 87-9, S. Uynrynn, C. Chkrbrti: Arss Co Gnrtion or Diitl Sinl Prossors. 8th Dsin Automtion Conrn (DAC), B. Wss n M. Gotshlih. Optiml DSP Mmory Lyout Gnrtion s Qurti Assinmnt Problm. In Int. Symp. on Ciruits n Systms (ISCAS), B. Wss, T. Zitlhor. Optimum Arss pointr Assinmnt or Diitl Sinl Prossors. ICASSP, IEEE X. Zhun, C. Lu, n S. Pn. Stor Assinmnt Optimiztions Throuh Vribl Colsn or Emb Prossors. In Proins o th ACM SIG- PLAN Conrn on Lnu, Compilr, n Tool Support or Emb Systms, pp. 0-, 00.

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

, 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

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

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

Outline. Binary Tree

Outline. Binary Tree Outlin Similrity Srh Th Binry Brnh Distn Nikolus Austn nikolus.ustn@s..t Dpt. o Computr Sins Univrsity o Slzur http://rsrh.uni-slzur.t 1 Binry Brnh Distn Binry Rprsnttion o Tr Binry Brnhs Lowr Boun or

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

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

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

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

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

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

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

(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

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

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

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

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

16.unified Introduction to Computers and Programming. SOLUTIONS to Examination 4/30/04 9:05am - 10:00am

16.unified Introduction to Computers and Programming. SOLUTIONS to Examination 4/30/04 9:05am - 10:00am 16.unii Introution to Computrs n Prormmin SOLUTIONS to Exmintion /30/0 9:05m - 10:00m Pro. I. Kristin Lunqvist Sprin 00 Grin Stion: Qustion 1 (5) Qustion (15) Qustion 3 (10) Qustion (35) Qustion 5 (10)

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

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

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

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

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

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

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

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

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

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

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

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

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

Liqiong Wei, Zhanping Chen, and Kaushik Roy. Yibin Ye and Vivek De. logic circuits more feasible.

Liqiong Wei, Zhanping Chen, and Kaushik Roy. Yibin Ye and Vivek De. logic circuits more feasible. _ Mix-V th (MVT) CMOS Ciruit Dsin Mthooloy or Low Powr Applitions Liqion Wi, Zhnpin Chn, n Kushik Roy Shool o Eltril n Computr Eninrin Puru Univrsity, W. Lytt, IN 47907-1285 Yiin Y n Vivk D Intl Corp.,

More information

Walk Like a Mathematician Learning Task:

Walk Like a Mathematician Learning Task: Gori Dprtmnt of Euction Wlk Lik Mthmticin Lrnin Tsk: Mtrics llow us to prform mny usful mthmticl tsks which orinrily rquir lr numbr of computtions. Som typs of problms which cn b on fficintly with mtrics

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

CS553 Lecture Register Allocation 1

CS553 Lecture Register Allocation 1 Low-Lvl Issus Lst ltur Livnss nlysis Rgistr llotion Toy Mor rgistr llotion Wnsy Common suxprssion limintion or PA2 Logistis PA1 is u PA2 hs n post Mony th 15 th, no lss u to LCPC in Orgon CS553 Ltur Rgistr

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

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

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

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

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

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

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

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

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

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

10/30/12. Today. CS/ENGRD 2110 Object- Oriented Programming and Data Structures Fall 2012 Doug James. DFS algorithm. Reachability Algorithms

10/30/12. Today. CS/ENGRD 2110 Object- Oriented Programming and Data Structures Fall 2012 Doug James. DFS algorithm. Reachability Algorithms 0/0/ CS/ENGRD 0 Ojt- Orint Prormmin n Dt Strutur Fll 0 Dou Jm Ltur 9: DFS, BFS & Shortt Pth Toy Rhility Dpth-Firt Srh Brth-Firt Srh Shortt Pth Unwiht rph Wiht rph Dijktr lorithm Rhility Alorithm Dpth Firt

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

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

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

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

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

Complete Solutions for MATH 3012 Quiz 2, October 25, 2011, WTT

Complete Solutions for MATH 3012 Quiz 2, October 25, 2011, WTT Complt Solutions or MATH 012 Quiz 2, Otor 25, 2011, WTT Not. T nswrs ivn r r mor omplt tn is xpt on n tul xm. It is intn tt t mor omprnsiv solutions prsnt r will vlul to stunts in stuyin or t inl xm. In

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

Register Allocation. How to assign variables to finitely many registers? What to do when it can t be done? How to do so efficiently?

Register Allocation. How to assign variables to finitely many registers? What to do when it can t be done? How to do so efficiently? Rgistr Allotion Rgistr Allotion How to ssign vrils to initly mny rgistrs? Wht to o whn it n t on? How to o so iintly? Mony, Jun 3, 13 Mmory Wll Disprity twn CPU sp n mmory ss sp improvmnt Mony, Jun 3,

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

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

for Performance Potsdam, NY Urbana, IL can be connected to the inputs and outputs of the LUT to

for Performance Potsdam, NY Urbana, IL can be connected to the inputs and outputs of the LUT to Thnoloy Mppin o Squntil Ciruits or LUT-s FPGAs or Prormn Pihn Pn C. L. Liu Dpt. o Eltril & Computr En. Dpt. o Computr Sin Clrkson Univrsity Univrsity o Illinois t Urn-Chmpin Potsm, NY 13699 Urn, IL 61801

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

Organization. Dominators. Control-flow graphs 8/30/2010. Dominators, control-dependence. Dominator relation of CFGs

Organization. Dominators. Control-flow graphs 8/30/2010. Dominators, control-dependence. Dominator relation of CFGs Orniztion Domintors, ontrol-pnn n SSA orm Domintor rltion o CFGs postomintor rltion Domintor tr Computin omintor rltion n tr Dtlow lorithm Lnur n Trjn lorithm Control-pnn rltion SSA orm Control-low rphs

More information

OpenMx Matrices and Operators

OpenMx Matrices and Operators OpnMx Mtris n Oprtors Sr Mln Mtris: t uilin loks Mny typs? Dnots r lmnt mxmtrix( typ= Zro", nrow=, nol=, nm="" ) mxmtrix( typ= Unit", nrow=, nol=, nm="" ) mxmtrix( typ= Int", nrow=, nol=, nm="" ) mxmtrix(

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

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

XML and Databases. Outline. Recall: Top-Down Evaluation of Simple Paths. Recall: Top-Down Evaluation of Simple Paths. Sebastian Maneth NICTA and UNSW

XML and Databases. Outline. Recall: Top-Down Evaluation of Simple Paths. Recall: Top-Down Evaluation of Simple Paths. Sebastian Maneth NICTA and UNSW Smll Pth Quiz ML n Dtss Cn you giv n xprssion tht rturns th lst / irst ourrn o h istint pri lmnt? Ltur 8 Strming Evlution: how muh mmory o you n? Sstin Mnth NICTA n UNSW

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

5/1/2018. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees

5/1/2018. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees. Huffman Coding Trees /1/018 W usully no strns y ssnn -lnt os to ll rtrs n t lpt (or mpl, 8-t on n ASCII). Howvr, rnt rtrs our wt rnt rquns, w n sv mmory n ru trnsmttl tm y usn vrl-lnt non. T s to ssn sortr os to rtrs tt our

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

Overview. Usages of Fault Simulators. Problem and Motivation. Alternatives and Their Limitations. VLSI Design Verification and Testing

Overview. Usages of Fault Simulators. Problem and Motivation. Alternatives and Their Limitations. VLSI Design Verification and Testing VLSI Dsin Vriiction n Tstin Fult Simultion Mohmm Thrnipoor Elctricl n Computr Eninrin Univrsity o Conncticut Ovrviw Prolm n motivtion Fult simultion lorithms Sril Prlll Ductiv Concurrnt Othr lorithms Rnom

More information

ECE Experiment #6 Kitchen Timer

ECE Experiment #6 Kitchen Timer ECE 367 - Exprimnt #6 Kithn Timr Sprin 2006 Smstr Introution This xprimnt hs you onstrut iruit intrfin nin I/O lins from th 68HC11 with two svn smnt isplys n mtrix kyp, n writ ssmbly lnu o to rliz prormmbl

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

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

Instructions for Section 1

Instructions for Section 1 Instructions for Sction 1 Choos th rspons tht is corrct for th qustion. A corrct nswr scors 1, n incorrct nswr scors 0. Mrks will not b dductd for incorrct nswrs. You should ttmpt vry qustion. No mrks

More information

N=4 L=4. Our first non-linear data structure! A graph G consists of two sets G = {V, E} A set of V vertices, or nodes f

N=4 L=4. Our first non-linear data structure! A graph G consists of two sets G = {V, E} A set of V vertices, or nodes f lulu jwtt pnlton sin towr ounrs hpl lpp lu Our irst non-linr t strutur! rph G onsists o two sts G = {V, E} st o V vrtis, or nos st o E s, rltionships twn nos surph G onsists o sust o th vrtis n s o G jnt

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

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

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

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

Yehuda Lindell Bar-Ilan University

Yehuda Lindell Bar-Ilan University Wintr Shool on Sur Computtion n iiny Br-Iln Unirsity, Isrl 3//2-/2/2 Br Iln Unirsity Dpt. o Computr Sin Yhu Linll Br-Iln Unirsity Br Iln Unirsity Dpt. o Computr Sin Protool or nrl sur to-prty omputtion

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

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

(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

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

CS553 Lecture Register Allocation I 3

CS553 Lecture Register Allocation I 3 Low-Lvl Issus Last ltur Intrproural analysis Toay Start low-lvl issus Rgistr alloation Latr Mor rgistr alloation Instrution shuling CS553 Ltur Rgistr Alloation I 2 Rgistr Alloation Prolm Assign an unoun

More information

A PROPOSAL OF FE MODELING OF UNIDIRECTIONAL COMPOSITE CONSIDERING UNCERTAIN MICRO STRUCTURE

A PROPOSAL OF FE MODELING OF UNIDIRECTIONAL COMPOSITE CONSIDERING UNCERTAIN MICRO STRUCTURE 18 TH INTERNATIONAL CONFERENCE ON COMPOSITE MATERIALS A PROPOSAL OF FE MODELING OF UNIDIRECTIONAL COMPOSITE CONSIDERING UNCERTAIN MICRO STRUCTURE Y.Fujit 1*, T. Kurshii 1, H.Ymtsu 1, M. Zo 2 1 Dpt. o Mngmnt

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

Tangram Fractions Overview: Students will analyze standard and nonstandard

Tangram Fractions Overview: Students will analyze standard and nonstandard ACTIVITY 1 Mtrils: Stunt opis o tnrm mstrs trnsprnis o tnrm mstrs sissors PROCEDURE Skills: Dsriin n nmin polyons Stuyin onrun Comprin rtions Tnrm Frtions Ovrviw: Stunts will nlyz stnr n nonstnr tnrms

More information

ME 522 PRINCIPLES OF ROBOTICS. FIRST MIDTERM EXAMINATION April 19, M. Kemal Özgören

ME 522 PRINCIPLES OF ROBOTICS. FIRST MIDTERM EXAMINATION April 19, M. Kemal Özgören ME 522 PINCIPLES OF OBOTICS FIST MIDTEM EXAMINATION April 9, 202 Nm Lst Nm M. Kml Özgörn 2 4 60 40 40 0 80 250 USEFUL FOMULAS cos( ) cos cos sin sin sin( ) sin cos cos sin sin y/ r, cos x/ r, r 0 tn 2(

More information

Analysis and Evaluation of Address Arithmetic Capabilities in Custom DSP Architectures

Analysis and Evaluation of Address Arithmetic Capabilities in Custom DSP Architectures Anlysis n Evlution o Arss Aritmti Cpilitis in Custom DSP Aritturs Aso Sursnm Stn Lio Srinivs Dvs Dprtmnt o Eltril Enginring Avn Tnology Group Dprtmnt o EECS Printon Univrsity Synopsys, In. MIT Astrt Mny

More information

A Graph-Based Synthesis Algorithm for AND/XOR Networks 1. Yibin Ye Kaushik Roy. a minimum ESOP of a function except for those with

A Graph-Based Synthesis Algorithm for AND/XOR Networks 1. Yibin Ye Kaushik Roy. a minimum ESOP of a function except for those with A Grph-Bs Synthsis Algorithm or AND/XOR Ntworks Yibin Y Kushik Roy Shool o Eltril n Computr Enginring Puru Univrsity, Wst Lytt, IN 4797-285, USA Abstrt In this ppr, w introu Shr Multipl Root XORbs Domposition

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

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

Greedy Algorithms, Activity Selection, Minimum Spanning Trees Scribes: Logan Short (2015), Virginia Date: May 18, 2016

Greedy Algorithms, Activity Selection, Minimum Spanning Trees Scribes: Logan Short (2015), Virginia Date: May 18, 2016 Ltur 4 Gry Algorithms, Ativity Sltion, Minimum Spnning Trs Sris: Logn Short (5), Virgini Dt: My, Gry Algorithms Suppos w wnt to solv prolm, n w r l to om up with som rursiv ormultion o th prolm tht woul

More information

JEA - BARTRAM RE-PUMP FACILITY POTABLE WATER STORAGE EXPANSION STRUCTURAL STORAGE TANK PLANS

JEA - BARTRAM RE-PUMP FACILITY POTABLE WATER STORAGE EXPANSION STRUCTURAL STORAGE TANK PLANS 2 4 6 7 8 9 0 2 L L L WLL MNWY (2) LOTIONS T/SL L. 4.44' T/SL L..82' ROO UR W/ IRLSS OVR OR UTUR N INSTLLTION, LOTIONS SLOP SL PR TNK MNU OOTIN RQUIRMNTS THIKN SL UNR UTUR URTIN WLL,. 4 R40'-0" PRST OVRLOW

More information

NP-Completeness. CS3230 (Algorithm) Traveling Salesperson Problem. What s the Big Deal? Given a Problem. What s the Big Deal? What s the Big Deal?

NP-Completeness. CS3230 (Algorithm) Traveling Salesperson Problem. What s the Big Deal? Given a Problem. What s the Big Deal? What s the Big Deal? NP-Compltnss 1. Polynomil tim lgorithm 2. Polynomil tim rution 3.P vs NP 4.NP-ompltnss (som slis y P.T. Um Univrsity o Txs t Dlls r us) Trvling Slsprson Prolm Fin minimum lngth tour tht visits h ity on

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

HIGHER ORDER DIFFERENTIAL EQUATIONS

HIGHER ORDER DIFFERENTIAL EQUATIONS Prof Enriqu Mtus Nivs PhD in Mthmtis Edution IGER ORDER DIFFERENTIAL EQUATIONS omognous linr qutions with onstnt offiints of ordr two highr Appl rdution mthod to dtrmin solution of th nonhomognous qution

More information

Decimals DECIMALS.

Decimals DECIMALS. Dimls DECIMALS www.mthltis.o.uk ow os it work? Solutions Dimls P qustions Pl vlu o imls 0 000 00 000 0 000 00 0 000 00 0 000 00 0 000 tnths or 0 thousnths or 000 hunrths or 00 hunrths or 00 0 tn thousnths

More information

Integration Continued. Integration by Parts Solving Definite Integrals: Area Under a Curve Improper Integrals

Integration Continued. Integration by Parts Solving Definite Integrals: Area Under a Curve Improper Integrals Intgrtion Continud Intgrtion y Prts Solving Dinit Intgrls: Ar Undr Curv Impropr Intgrls Intgrtion y Prts Prticulrly usul whn you r trying to tk th intgrl o som unction tht is th product o n lgric prssion

More information

Weighted Graphs. Weighted graphs may be either directed or undirected.

Weighted Graphs. Weighted graphs may be either directed or undirected. 1 In mny ppltons, o rp s n ssot numrl vlu, ll wt. Usully, t wts r nonntv ntrs. Wt rps my tr rt or unrt. T wt o n s otn rrr to s t "ost" o t. In ppltons, t wt my msur o t lnt o rout, t pty o ln, t nry rqur

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