Throughput Optimal Routing in Overlay Networks

Size: px
Start display at page:

Download "Throughput Optimal Routing in Overlay Networks"

Transcription

1 Fifty-son Annul Allrton Confrn Allrton Hous, UIUC, Illinois, USA Otobr - 3, 4 Throughput Optiml Routing in Ovrly Ntworks Gorgios S. Pshos n Eytn Moino Lbortory for Informtion n Dision Systms Msshustts Institut of Thnology Abstrt Mximum throughput rquirs pth ivrsity nbl by bifurting trffi t iffrnt ntwork nos. In this work, w onsir ntwork whr trffi bifurtion is llow only t subst of nos ll routrs, whil th rst nos (ll forwrrs) nnot bifurt trffi n hn only forwr pkts on spifi pths. This implmnts n ovrly ntwork of routrs whr h ovrly link orrspons to pth in th physil ntwork. W stuy ynmi routing implmnt t th ovrly. W vlop quu-bs poliy, whih is shown to b mximlly stbl (throughput optiml) for rstrit lss of ntwork snrios whr ovrly links o not orrspon to ovrlpping physil pths. Simultion rsults show tht our poliy yils bttr ly ovr ynmi poliis tht llow bifurtion t ll nos, suh s th bkprssur poliy. Aitionlly, w provi huristi xtnsion of our propos ovrly routing shm for th unrstrit lss of ntworks. I. INTRODUCTION A ommon wy to rout t in ommunition ntworks is shortst pth routing. Routing shms using shortst pth r singl-pth; thy rout ll pkts of sssion through th sm it pth. Although singl-pth shms thriv bus of thir simpliity, thy r in gnrl throughput suboptiml. Mximizing ntwork throughput rquirs multipth routing, whr th iffrnt pths r us to provi ivrsity [4]. Whn th ntwork onitions r tim-vrying or whn th sssion mns flutut unpritbly, it is rquir to bln th trffi ovr th vilbl pths using ynmi routing shm whih pts to hngs in n onlin fshion. In th pst, shms suh s bkprssur [3] hv bn propos to isovr multipl pths ynmilly n mitigt th ffts of ntwork vribility. Although bkprssur is sirbl in mny pplitions, its prtility is limit by th ft tht it rquirs ll nos in th ntwork to mk onlin routing isions. Oftn it is th s tht som ntwork nos hv limit pbilitis n nnot prform suh tions. In this ppr w stuy ynmi routing whn isions n b m only t subst of nos, whil th rst nos us fix singl-pth routing ruls. Ntwork ovrlys r frquntly us to ploy nw ommunition rhitturs in lgy ntworks []. To omplish this, mssgs from th nw thnology r npsult in th lgy formt, llowing th two mthos This work ws support by NSF grnt CNS-748, ONR grnt N4---64, n ARO MURI grnt W9NF Th work of G. Pshos is support by th WiNC projt of th Ation:Supporting Postotorl Rsrhrs, fun by ntionl n Community funs (Europn Soil Fun). A B Ovrly ntwork of routrs routr forwrr tunnl pth routing options Physil ntwork Fig.. Routr A n bifurt trffi whil forwrr B only forwrs th pkts long prtrmin pth. This ppr stuis ynmi routing in th ovrly. to oxist in th lgy ntwork. Nos quipp with th nw thnology r thn onnt in onptul ntwork ovrly, Fig.. Prior works hv onsir th us of this mthoology to introu nw routing pbilitis in th Intrnt. For xmpl, ontnt provirs us ovrlys to bln th trffi ross iffrnt Intrnt pths n improv rsilin n n-to-n prformn [], []. In our work w us ntwork ovrly to introu ynmi routing to lgy ntwork whih oprts bs on singl-pth routing. Nos tht implmnt th ovrly lyr r ll routrs n r bl to mk onlin routing isions, bifurting trffi long iffrnt pths. Th rst nos, ll forwrrs, rly on singl-pth routing protool whih is vilbl to th physil ntwork, s Fig.. Thr r mny pplitions of our ovrly routing mol. For ntworks with htrognous thnologis, th ovrly routrs orrspon to vis with xtn pbilitis, whil th forwrrs orrspon to lss pbl vis. For xmpl, to introu ynmi routing in ntwork running lgy routing protool, it is possibl to us Softwr Dfin Ntworks to instll ynmi routing funtions on subst of vis (th routrs). In th prigm of multi-own ntworks, th forwrrs r vis whr th vnor hs no ministrtiv rights. For xmpl onsir ntwork tht uss ls stllit links, whr th forwring ruls my b pr-spifi by th ls. In suh htrognous snrios, mximizing throughput by ontrolling only frtion of nos introus trmnous gr of flxibility. In th physil ntwork G = (N, L) not th st of routrs with V N. Also, not th throughput rgion of this ntwork with Λ(V) [5]. Thn, Λ(N ) is th throughput Th finition of throughput rgion is givn ltr; hr it suffis to think of th st of fsibl throughputs /4/$3. 4 IEEE 4

2 routr forwrr b Fig.. (lft) An xmpl ntwork of routrs n forwrrs, whr routrs r V = {,,}. W init with bol rrows th shortst pths vilbl to by th singl-pth routing shm of th physil ntwork. (right) Th quivlnt ovrly ntwork of routrs n tunnls. of th ntwork whn ll nos r routrs. W ll this th full throughput of G, n it n b hiv if ll nos run th bkprssur poliy [3]. Also, Λ( ) is th throughput of ntwork onsisting only of forwrrs, whih is quivlnt to singl-pth throughput. Sin inrsing th numbr of routrs inrss pth ivrsity, w gnrlly hv Λ( ) Λ(V) Λ(N ). Prior work stuis th nssry n suffiint onitions for routr st V to gurnt full throughput, i.., Λ(V ) = Λ(N ) [6]. Th rsults of th stuy show tht using smll prntg of routrs (8%) is suffiint for full throughput in powr-lw rnom grphs n urt mol of th Intrnt [9]. Although [6] hrtrizs th throughput rgion Λ(V), ynmi routing to hiv this prformn is still unknown. For xmpl, in th sm work it is shows tht bkprssur oprting in th ovrly is suboptiml. In this work w fill this gp unr spifi topologil ssumption xplin in til ltr. W stuy ynmi routing in th ovrly ntwork of routrs n propos ontrol poliy tht hivs Λ(V). Our work is th first to nlytilly stuy suh htrognous ynmi routing poliy n prov its optimlity. II. SYSTEM MODEL W onsir physil ntwork G = (N, L) whr th nos r prtition to routrs V n forwrrs N V. Th physil ntwork hs instll singl-pth routing ruls, whih w ptur s follows. Evry routr i V is ssign n yli pth p to vry othr routr j V. Fig. (lft) shows with bol rrows both pths ssign to routr, i.., (,,), n (,b,). Lt P b th st of ll suh pths in th ntwork. A. Th Ovrly Ntwork of Tunnls W introu th onpt of tunnls. Th tunnl (i, j) E orrspons to pth p P with n-points routrs i, j n intrmit nos forwrrs. W thn fin th ovrly ntwork G R = (V, E) onsisting of routrs V n tunnls E. Figur (right) pits th ovrly ntwork for th physil ntwork in th lft, ssuming shortst pth routing is us. ) Topologil Assumption: In this work w stuy th s of non-ovrlpping tunnls. Lt T b th st of ll physil links of tunnl (i, j) with th xption of th first input link. DEFINITION [NON-OVERLAPPING TUNNELS]: An ovrly ntwork stisfis th non-ovrlpping tunnls onition if for ny two tunnls w hv T T =. b Fig. 3. ovrlpping tunnls An xmpl with ovrlpping tunnls. i Q i µ R in f b tunnl (i, j) F Fig. 4. Th input of tunnl is ontrollbl (soli lin) but th output is unontrollbl (ott lin). Whthr th onition is stisfi or not, pns on th ntwork topology G, th st of routrs V, n th st of pths P whih ltogthr trmin T, for ll i, j V. Th ntwork of Figur stisfis th non-ovrlpping tunnls onition sin h of th links (,), (b,) blongs to xtly on tunnl. On th othr hn, in th ntwork of Figur 3 link (,) blongs to two tunnls, hn th onition is not stisfi. Whn tunnls ovrlp, pkts blonging to iffrnt tunnls ompt for srvi t th forwrrs, whih furthr omplits th nlysis. Our nlytil rsults fous xlusivly on th non-ovrlpping tunnls s whih still onstituts n intrsting n iffiult problm. Howvr, in th simultion stion w huristilly xtn our propos poliy to pply to gnrl ntworks with ovrlpping tunnls n shows tht th xtn poliy hs nr-optiml prformn. B. Ovrly Quuing Mol Th ovrly ntwork mits st of sssions C, whr h sssion hs uniqu routr stintion, but possibly multipl routr sours. Tim is slott; t th n of tim slot t, A i (t) A mx pkts of sssion C rriv xognously t routr i, whr A mx is positiv onstnt. 3 A i (t) r i.i.. ovr slots, inpnnt ross sssions n sours, with mn λ i. For vry tunnl (i, j), routing poliy π hooss th routing funtion µ (t, π) in slot t whih trmins th numbr of sssion pkts to b rout from routr i into th tunnl. Aitionlly, w not with φ (t) th tul numbr of sssion pkts tht xit th tunnl in slot t. For visul ssoition of µ (t, π) n φ (t) to th tunnl links s Figur 4. Not tht µ (t, π) is i by routr i whil φ (t) is unontrollbl. Lt th sts In(i), Out(i) rprsnt th inoming n outgoing nighbors of routr i on G R. Pkts of sssion r stor t routr i in routr quu. Its bklog Q i (t) volvs φ j bf Q j f Th lgy routing protool my provi pths btwn physil nos s wll, but w o not stuy thm in this work. 4 3 Not tht w fous xlusivly on routing t th ovrly lyr. Thus A i (t) r fin t ovrly routr nos.

3 oring to th following qution Q i(t + ) = (Q i(t) ) ++ µ ib(t, π) φ i(t) + A i(t), b Out(i) } {{ } prturs In(i) } {{ } rrivls () whr w us (.) + mx{., } sin thr might not b nough pkts to trnsmit. On tunnl (i, j) w ollt ll pkts into on tunnl quu F (t) whos volution stisfis F (t + ) F (t) φ (t) + µ (t, π), (i, j) E. }{{}}{{} () prturs rrivls Th pkts tht tully rriv t F (t) might b lss thn µ (t, π), hn th inqulity (). W rmrk tht F (t) is th totl numbr of pkts in flight on th tunnl (i, j). Physilly ths pkts r stor t iffrnt forwrrs long th tunnl. W only kp trk of th sum of ths physil bklogs sin, s w will show shortly, this is suffiint to hiv mximum throughput. Abov () ssums tht ll inoming trffi t routr i rrivs ithr from tunnls, or xognously. It is possibl, howvr, to hv n inoming nighbor routr k suh tht (k, i) is physil link, s w purposly omitt in orr to voi furthr omplxity in th xposition. Th optiml poliy for this s n b obtin from our propos poliy by stting th orrsponing tunnl quu bklog to zro, F ki (t) =. C. Forwrr Shuling Insi Tunnls W ssum tht insi tunnls pkts r forwr in work-onsrving fshion, i.., forwrr os not il unlss thr is nothing to sn. Du to work-onsrvtion n th ssumption of non-ovrlpping tunnls, tunnl with suffiintly mny pkts hs instntnous output qul to its bottlnk pity. Dnot by M th numbr of forwrrs ssoit with tunnl (i, j). Lt R mx b th grtst pity mong ll physil links ssoit with tunnl (i, j) n R min th smllst, lso lt [ ] M R min R mx. (3) T mx (i,j) E + M (M ) LEMMA [OUTPUT OF A LOADED TUNNEL]: Unr ny ontrol poliy π Π, suppos tht in tim slot t th totl tunnl bklog stisfis F (t) > T, for som (i, j) E, whr T is fin in (3). Th instntnous output of th tunnl stisfis φ (t) = R min. (4) Proof: Th proof is provi in th Appnix. Lmm is pth-wis sttmnt sying tht th tunnl output is qul to th tunnl bottlnk pity in vry tim slot tht th tunnl bklog xs T. Notbly w hvn t isuss yt how th forwrrs hoos to prioritiz pkts from iffrnt sssions. Bs 43 on Lmm n th rsults tht follow, w will stblish tht inpnnt of th hoi of sssion shuling poliy, thr xists routing poliy tht mximizs throughput. Furthrmor, w monstrt by simultions tht iffrnt forwring shuling poliis rsult in th sm vrg ly prformn unr our propos routing. Hn, in this ppr forwrrs r llow to us ny work-onsrving sssion shuling, suh s FIFO, Roun Robin or vn strit prioritis mong sssions. III. DYNAMIC ROUTING PROBLEM FORMULATION A hoi for th routing funtion µ (t, π) is onsir prmissibl if it stisfis in vry slot th orrsponing pity onstrint µ (t, π) Rin, whr Rin nots th pity of th input physil link of tunnl (i, j), s Fig. 4. In vry tim slot, ontrol poliy π trmins th routing funtions ( µ (t, π)) t vry routr. Lt Π b th lss of ll prmissibl ontrol poliis, i.., th poliis whos squn of isions onsists of prmissibl routing funtions. W wnt to kp th bklogs smll in orr to gurnt tht th throughput is qul to th rrivls. To kp trk of this w fin th stbility ritrion opt from [5]. DEFINITION [SYSTEM STABILITY]: A quu with bklog X(t) is stbl unr poliy π if lim sup T T T t= E[X(t)] <. Th ovrly ntwork is stbl if ll routr (Q i (t)) n tunnl quus (F (t)) r stbl. Th throughput rgion Λ(V) of lss Π is fin to b (th losur of) th st of λ = (λ i ) for whih thr xists poliy π Π suh tht th systm is stbl. Avoiing thnil jrgon, th throughput rgion inlus ll hivbl throughputs whn implmnting ynmi routing in th ovrly. Rll tht throughput pns on th tul sltion of routrs V, n tht for V N it my b th s tht th hivbl throughput my b lss thn th full throughput of G, i.., Λ(V) Λ(N ). Thrfor it is importnt to lrify tht in this work w ssum tht V is fix n w sk to fin poliy tht is stbl for ny λ Λ(V), i.., poliy tht is mximlly stbl. Suh poliy is lso ll in th litrtur throughput optiml. A. Chrtriztion of Throughput Rgion of Clss Π Th throughput rgion Λ(V) n b hrtriz s th losur of th st of mtris λ = (λ i ) for whih thr xist nonngtiv flow vribls (f ) suh tht λ i + fi < fib, for ll i V, C (5) V b V f < R min, for ll (i, j), E, (6) whr (5) r flow onsrvtion inqulitis t routrs, (6) r pity onstrints on tunnls, n rll tht R min is

4 th bottlnk pity in th tunnl (i, j). W writ Λ(V) = Cl{λ f, n (5)-(6) hol}. Not, tht th onitions for th stbility rgion Λ(V) r th sm with th onitions for full throughput Λ(N ) [5], with th iffrn tht th flow vribls r fin on th ntwork of routrs G R inst of G. In th proof tht (5)-(6) r nssry n suffiint for stbility my b obtin by onsiring virtul ntwork whr vry tunnl is rpl by virtul link. Controlling this systm in ynmi fshion mounts to fining routing poliy π Π whih stbilizs th systm for ny λ Λ(V). Fining suh poliy in th ovrly iffrs signifintly from th s of physil ntwork, sin physil links support immit trnsmissions whil ovrly links r work-onsrving tnm quus whih inu quuing lys. IV. THE PROPOSED ROUTING POLICY As isuss in [6], using bkprssur in th ovrly my rsult in poor throughput prformn. In this stion w propos th Thrshol-bs Bkprssur (BP-T) Poliy, istribut poliy whih prforms onlin isions in th ovrly. BP-T is sign to oprt th tunnl bklogs los to thrshol. This is lit bln whrby th tunnl output works ffiintly (by Lmm ) whil t th sm tim th numbr of pkts in th tunnl r uppr boun. Consir th thrshol T = T + mx (i,j) Rin, (7) whr T is fin in (3) n R in is th pity of input physil link of tunnl (i, j) n thus lso th mximum inrs of th tunnl bklog in on slot. Dfin th onition: F (t) T. (8) Th rson w us this thrshol is tht if (8) is fls, it follows tht both F (t) > T n F (t ) > T, n hn w n pply Lmm to both slots t n t. This is us in th proof of th min rsult. Thrshol-bs Bkprssur (BP-T) Poliy At h tim slot t n tunnl (i, j), lt rg mx C Q i(t) Q j(t), b sssion tht mximizs th iffrntil bklog btwn routrs i, j, tis rsolv rbitrrily. Thn rout into tht tunnl R in if Q i (t) > Q j (t) µ (t, TB) = AND (8) is tru (9) othrwis n µ (t, BP-T) =,. Rll, tht Rin nots th pity of input physil link of tunnl (i, j). 4 4 If th thr r not nough pkts to trnsmit, i.., µ (t) > Q i (t), thn w fill th trnsmissions with ummy non-informtiv pkts. 44 BP-T is similr to pplying bkprssur in th ovrly, with th striking iffrn tht no pkt is trnsmitt to tunnl if onition (8) is not stisfi. Thrfor th totl tunnl bklog is limit to t most T plus th mximum numbr of pkts tht my ntr th tunnl in on slot. Formlly w hv LEMMA [DETERMINISTIC BOUNDS OF F (t) UNDER BP-T]: Assum tht th systm strts mpty n is oprt unr BP-T. Thn th tunnl bklogs (F (t)) r uniformly boun bov by F mx T + R mx. () Proof: Follows from (8) n (9). This shows tht our poliy os not llow th tunnl bklogs to grow byon F mx. To show tht our poliy ffiintly routs th pkts is muh mor involv. It is inlu in th proof of th following min rsult. THEOREM 3: [Mximl Stbility of BP-T] Consir n ovrly ntwork whr unrly forwring nos us ny work-onsrving poliy to shul pkts ovr prtrmin pths, n th tunnls r non-ovrlpping. Th BP-T poliy is mximlly stbl: Λ BP-T (V) Λ π (V), for ll π Π. Proof: Th proof is is bs on novl K-slot Lypunov rift nlysis n u to sp limittions is givn in []. BP-T is istribut poliy sin it utilizs only lol quu informtion n th pity of th inint links, whil it is gnosti to rrivls, or pitis of rmot links,.g. not tht th ision os not pn on th pity of th bottlnk link R min. A vry simpl istribut protool n b us to llow ovrly nos to lrn th tunnl bklogs. Spifilly F (t) n b stimt t no i using n knowlgmnt shm, whrby j prioilly informs i of how mny pkts hv bn riv so fr. In prti, th routr nos obtin ly stimt F (t). Howvr, using th onpts in [7]-p.85, it is possibl to show tht suh stimts o not hurt th ffiiny of th shm. V. SIMULATION STUDY In this stion w prform xtnsiv simultions to: (i) shows th mximl stbility of BP-T n ompr its throughput prformn to othr routing poliis, (ii) xmin th impt of iffrnt forwring shuling poliis (FIFO, HLPSS, Strit Priority, LQF) on throughput n ly of BP-T, (iii) monstrt tht BP-T hs goo ly prformn, n (iv) stuy th xtnsion of BP-T to th s of ovrlpping tunnls. First w prsnt ynmi routing poliis from th litrtur ginst whih w will ompr BP-T. Bkprssur in th ovrly (BP-O): For vry tunnl (i, j) E fin rg mx C Q i(t) Q j(t),

5 tis solv rbitrrily. Thn hoos µ (t, BP-O) =, n µ (t, BP-O) = { if Q i othrwis. R in (t) > Q j (t) This orrspons to bkprssur ppli only to routrs V, whih is missibl in our systm, BP-O Π. Bkprssur in th physil ntwork (BP): For vry physil link (m, n) L fin mn rg mx C Q m(t) Q n(t) tis solv rbitrrily. Thn hoos µ mn(t, BP) =, mn n { µ mn mn (t, BP) = Rmn if Q mn m (t) > Q mn n (t) () othrwis This is th lssil bkprssur from [3], ppli to ll nos N in th ntwork, n thus it is not missibl in th ovrly, BP / Π, whnvr V N. Sin this poliy hivs th full throughput Λ(N ), w us it s throughput bnhmrk. Bkprssur Enhn with Shortst Pths Bis (BP-SP): For vry no-sssion pir (m, ) fin th hop ount from m to th stintion of s h n. For vry physil link (m, n) L fin mn rg mx C Q m(t) Q n(t) + h m h n. tis solv rbitrrily. Thn hoos µ mn(t, BP-SP) oring to (). This poliy ws propos by [8] to ru lys. Whn th ongstion is smll, th shortst pth bis introu by th hop ount iffrn ls th pkts irtly to th stintion without going through yls or longr pths. Suh poliy rquirs ontrol t vry no, n thus it is not missibl in th ovrly, BP-SP / Π, whnvr V N. Sin, howvr, it is known to hiv Λ(N ) n to outprform BP in trms of ly, it is usful for throughput n ly omprisons. A. Showsing Mximl Stbility Consir th ntwork of Figur 5 (lft), n fin two sssions sour t ; sssion stin to n sssion to. W ssum tht R b = n ll th othr link pitis r unit s shown in th Figur. W hoos R b in this wy to mk th routing isions of sssion mor iffiult. W show th full throughput rgion Λ(N ) hiv by BP, BP-SP whih howvr r not missibl in th ovrly. Thn w xprimnt with BP-T, BP-O n w lso show th throughput of plin Shortst Pth routing. For BP-T, oring to xmpl sttings n (7) it is T = ; w hoos T = 6. Sin th xmpl stisfis th non-ovrlpping tunnl onition, by Thorm 3 our poliy hivs Λ(V). This is vrifi in th simultions, s Figur 5 (right). From th figur w n onlu tht for this xmpl w hv Λ(V) = Λ(N ), lthough V N. This is onsistnt to th finings of [6]. From th sm Figur w s tht both 45 sssion b sssion λ (, ) not missibl in Π {}}{ BP-T, BP, BP-SP (, ) Shortst Pth BP-O (, ) λ Fig. 5. Throughput omprison: (lft) Exmpl unr stuy. (right) Throughput hiv by {BP-T, BP-O, Shortst Pth} Π n BP, BP-SP / Π. iniviul bklogs 5 Q (t) Q (t) 4 F (t) 3 Q (t) Q (t) tim (slots) Fig. 6. Smpl pth volution of th systm unr BP-T, λ = λ =.97. bkprssur in th ovrly BP-O n Shortst Pth hiv only frtion of Λ(V), n hn thy r not mximlly stbl. For BP-O, w hv loss of throughput whn both sssions ompt for trffi, in whih s BP-O fils to onsir ongstion informtion from th tunnl n thrfor llots this tunnl s rsours wrongly to th two sssions. For Shortst Pth, it is lr tht h sssion uss only its own it shortst pth n hn th loss of throughput is u to no pth ivrsity. To unrstn why BP-T works, w xmin smpl pth volution of this systm unr BP-T for th s whr λ = λ =.97, whih is on of th most hllnging snrios. For stbility, sssion must us its it pth (,,), n sn lmost no trffi through tunnl. Fousing on th tunnl, Figur 6 shows th iffrntil bklogs pr sssion Q (t) Q (t) n th orrsponing tunnl bklog F (t) for smpl pth of th systm volution. In most tim slots is ongst, whih is init by high iffrntil bklogs. In suh slots, th tunnl hs mor thn pkt, whih gurnts by Lmm tht it outputs pkts t highst possibl rt, hn th tunnl is orrtly utiliz. Rll tht whn th tunnl is full (F (t) > T =6) no nw pkts r insrt to th tunnl prvnting it from xing F mx. Obsrv tht th iffrntil bklog of sssion lwys omints th sssion ountrprt, n hn whnvr tunnl is gin ry for nw pkt insrtion, sssion will b prioritiz for trnsmission oring to (9). Thrfor, th proportion of sssion pkts in this tunnl is los to %, whih is th orrt llotion of th tunnl rsours to sssions for this s.

6 3 - - totl bklog iffrn F IF O -H L P P S totl bklog iffrn F IF O -P r. S s s io n sssion b vrg totl bklog BP BP-SP BP-T BP-O -3 tim (slots) -3 tim (slots) Fig. 7. Smpl pth iffrn in totl systm bklog, btwn iffrnt unrly forwring poliis: (lft) iffrn btwn FIFO n HLPPS, (right) iffrn btwn FIFO n Strit Priority to sssion. λ FIFO HLPPS LQF Priority Sssion TABLE I AVERAGE DELAY PERFORMANCE OF BP-T UNDER DIFFERENT UNDERLAY FORWARDING POLICIES. B. Insnsitivity to Forwring Shuling At vry forwrr no thr is pkt shuling ision to b m, to hoos how mny pkts pr sssion shoul b forwr in th nxt slot. Although by ssumption w rquir th forwring poliy to b work-onsrving, our rsults o not rstrit th shuling poliy ny furthr. In prtiulr, our nlysis only pns on φ (t) n hn it is insnsitiv to th hosn isiplin. Hr w simult th oprtion of BP-T with iffrnt forwring poliis, in prtiulr with First-In First-Out (FIFO), H of Lin Proportionl Prossor Shring (HLPPS), Strit Priority n Longst Quu First (LQF), whr HLPPS rfrs to srving sssions proportionlly to thir quu bklogs [], n LQF rfrs to giving priority to th sssion with th longst quu. Figur 7 shows smpl pth iffrns for svrl forwring isiplins on th xmpl of th prvious stion, whil Tbl I omprs th vrg ly prformn for iffrnt rrivl rts. Inpnnt of th isiplin us, th vrg totl numbr of pkts in th systm is pproximtly th sm. Thrfor, whil our thorm stts tht th forwring poliy os not fft BP-T throughput, simultions itionlly show tht th ly is lso th sm. C. Dly Comprison W simult th ly of iffrnt routing poliis, ompring th prformn of BP-T n BP-O ovrly poliis, s wll s BP n BP-SP whih r not missibl in th ovrly. W xprimnt for λ = λ = λ, n w plot th vrg totl bklogs in th systm for two xmpl ntworks shown to th lft of h plot. In Fig. 8 BP-O fils to tt ongstion in th tunnl n onsquntly ly inrss for λ >.7. W obsrv tht BP-T outprforms BP n BP-O, n prforms similrly to BP-SP. This rlts to voin of yls t low los by us of shortst pths, s [5]. In prtiulr, BP-SP hivs 46 sssion lo λ Fig. 8. Dly Comprison: (lft) Exmpl unr stuy. (right) Avrg totl bklog pr offr lo whn λ = λ = λ. sssion b sssion g f vrg totl bklog BP BP-SP BP-T BP-O lo λ Fig. 9. Dly Comprison: (lft) Exmpl unr stuy. (right) Avrg totl bklog pr offr lo whn λ = λ = λ. this by mns of hop ount bis, whil BP-T using th tunnls. A rmrkbl ft is tht BP-T pplis ontrol only t th ovrly nos n outprforms in trms of ly BP whih ontrols ll physil nos in th ntwork. In Fig. 9 w stuy quus in tnm, in whih s ll poliis hv mximum throughput sin thr is uniqu pth through whih ll th pkts trvl. W hoos this snrio to monstrt nothr rson why BP-T hs goo ly prformn. Th ly of bkprssur inrss qurtilly to th numbr of ntwork nos bus of mintining qul bklog iffrns ross ll nighbors [3]. In th s of BP-T, s wll s ny othr missibl ovrly poliy lik BP-O, th bklogs inrs with th numbr of routrs. Thus, whn V < N w obtin ly gin by pplying ontrol only t routrs. Fig. 9 showss xtly this ly gin tht BP-T n BP-O hv vrsus BP n BP-SP. W onlu tht BP-T hs vry goo ly prformn whih is ttribut to two min rsons: ) Whn trffi lo is low, th mjority of th pkts follow shortst pths. Th numbr of pkts going in yls is signifintly ru. ) Sin thr is no n for ongstion fbk within th tunnls, th bklog builup is not proportionl to th numbr of ntwork nos but to th numbr of routrs. D. Applying our Poliy to Ovrlpping Tunnls Nxt w xtn BP-T to ntworks with ovrlpping tunnls, s th xmpl in Fig. (lft). In this ontxt Thorm

7 3 os not pply n w hv no gurnts tht BP-T is mximlly stbl. Th ky to hiving mximum throughput is to orrtly bln th rtio of trffi from h sssion injt into th ovrlpping tunnls. For th ntwork to b stbl with lo (.9,.9), poliy ns to irt most of th trffi of sssion through th it link (, ), or quivlntly to llot µ (t) =. Sin no is th stintion of sssion, n hn Q (t) =, w n to rlt this routing ision to th ongstion in th tunnl. To mk this work, w introu th following xtnsion. Inst of onitioning trnsmissions on routr iffrntil bklog Q i (t) > Q j (t) s in BP-T, w us th onition Q i (t) > Q j (t) + F (t). Intuitivly, w xpt nonongst no to hv smll bklog n thus voi sning pkts ovr ongst tunnl. Th nw poliy is ll BP-T. It n b provn tht BP-T is mximlly stbl for non-ovrlpping tunnls. Although w o not hv proof for th s of ovrlpping tunnls, th simultion rsults show tht by hoosing T to b lrg BP-T hivs mximum throughput. BP-T for Ovrlpping Tunnls Fix T to stisfy q. (7), n rll onition (8): F (t) < T. In slot t for tunnl (i, j) lt rg mx C Q i(t) Q j(t), b sssion tht mximizs th iffrntil bklog btwn routr i, j, tis rsolv rbitrrily. Thn rout into tunnl (i, j) µ (t, TB) = R in if Q i (t) > Q j (t) + F (t) AND (8) is tru othrwis () n µ (t, BP-T) =,. Rin nots th pity of physil link tht onnts routr i to th tunnl (i, j). Figur shows th rsults from n xprimnt whr T =, λ = λ = λ, n w vry λ. BP-T hivs full throughput n similr ly to BP-SP, oing stritly bttr thn BP-O, BP. To unrstn how BP-T works, onsir th smpl pth volution (Fig. ), whr Q (t) Q (t), Q b (t) Q f (t), F (t) r shown. Most of th tim w hv Q (t) Q (t) <, thus by th hoi of T = n th onition us in (), sssion rrly gts th opportunity to trnsmit pkts to th ovrlpping tunnls. As T inrss sssion will gt fwr n fwr opportunitis, hn BP-T bhvior will pproximt th optiml. In Fig (right) w plot th vrg totl bklog for iffrnt vlus of T. As T inrss, th prformn t high los improvs b sssion sssion f vrg totl bklog BP BP-SP BP-T BP-O lo λ Fig.. Ovrlpping Tunnls: (lft) Exmpl unr stuy. (right) Avrg totl bklog pr offr lo whn λ = λ = λ. iniviul bklogs Q b (t) Q f (t) F (t) Q (t) Q (t) tim (slots) vrg totl bklog T = T =5 T = T = lo λ Fig.. (lft) Systm volution (on smpl pth) for λ = λ =.97, T =. (right) Avrg totl bklog pr offr lo whn λ = λ = λ. VI. CONCLUSIONS In this ppr w propos bkprssur xtnsion whih n b ppli in ovrly ntworks. From prior work, w know tht if th ovrly is sign wisly, it n mth th throughput of th physil ntwork [6]. Our ontribution is to prov tht th mximum ovrly throughput n b hiv by mns of ynmi routing. Morovr, w show tht our propos shm BP-T mks th bst of both worls () ffiintly hoosing th pths in onlin fshion pting to ntwork vribility n (b) kping vrg ly smll voiing th known inffiinis of th lgy bkprssur shm. Importnt futur work involvs th mthmtil nlysis of th ovrlpping tunnls s n th onsirtion of wirlss trnsmissions. In both ss Lmm os not hol u to orrltion of routing isions t routrs with shuling t forwrrs. REFERENCES [] D. Anrsn, H. Blkrishnn, F. Kshok, n R. Morris. Rsilint ovrly ntworks. In Pro. ACM SOSP, Ot.. [] Mury Brmson. Convrgn to quilibri for flui mols of h-ofth-lin proportionl prossor shring quuing ntworks. Quuing Systms, 3(-4): 6, 996. [3] L. Bui, R. Sriknt, n A. Stolyr. Novl rhitturs n lgorithms for ly rution in bk-prssur shuling n routing. In Pro. IEEE INFOCOM, April 9. [4] L.R. For n D.R. Fulkrson. Flows in ntworks. In Printon univrstiy Prss, 96. [5] L. Gorgiis, M. Nly, n L. Tssiuls. Rsour llotion n ross-lyr ontrol in wirlss ntworks. Fountions n Trns in Ntworking, : 47, 6. [6] N. M. Jons, G. S. Pshos, B. Shrr, n E. Moino. An ovrly rhittur for throughput optiml multipth routing. In Pro. of ACM Mobiho, 4.

8 [7] M. J. Nly. Stohsti Ntwork Optimiztion with Applition to Communition n Quuing Systms. Morgn & Clypool,. [8] Mihl J. Nly, Eytn Moino, n Chrls E. Rohrs. Dynmi powr llotion n routing for tim-vrying wirlss ntworks. IEEE Journl on Slt Ars in Communitions, 3:89 3, 5. [9] M. E. J Nwmn. Ntworks: An Introution. Oxfor Univrsity Prss, In., Nw York, NY, USA,. [] G. S. Pshos n E. Moino. Dynmi routing in ovrly ntworks. Thnil rport, rxiv:49.739, 4. [] L. L. Ptrson n B. S. Dvi. Computr Ntworks: A Systms Approh. Morgn Kufmnn Publishrs In., Sn Frniso, CA, USA, 4th ition, 7. [] R. K. Sitrmn, M. Ksbkr, W. Lihtnstin, n M. Jin. Ovrly Ntworks: An Akmi Prsptiv. John Wily & Sons, 4. [3] L. Tssiuls n A. Ephrmis. Stbility proprtis of onstrin quuing systms n shuling poliis for mximum throughput in multihop rio ntworks. IEEE Trnstions on Automti Control, 37: , 99. APPENDIX LEMMA [OUTPUT OF A LOADED TUNNEL]: Unr ny ontrol poliy π Π, suppos tht in tim slot t th totl tunnl bklog stisfis F (t) > T, for som (i, j) E, whr T is fin in (3). Th instntnous output of th tunnl stisfis φ (t) = R min. (3) Proof of Lmm : Consir tunnl (i, j) whih forwrs pkts, using n rbitrry work-onsrving poliy, ovr th pth p with M unrly nos. Rnumbr th nos in th pth in squn thy r visit by pkts s,,..., M +, whr rfrs to i n M + to j, hn p {,,..., M, M + }. Sin th sttmnt is inhrntly rlt to pkt forwring intrnlly in th tunnl (i, j), w will introu som nottion. Dnot by F k (t), k =,..., M th pkts witing t th k th no t slot t, to b trnsmitt to th k + th, long tunnl (i, j) V (th pkts my blong to iffrnt sssions). Clrly, it is M k= F k (t) = F (t). Also, lt (t) b th tul numbr of sssion pkts tht lv this bklog in slot t. For ll (i, j), k,, t, u to workonsrvtion w hv φ k, φ k, (t) = min{r k, F k (t)}, (4) R k noting th pity of th physil link onnting nos k, k +. Hn, F k (t), k =,..., M volv s F k (t + ) = F k (t) φ k, (t) + φ k, (t). (5) 9 i j Fig.. An ovrlo tunnl with bottlnk pity R min = 3. n suppos (k, k + ) is th bottlnk link. Thn lt us fous on th link (k +, k + ). For its input w hv φ k, (4) (t) R k R min, for ll t n for its output φ k+, (t) = min{f k+ (t), R k+ }, whr R k+ R k. Strting th systm mpty, th bklog F k+ (t) nnot grow lrgr thn R k sin this is th mximum numbr of rriving pkts in on slot n thy r ll srv in th nxt slot. Hn, it is lso φk+, (t) = F k+ (t) R k. By inution, th sm is tru for F l (t), φl (t) for ny k < l M, n w gt (6). Th rmining proof is by ontrition. Assum φ (t) < Rmin. Consir th physil link (k, k + ) with k =,..., M. Using (5) F k (t) < R min F k (t ) < R min. (7) To unrstn (7) not tht if th RHS ws fls, by (4) w woul hv φk, (t ) R min n thus by (5) lso F k (t) Rmin. Sin by th prmis w hv φm, (t) φ (t) < Rmin, pplying (4) w u F M (t) < R min from whih pplying (7) rursivly w roll bk in tim n sp to obtin F k (t M + k) < R min, k =,..., M. Sin th mximum bklog inrs t ny no within on slot is R mx, w roll forwr in tim to gt F k (t) < R min + (M k)r mx, k =,..., M. Summing up for ll forwrrs k =,..., M w gt M k= M F (t) = F(t) k [ < R min k= = M R min + M (M ) whih ontrits th prmis of th lmm. + (M k)r mx ] R mx (3) = T. (8) W bgin th proof by showing tht th instntnous output of th tunnl nnot b lrgr thn its bottlnk pity, i.., φ (t) R min. (6) If th bottlnk link is th lst link on p thn (6) follows immitly from (4). Els, pik k suh tht k < M 48

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

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

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

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

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

, 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

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

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

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

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

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

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

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

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

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

(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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

TOPIC 5: INTEGRATION

TOPIC 5: INTEGRATION TOPIC 5: INTEGRATION. Th indfinit intgrl In mny rspcts, th oprtion of intgrtion tht w r studying hr is th invrs oprtion of drivtion. Dfinition.. Th function F is n ntidrivtiv (or primitiv) of th function

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

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

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

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

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

Sybil Attacks and Defenses

Sybil Attacks and Defenses CPSC 426/526 Syil Attks n Dfnss Ennn Zhi Computr Sin Dprtmnt Yl Univrsity Rll: L-5 Rputtion systms: - Why w n rputtion/trust systms - Wht is glol rputtion mol - Wht is prsonliz rputtion mol - Cs stuis:

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

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

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

# 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

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

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

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

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

MA1506 Tutorial 2 Solutions. Question 1. (1a) 1 ) y x. e x. 1 exp (in general, Integrating factor is. ye dx. So ) (1b) e e. e c.

MA1506 Tutorial 2 Solutions. Question 1. (1a) 1 ) y x. e x. 1 exp (in general, Integrating factor is. ye dx. So ) (1b) e e. e c. MA56 utorial Solutions Qustion a Intgrating fator is ln p p in gnral, multipl b p So b ln p p sin his kin is all a Brnoulli quation -- st Sin w fin Y, Y Y, Y Y p Qustion Dfin v / hn our quation is v μ

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

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

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

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

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

Minimum Spanning Trees

Minimum Spanning Trees Minimum Spnning Trs Minimum Spnning Trs Problm A town hs st of houss nd st of rods A rod conncts nd only houss A rod conncting houss u nd v hs rpir cost w(u, v) Gol: Rpir nough (nd no mor) rods such tht:

More information

Journal of Solid Mechanics and Materials Engineering

Journal of Solid Mechanics and Materials Engineering n Mtrils Enginring Strss ntnsit tor of n ntrf Crk in Bon Plt unr Uni-Axil Tnsion No-Aki NODA, Yu ZHANG, Xin LAN, Ysushi TAKASE n Kzuhiro ODA Dprtmnt of Mhnil n Control Enginring, Kushu nstitut of Thnolog,

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

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

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

Survey and Taxonomy of IP Address Lookup Algorithms

Survey and Taxonomy of IP Address Lookup Algorithms Survy n Txonomy of IP Arss Lookup Algorithms Migul Á. Ruiz-Sánhz, Ernst W. Birsk, Wli Dbbous mruiz@sophi.inri.fr rbi@urom.fr bbous@sophi.inri.fr Jnury 2, 2 INRIA Sophi Antipolis 24, rout s Luiols, BP 93

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

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

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

Efficient Routing in Packet-Radio Networks Using Link-State Information

Efficient Routing in Packet-Radio Networks Using Link-State Information o5 Eiint Routing in Pkt-Rio Ntworks Using Link-Stt Inormtion J.J. Gri-Lun-Avs Computr Enginring Dprtmnt Univrsity o Cliorni Snt Cruz, Cliorni 95064 jj@s.us.u Mrlo Spohn Rootop Communitions Mountin Viw,

More information

Survey and Taxonomy of IP Address Lookup Algorithms

Survey and Taxonomy of IP Address Lookup Algorithms Survy n Txonomy of IP Arss Lookup Algorithms Migul Á. Ruiz-Sánhz, INRIA Sophi Antipolis, Univrsi Autónom Mtropolitn Ernst W. Birsk, Institut Euréom Sophi Antipolis Wli Dbbous, INRIA Sophi Antipolis Abstrt

More information

Problem Set 3 Solutions

Problem Set 3 Solutions CSE Dsign n Anlysis of Switing Systms Jontn Turnr Prolm St Solutions. Consir t sign of port swit, s on suivi us wit knokout onntrtors t t output. Assum tt t links oprt t G/s n tt t iruit tnology n support

More information

Motivation. Problems. Puzzle 1

Motivation. Problems. Puzzle 1 Introution to Roust Algorithms Séstin Tixuil UPMC & IUF Motition Approh Fults n ttks our in th ntwork Th ntwork s usr must not noti somthing wrong hppn A smll numr of fulty omponnts Msking pproh to fult/ttk

More information

Discovering Pairwise Compatibility Graphs

Discovering Pairwise Compatibility Graphs Disovring Pirwis Comptiility Grphs Muhmm Nur Ynhon, M. Shmsuzzoh Byzi, n M. Siur Rhmn Dprtmnt of Computr Sin n Enginring Bnglsh Univrsity of Enginring n Thnology nur.ynhon@gmil.om, shms.yzi@gmil.om, siurrhmn@s.ut..

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

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

(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

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

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

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

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

Errata for Second Edition, First Printing

Errata for Second Edition, First Printing Errt for Scond Edition, First Printing pg 68, lin 1: z=.67 should b z=.44 pg 1: Eqution (.63) should rd B( R) = x= R = θ ( x R) p( x) R 1 x= [1 G( x)] = θp( R) + ( θ R)[1 G( R)] pg 15, problm 6: dmnd of

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

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

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

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

a b c cat CAT A B C Aa Bb Cc cat cat Lesson 1 (Part 1) Verbal lesson: Capital Letters Make The Same Sound Lesson 1 (Part 1) continued...

a b c cat CAT A B C Aa Bb Cc cat cat Lesson 1 (Part 1) Verbal lesson: Capital Letters Make The Same Sound Lesson 1 (Part 1) continued... Progrssiv Printing T.M. CPITLS g 4½+ Th sy, fun (n FR!) wy to tch cpitl lttrs. ook : C o - For Kinrgrtn or First Gr (not for pr-school). - Tchs tht cpitl lttrs mk th sm souns s th littl lttrs. - Tchs th

More information