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

Size: px
Start display at page:

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

Transcription

1 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 jj@s.us.u Mrlo Spohn Rootop Communitions Mountin Viw, Cliorni 9404 mrlo@rootop.om Astrt- W prsnt th sour-tr ptiv routing () protool, whih w show through simultion xprimnts to r mor iint thn th Dynmi Sour Routing () protool, whih hs n shown to on o th st prorming on-mn routing protools. A routr in ommunits to its nighors th prmtrs o its sour routing tr, whih onsists o h link tht th routr ns to rh vry stintion. To onsrv trnsmission nwith n nrgy, routr trnsmits hngs to its sour routing tr only whn th routr tts nw stintions, th possiility o looping, or th possiility o no ilurs or ntwork prtitions. I. INTRODUCTION Multi-hop pkt-rio ntworks, or -ho ntworks, onsist o moil hosts intronnt y routrs tht n lso mov. Th ploymnt o suh routrs is -ho n th topology o th ntwork is vry ynmi, us o host n routr moility, signl loss n intrrn, n powr outgs. In ition, th hnnl nwith vill in -ho ntworks is rltivly limit ompr to wir ntworks, n untthr routrs my n to oprt with ttry-li onstrints. Routing lgorithms or -ho ntworks n tgoriz oring to th wy in whih routrs otin routing inormtion, n oring to th typ o inormtion thy us to omput prrr pths. In trms o th wy in whih routrs otin inormtion, routing protools hv n lssii s tl-rivn n on-mn. In trms o th typ o inormtion us y routing protools, routing protools n lssii into link-stt protools n istn-vtor protools. Routrs running link-stt protool us topology inormtion to mk routing isions; routrs running istn-vtor protool us istns n, in som ss, pth inormtion, to stintions to mk routing isions. In n on-mn routing protool, routrs mintin pth inormtion or only thos stintions tht thy n to ontt s sour or rly o inormtion. Th si pproh onsists o llowing routr tht os not know how to rh stintion to sn loo-srh mssg to otin th pth inormtion it ns. Th irst routing protool o this typ ws propos to stlish virtul iruits in th MSE ntwork [9], n thr r svrl mor rnt xmpls o this pproh (.g., AODV [3], [7], TORA []). Th Dynmi Sour Routing () protool hs n shown to outprorm mny othr onmn routing protools [2]. All o th on-mn routing protools rport to t r s on istns to stintions, n thr hv n no on-mn link-stt proposls to t. In tl-rivn lgorithm, h routr mintins pth inormtion or h known stintion in th ntwork n upts its routing-tl ntris s n. Exmpls o tl-rivn lgorithms s on is- This work ws support in prt t UCSC y th Dns Avn Rsrh Projts Agny (DAR PA) unr Grnt F tn vtors r th routing protool o th DARPA pkt-rio ntwork [8], DSDV [2], WRP [5], n WIRP [4]. Prior tl-rivn pprohs to link-stt routing in pkt-rio ntworks r s on topology rost. Howvr, issminting omplt link-stt inormtion to ll routrs inurs xssiv ommunition ovrh in n -ho ntwork us o th ynmis o th ntwork n th smll nwith vill. Aoringly, ll link-stt routing pprohs or pkt-rio ntworks hv n s on hirrhil routing shms [4], [6]. To t, th t on whthr tl-rivn or n on-mn routing pproh is st or wirlss ntworks hs ssum tht tlrivn routing nssrily hs to provi optimum (.g., shortst-pth) routing, whn in t on-mn routing protools nnot nsur optimum pths. In this ppr, w introu th sour-tr ptiv routing () protool, whih is th irst xmpl o tl-rivn routing protool tht is mor iint thn ny on-mn routing protool y xploiting link-stt inormtion n llowing pths tkn to stintions to vit rom th optimum in orr to sv nwith. Furthrmor, n us with istriut hirrhil routing shms propos in th pst or oth istn-vtor or link-stt routing. Stion II sris, n Stion III omprs s prormn ginst th prormn o, whih hs n shown to inur th lst ovrh mong svrl on-mn routing protools [2]. A. Ovrviw II. DESCRIPTION In, h routr rports to its nighors th hrtristis o vry link it uss to rh stintion. Th st o links us y routr in its prrr pth to stintions is ll th sour tr o th routr. A routr knows its jnt links n th sour trs rport y its nighors; th ggrgtion o routr s jnt links n th sour trs rport y its nighors onstitut prtil topology grph. Th links in th sour tr n topology grph must jnt links or links rport y t lst on nighor. Th routr uss th topology grph to gnrt its own sour tr. Eh routr rivs routing tl spiying th sussor to h stintion y running lol rout-sltion lgorithm on its sour tr. Although ny typ o lol rout-sltion lgorithm n us in, w sri ssuming tht Dijkstr s shortst-pth irst (SPF) lgorithm is us t h routr to omput prrr pths. A routr running sns upts on its sour tr to its nighors only whn it loss ll pths to on or mor stintions, whn it tts nw stintion, or whn it trmins tht lol hngs to its sour tr n potntilly rt long trm routing loops. Bus h routr ommunits its sour tr to its nighors, th ltion o link no longr us to rh stintion is impliit with th ition o th nw link us to rh th stintion n n not snt xpliitly s n upt; routr mks xpliit rrn to il link only whn th ltion o link uss th routr to hv no pths to

2 2o5 on or mor stintions, in whih s th routr nnot provi nw links to mk th ltion o th il link impliit. Th si upt unit us in to ommunit hngs to sour trs is th link-stt upt (LSU). An LSU or link (u; v) in n upt mssg is tupl (u; v; l; sn) rporting th hrtristis o th link, whr l rprsnts th ost o th link n sn is th squn numr ssign to th LSU; n upt mssg ontins on or mor LSUs. For link twn routr u n routr or stintion v, routr u is ll th h no o th link in th irtion rom u to v. Th h no o link is th only routr tht n rport hngs in th prmtrs o tht link. LSUs r vlit using squn numrs, routr riving n LSU pts th LSU s vli i th riv LSU hs lrgr squn numr thn th squn numr o th LSU stor rom th sm sour, or i thr is no ntry or th link in th topology grph n th LSU is not rporting n ininit ost. Link-stt inormtion or il links r th only LSUs rs rom th topology grph u to ging (whih is in th orr o n hour tr hving pross th LSU). LSUs or oprtionl links r rs rom th topology grph whn th links r rs rom th sour tr o ll th nighors. W not tht, us LSUs or oprtionl links nvr g out, thr is no n or th h no o link to sn prioi LSUs to upt th squn numr o th link. This is vry importnt, us it mns tht os not n prioi upt mssgs to vlit link-stt inormtion lik OSPF [0] n vry singl routing protool s on squn numrs or tim stmps os! To simpliy our sription, th spiition in th rst o this ppr sris s i unoun ountrs wr vill to kp trk o squn numrs. An unrlying protool, whih w ll th nighor protool, ssurs tht routr tts within init tim th xistn o nw nighor n th loss o onntivity with nighor, n provis th rlil trnsmission o upt mssgs gnrt y to th nighors o th routr. All mssgs, hngs in th ost o link, link ilurs, n nw-nighor notiitions r pross on t tim within init tim n in th orr in whih thy r tt. Routrs r ssum to oprt orrtly, n inormtion is ssum to stor without rrors. Th ost o il link is onsir to ininity. B. Exhnging Upt Mssgs W n istinguish twn two min pprohs to upting routing inormtion in th routing protools tht hv n sign or wirlss ntworks: th optimum routing pproh (ORA) n th lstovrh routing pproh (LORA). With ORA, th routing protool ttmpts to upt routing tls s quikly s possil to provi pths tht r optimum with rspt to in mtri. In ontrst, with LORA, th routing protool ttmpts to provi vil pths oring to givn prormn mtri, whih n not optimum, to inur th lst mount o ontrol tri. On-mn routing protools suh s ollow LORA. Intrstingly, ll th tl-rivn routing protools rport to t or -ho ntworks hr to ORA, n mittly hv n pttions o routing protools vlop or wir ntworks; is th irst tlrivn routing protool tht implmnts LORA. In n on-mn routing protool, routr n kp using pth oun s long s th pth ls to th stintion, vn i th pth os not hv optimum ost. A similr pproh is us in, us h routr hs omplt pth to vry stintion s prt o its sour tr. A routr i running shoul sn upt mssgs oring to th ollowing thr ruls, whih inorm routrs o unrhl stintions, nw stintions, n upt topology inormtion to prvnt prmnnt routing loops. Routr i implmnts ths ruls y ompring its sour tr ginst th sour trs it hs riv rom its nighors. LORA-: Routr i ins nw stintion, or ny o its nighors rports nw stintion. Whnvr routr hrs rom nw nighor tht is lso nw stintion, it sns n upt mssg tht inlus th nw LSUs in its sour tr. Oviously, whn routr is irst initiliz or tr root, th routr itsl is nw stintion n shoul sn n upt mssg to its nighors. Link-lvl support shoul us or th routr to know its nighors within short tim, n thn rport its links to thos nighors with LSUs snt in n upt mssg. Els, simpl wy to implmnt n initiliztion tion onsists o rquiring th routr to listn or som tim or nighor tri, so tht it n tt th xistn o links to nighors. LORA-2: At lst on stintion oms unrhl to routr i or ny o its nighors. Whn routr prosss n input vnt (.g., link ils, n upt mssg is riv) tht uss ll its pths through ll its nighors to on or mor stintion to svr, th routr sns n upt mssg tht inlus n LSU spiying n ininit ost or th link onnting to th h o h sutr o th sour tr tht oms unrhl. Th upt mssg os not hv to inlu n LSU or h no in n unrhl sutr, us nighor riving th upt mssg hs th sning no s sour tr n n thror inr tht ll nos low th root o th sutr r lso unrhl, unlss LSUs r snt or nw links us to rh som o th nos in th sutr. LORA-3: This rul hs thr prts:. A pth impli in th sour tr o routr i ls to loop. 2. Th nw sussor hosn to givn stintion hs n rss lrgr thn th rss o routr i. 3. Th rport istn rom th nw hosn sussor n to stintion j is longr thn th rport istn rom th prvious sussor to th sm stintion. Howvr, i th link (i; j) ils n n is nighor o j, no upt mssg is n rgring j or ny stintion whos pth rom i involvs j. Eh tim routr prosss n upt mssg rom nighor, it upts tht nighor s sour tr n trvrss tht tr to trmin or whih stintions its nighor uss th routr s rly in its prrr pths. Th routr thn trmins i it is using th sm nighor s rly or ny o th sm stintions. A routing loop is tt i th routr n nighor us h othr s rly to ny stintion, in whih s th loop must rokn n th routr must sn n upt mssg with th orrsponing hngs. To xplin th n or th son prt o LORA-3, w osrv tht, in ny routing loop mong routrs with uniqu rsss, on o th routrs must hv th smllst rss in th loop; thror, i routr is or to sn n upt mssg whn it hooss sussor whos rss is lrgr thn its own, thn it is not possil or ll routrs in routing loop to rmin quit tr hoosing on nothr, us t lst on o thm is or to sn n upt mssg, whih uss th loop to rk whn routrs upt thir sour trs. Th lst prt o LORA-3 is n whn link osts n ssum irnt vlus in irnt irtions, in whih s th son prt o LORA-3 my not sui to rk loops us th no with th smllst rss in th loop my not hv to hng sussors whn th loop is orm. Th ollowing xmpl illustrts this snrio. Consir th six-no wirlss ntwork shown in Figur n ssum

3 3o5 tht th thir prt o LORA-3 is not in t t th routrs running. In this xmpl, nos r givn intiirs tht r lxiogrphilly orr, i.., is th smllst intiir n is th lrgstintiir in th grph. All links n nos r ssum to hv th sm propgtion lys, n ll th links ut link (; ) hv unit ost. Figurs () through () show th sour trs oring to t th routrs init with ill irls or th ntwork topology pit in Figur (). Arrowhs on soli lins init th irtion o th links stor in th routr s sour tr. Figur () shows s nw sour tr tr prossing th ilur o link (; ); w not tht os not gnrt n upt mssg, us >y ssumption. Suppos link (; ) ils immitly tr th ilur o (; ), no omputs its nw sour tr shown in Figur () without rporting hngs to it us isitsnwsussor tostintions,, n, n <. A prmnnt loop orms mong nos,,n. Figur 2 pits th squn o vnts triggr y th xution o th thir prt o LORA-3 in th sm xmpl introu in Figur, tr th ilurs o links (; ) n (; ). Th igur shows th LSUs gnrt y th no with ill irl trnsmitt in n upt mssg to th nighors, n shows suh LSUs in prnthss. Th thir lmnt in n LSU orrspons to th ost o th link. Unlik in th prvious xmpl, no trnsmits n upt mssg tr prossing th ilur o link (; ) us o th thir prt o LORA-3; th istn rom th nw sussor to n is longr thn rom th prvious sussor. Whn link (; ) ils, no rlizs tht th stintions,, n r unrhl n gnrts n upt mssg rporting th ilur o th link onnting to th h o th sutr o th sour tr tht oms unrhl. Th upt mssg rom triggrs th upt mssgs tht llow nos,, n to rliz tht thr r no pths to,, n. A similr squn o vnts tks pl t th othr si o th ntwork prtition. Th xmpl shown in Figur 3 illustrts th snrio in whih routr tht hooss nw sussor to stintion with lrgr istn to it os not n to sn n upt mssg. For this xmpl, th sour trs o nos,, n r pit in Figurs 2(), (), n 2(), rsptivly. Figur 3() shows th nw sour tr o no tr th ilur o link (; ). In this s, os not n to sn n upt mssg us th prnt no o th sutr h y is nighor o n thror no prmnnt loop n orm. To nsur tht th ov ruls work with inrmntl upts spiying only hngs to sour tr, routr must rmmr th sour tr tht ws lst notii to its nighors. I ny o LORA- to LORA- 3 r stisi, th routr must o on o two things: I th nw sour tr inlus nw nighors thn thos prsnt in th sour tr tht ws lst upt, thn th routr must sn its ntir sour tr in its upt, so tht nw nighors lrn out ll th stintions th routr knows. I th two sour trs imply th sm nighors, th routr sns only th upts n to otin th nw tr rom th ol on. To nsur tht stops sning upt mssgs, simpl rul n us to trmin whih routr must stop using its nighor s rly, suh rul n, or xmpl, th routr with th smllr rss must hng its pth. Th ov ruls r suiint to nsur tht vry routr otins looplss pths to ll known stintions, without th routrs hving to sn upts prioilly. In ition to th ility or routr to tt loops in, th two ky turs tht nl to opt LORA r: () vliting LSUs without th n o prioi upts, n () th ility to ithr listn to nighors pkts or us nighor protool t th link lyr to trmin who th nighors o routr r. I ORA is to support in, th only rul n or sning 5 5 () () (,, ininity) 5 () () Fig.. Routrs running without th thir prt o LORA-3 in t. () () (,, ) (,, ) (,, ) () (,, ininity) () () () (,, ) (,, ) () (,, ininity) Fig. 2. Routrs running with th thir prt o LORA-3 in t. 0 () Fig. 3. Th thir prt o LORA-3 not lwys triggrs th gnrtion o n upt mssg: () ntwork topology, n () th nw sour tr o no tr prossing th ilur o link (; ). upt mssgs onsists o routr sning n upt mssg vry tim its sour tr hngs. III. PERFORMANCE EVALUATION hs th sm ommunition, storg, n tim omplxity thn ALP [5] n iint tl-rivn istn-vtor routing protools propos to t (.g., WRP [5]). Howvr, worst-s prormn is not truly initiv o s prormn. W ompr with, us hs n shown to on o th st-prorming on-mn routing protools [2]. Th protool stk implmnttion in our simultor runs th vry sm o us in rl m wirlss routr n IP (Intrnt Protool) is us s th ntwork protool. Th link lyr implmnts mium ss ontrol (MAC) protool similr to th IEEE 802. [6] stnr n th physil lyr is s () ()

4 4o5 on irt squn spr sptrum rio with link nwith o Mit/s. Th nighor protool is onigur to rport loss o onntivity to nighor i th protion o th link ils in prio o out 0 sons. Th simultion xprimnts us 20 nos orming n -ho ntwork, moving ovr lt sp (5000m x 7000m), n initilly rnomly istriut t nsity o on no pr squr kilomtr. Th simultion stuy ws onut in th C++ Protool Toolkit (CPT) simultor nvironmnt. Th simultion xprimnts us th sm mthoology us rntly to vlut n othr on-mn routing protools [2]. To run in our simultion nvironmnt, w port th ns2 o vill rom [7] into th CPT simultor. Thr r only two irns in our implmnttion with rspt to tht us in [2]: () in th m wirlss routrs n simult protool stk w us thr is no ss to th MAC lyr n nnot rshul pkts lry shul or trnsmission ovr link (howvr, this is th s or ll th protools w simult), n (2) routrs nnot oprt thir ntwork intrs in promisuous mo us th MAC protool oprts ovr multipl hnnls n routr os not know on whih hnnls its nighors r trnsmitting, unlss th pkts r mnt or th routr. Both n n ur 20 pkts tht r witing isovry o rout through th ntwork. Th ovrll gol o th simultion xprimnts ws to msur th ility o th routing protools to rt to hngs in th ntwork topology whil livring t pkts to thir stintions. To msur this ility w ppli to th simult ntwork thr irnt ommunition pttrns orrsponing to 8, 4, n 20 t lows. Th totl worklo in th thr snrios ws th sm n onsist o 32 t pkts/s, in th snrio with 8 lows h ontinuous it rt (CBR) sour gnrt 4 pkts/s, in th snrio with 20 sours h CBR sour gnrt.6 pkts/s, n in th snrio with 4 lows thr wr 7 lows rom istint CBR sours to th sm stintion D gnrting n ggrgt o 28 pkts/s n 7 lows hving D s th CBR sour n th othr 7 sours o t s stintions. In ll th snrios th numr o uniqu stintions ws 8 n th pkt siz ws 64 yts. Th t lows wr strt t tims uniormly istriut twn 20 n 20 sons (w hos to strt th lows tr 20 sons o simult tim to giv som tim to th Link Lyr or trmining th st o nos tht r nighors o th routrs). Th protool vlutions r s on th simultion o 20 wirlss nos in ontinuous motion or 900 n 800 sons o simult tim. Tls I n II summriz th hvior o n oring to th simult tim. Th tls show th totl numr o upt pkts trnsmitt y th nos n th totl numr o t pkts livr to th pplitions or th thr simult worklos. Th totl numr o upt pkts trnsmitt y routrs running vris with th numr o hngs in link onntivity whil gnrts ontrol pkts s on oth vrition o hngs in onntivity n th typ o worklo insrt in th ntwork. Routrs running gnrt lss upt pkts thn in ll simult snrios, th irn inrs signiintly whn t tri ws insrt in th ntwork or 800 sons: routrs running snt rom 00% to 600% mor upt pkts thn whn nos wr moving uring 800 sons o simult tim, n rom 35% to 400% mor upt pkts whn nos wr moving uring 900 sons. Both n wr l to livr out th sm numr o t pkts to th pplitions in th simult snrios with 8 n 4 lows. Whn w inrs th numr o sours o t rom 8 to 20 nos, whil insrting th sm numr o t pkts in th ntwork (32 pkts/s), w osrv tht ws l to livr s muh Numr Upt Pkts Snt Dt Pkts Dlivr Dt Pkts o Flows Gnrt TABLE I AVERAGE PERFORMANCE OF AND FOR NODES MOVING DURING 900 SECONDS OF SIMULATED TIME, TOTAL CHANGES IN LINK CONNECTIVITY WAS 460. Numr Upt Pkts Snt Dt Pkts Dlivr Dt Pkts o Flows Gnrt TABLE II AVERAGE PERFORMANCE OF AND FOR NODES MOVING DURING 800 SECONDS OF SIMULATED TIME, TOTAL CHANGES IN LINK CONNECTIVITY WAS s thr tims mor t pkts thn uring 800 sons o simult tim, n lmost twi th mount o t pkts livr y uring 900 sons o simult tim. Th MAC lyr isrs ll pkts shul or trnsmission to nighor whn th link to th nighor ils, whih ontriuts to th high loss o t pkts sn y nos. In, h pkt hr rris th omplt orr list o routrs through whih th pkt must pss n my upt y nos long th pth towrs th stintion. Th low throughput hiv y or th s o 20 sours o t is u to th poor hoi o sour routs th routrs mk, ling to signiint inrs in th numr o ROUTE ER- ROR pkts gnrt. Dt pkts r lso isr u to lk o routs to th stintions us th ntwork my om tmporrily prtition or us th routing tls hv not onvrg in th highly ynmi topology w simult. Figurs 4() through 4() show th umultiv istriution o pkt ly xprin y t pkts uring 800 sons o simult tim, or worklo o 8, 4, n 20 lows rsptivly. Th highr ly introu y whn rlying t pkts is not irtly Numr Protool Numr o Hops o Flows TABLE III DISTRIBUTION OF DATA PACKETS DELIVERED ACCORDING TO THE NUMBER OF HOPS TRAVERSED (900 SECONDS OF SIMULATED TIME). Numr Protool Numr o Hops o Flows TABLE IV DISTRIBUTION OF DATA PACKETS DELIVERED ACCORDING TO THE NUMBER OF HOPS TRAVERSED (800 SECONDS OF SIMULATED TIME).

5 5o5 % o t pkts ly (ss) () W not tht in ss whr routrs il or th ntwork oms prtition or xtn tim prios th nwith onsum y is muh th sm s in snrios in whih no routr ils, us ll tht must hppn is or upts out th il links to unrhl stintions to propgt ross th ntwork. In ontrst, n svrl othr on-mn routing protools woul ontinu to sn loo-srh mssgs trying to rh th il stintion, whih woul us worst-s nwith utiliztion or. To illustrt th impt th ilur o singl stintion hs in w hv r-run th simultion snrio with 8 lows prsnt in th ntwork or 800 sons mking on o th stintions il tr 900 sons o simult tim, routrs running snt 088 upt pkts whil routrs running snt 3043 upt pkts. Th xistn o singl low o t to stintion tht ws unrhl or 900 sons m to gnrt 55% mor upt pkts whil gnrt out th sm numr o upts (s Tl II). % o t pkts % o t pkts ly (ss) () ly (ss) () Fig. 4. Cumultiv istriution o pkt ly xprin y t pkts uring 800 sons o simult tim or worklo o () 8 lows, () 4 lows, n () 20 lows. rlt with th numr o hops trvrs y th pkts (s shown in Tls III n IV) ut with th poor hoi o sour routs whn th numr o lows inrs rom 8 to 20. In ll th simultion snrios th numr o stintions ws st to just 40% o th numr o nos in th ntwork in orr to ir with. For th ss in whih ll th nos in th ntwork riv t, woul introu no xtr ovrh whil oul svrly pnliz. It is lso importnt to not th low rtio o upt mssgs gnrt y ompr to th numr o hngs in link onntivity (Tls I n II). IV. CONCLUSIONS W hv prsnt, link-stt protool tht inurs lss ovrh thn on-mn routing protools. Bus n us with ny lustring mhnism propos to t, ths rsults lrly init tht is vry ttrtiv pproh or routing in pktrio ntworks. Prhps mor importntly, th pproh w hv introu in or lst-ovrh routing opns up mny rsrh vnus, suh s vloping similr protools s on istn vtors n trmining how rout ggrgtion works unr LORA. REFERENCES [] D. Brtsks n R. Gllgr, Dt Ntworks, Son Eition, Prnti-Hll, In., 992. [2] J. Broh t l, A Prormn Comprison o Multi-Hop Wirlss A Ho Ntwork Routing Protools, Pro. ACM MOBICOM 98, Dlls, TX, Otor 998. [3] J.J. Gri-Lun-Avs n J. Bhrns, Distriut, sll routing s on vtors o link stts, IEEE Journl on Sl. Ars in Commun., Vol. 3, No. 8, 995. [4] J.J. Gri-Lun-Avs t l., Wirlss Intrnt Gtwys (WINGS), Pro. IEEE MILCOM 97, Montry, Cliorni, Novmr 997. [5] J.J. Gri-Lun-Avs n M. Spohn, Sll Link-Stt Intrnt Routing, Pro. IEEE Intrntionl Conrn on Ntwork Protools (ICNP 98), Austin, Txs, Otor 4-6, 998. [6] P802. Unpprov Drt: Wirlss LAN Mium Ass Control (MAC) n Physil Spiitions, IEEE, Jnury 996. [7] D. Johnson n D. Mltz, Protools or Aptiv Wirlss n Moil Ntworking, IEEE Prs. Commun., Vol. 3, No., Frury 996. [8] J. Juin n J. Tornow, Th DARPA Pkt Rio Ntwork Protools, Proings o th IEEE, Vol. 75, No., Jnury 987. [9] V.O.K. Li n R. Chng, Propos routing lgorithms or th US Army moil susrir quipmnt (MSE) ntwork, Pro. IEEE MILCOM 86, Montry, Cliorni, Otor 986. [0] J. Moy, OSPF Vrsion 2, RFC 583, Ntwork Working Group, Mrh 994. [] V. Prk n M. Corson, A Highly Aptiv Distriut Routing Algorithm or Moil Wirlss Ntworks, Pro. IEEE INFOCOM 97, Ko, Jpn, April 997. [2] C. Prkins n P. Bhgwt, Highly Dynmi Dstintion-Squn Distn- Vtor Routing (DSDV) or Moil Computrs, Pro. ACM SIGCOMM 94, Lonon, UK, Otor 994. [3] C. Prkins, A-Ho On Dmn Distn Vtor (AODV) Routing, rt-itmnt-ov-00.txt, Novmr 997. [4] R. Rmnthn n M. Stnstrup, Hirrhilly-orgniz, Multihop Moil Wirlss Ntworks or Qulity-o-Srvi Support, ACM Moil Ntworks n Applitions, Vol.3, No., pp. 0-9, 998. [5] S. Murthy n J.J. Gri-Lun-Avs, An Eiint Routing Protool or Wirlss Ntworks, ACM Moil Ntworks n Applitions Journl,Spil issu on Routing in Moil Communition Ntworks, 996. [6] M. Stnstrup (E.), Routing in Communition Ntworks, Prnti-Hll, 995. [7] Th CMU Monrh Projt, Wirlss n Moility Extnsions to ns-2 - Snpshot.0.0-t, URL: August 998.

, 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

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

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

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

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

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

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

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

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

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

More information

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

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

More information

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

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

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

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

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

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

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

(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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

C-201 Sheet Bar Measures 1 inch

C-201 Sheet Bar Measures 1 inch Janine M. lexander, P.. P.. No. 9, L 0 N. PRK RO, SUIT 0 HOLLYWOO, LORI 0 PHON: (9) - X: (9) 08- No.: 9 I ST SRIPTION Y GT VLVS SHLL RSILINT ST, MNUTUR TO MT OR X TH RQUIRMNTS O WW 09 (LTST RVISION) N

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

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

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

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

DUET WITH DIAMONDS COLOR SHIFTING BRACELET By Leslie Rogalski

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

More information

Mitigation of Flooding Disruption Attacks in Hierarchical OLSR Networks

Mitigation of Flooding Disruption Attacks in Hierarchical OLSR Networks Mitigtion o Flooing Disruption Attks in Hirrhil OLSR Ntworks Gimr Crvr, Mihl Bru, Joquin Gri-Alro n Evnglos Krnkis Shool o Computr Sin, Crlton Univrsity, K1S 5B6, Ottw, Ontrio, Cn Emil: {gvi,ru,krnkis}@ss.rlton.

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

Module 2 Motion Instructions

Module 2 Motion Instructions Moul 2 Motion Instrutions CAUTION: Bor you strt this xprimnt, unrstn tht you r xpt to ollow irtions EXPLICITLY! Tk your tim n r th irtions or h stp n or h prt o th xprimnt. You will rquir to ntr t in prtiulr

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

An Efficient FPGA Implementation of the Advanced Encryption Standard Algorithm G. Mohan 1 K. Rambabu 2

An Efficient FPGA Implementation of the Advanced Encryption Standard Algorithm G. Mohan 1 K. Rambabu 2 IJSRD - Intrntionl Journl or Sintii Rsrh & Dvlopmnt Vol., Issu, ISSN (onlin): - An Eiint FPGA Implmnttion o th Avn Enryption Stnr Algorithm G. Mohn K. Rmu M.Th Assistnt Prossor Dprtmnt o Eltronis n ommunition

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

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

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

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

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

Nefertiti. Echoes of. Regal components evoke visions of the past MULTIPLE STITCHES. designed by Helena Tang-Lim

Nefertiti. Echoes of. Regal components evoke visions of the past MULTIPLE STITCHES. designed by Helena Tang-Lim MULTIPLE STITCHES Nrtiti Ehos o Rgl omponnts vok visions o th pst sign y Hln Tng-Lim Us vrity o stiths to rt this rgl yt wrl sign. Prt sping llows squr s to mk roun omponnts tht rp utiully. FCT-SC-030617-07

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

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

GREEDY TECHNIQUE. Greedy method vs. Dynamic programming method:

GREEDY TECHNIQUE. Greedy method vs. Dynamic programming method: Dinition: GREEDY TECHNIQUE Gry thniqu is gnrl lgorithm sign strtgy, uilt on ollowing lmnts: onigurtions: irnt hois, vlus to in ojtiv untion: som onigurtions to ithr mximiz or minimiz Th mtho: Applil to

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

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

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

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

More information

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

Jonathan Turner Exam 2-10/28/03

Jonathan Turner Exam 2-10/28/03 CS Algorihm n Progrm Prolm Exm Soluion S Soluion Jonhn Turnr Exm //. ( poin) In h Fioni hp ruur, u wn vrx u n i prn v u ing u v i v h lry lo hil in i l m hil o om ohr vrx. Suppo w hng hi, o h ing u i prorm

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

DEVELOPING COMPUTER PROGRAM FOR COMPUTING EIGENPAIRS OF 2 2 MATRICES AND 3 3 UPPER TRIANGULAR MATRICES USING THE SIMPLE ALGORITHM

DEVELOPING COMPUTER PROGRAM FOR COMPUTING EIGENPAIRS OF 2 2 MATRICES AND 3 3 UPPER TRIANGULAR MATRICES USING THE SIMPLE ALGORITHM Fr Est Journl o Mthtil Sins (FJMS) Volu 6 Nur Pgs 8- Pulish Onlin: Sptr This ppr is vill onlin t http://pphjo/journls/jsht Pushp Pulishing Hous DEVELOPING COMPUTER PROGRAM FOR COMPUTING EIGENPAIRS OF MATRICES

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

Chapter 18. Minimum Spanning Trees Minimum Spanning Trees. a d. a d. a d. f c

Chapter 18. Minimum Spanning Trees Minimum Spanning Trees. a d. a d. a d. f c Chptr 8 Minimum Spnning Trs In this hptr w ovr importnt grph prolm, Minimum Spnning Trs (MST). Th MST o n unirt, wight grph is tr tht spns th grph whil minimizing th totl wight o th gs in th tr. W irst

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

EXAMPLE 87.5" APPROVAL SHEET APPROVED BY /150HP DUAL VFD CONTROL ASSEMBLY CUSTOMER NAME: CAL POLY SLO FINISH: F 20

EXAMPLE 87.5 APPROVAL SHEET APPROVED BY /150HP DUAL VFD CONTROL ASSEMBLY CUSTOMER NAME: CAL POLY SLO FINISH: F 20 XMPL XMPL RVISIONS ZON RV. SRIPTION T PPROV 0.00 THIS IS N PPROVL RWING OR YOUR ORR. OR MNUTURING N GIN, THIS RWING MUST SIGN N RTURN TO MOTION INUSTRIS. NY HNGS M TO THIS RWING, TR MNUTURING HS GUN WILL

More information

RAM Model. I/O Model. Real Machine Example: Nehalem : Algorithms in the Real World 4/9/13

RAM Model. I/O Model. Real Machine Example: Nehalem : Algorithms in the Real World 4/9/13 4//3 RAM Mol 5-853: Algorithms in th Rl Worl Lolity I: Ch-wr lgorithms Introution Sorting List rnking B-trs Bur trs Stnr thortil mol or nlyzing lgorithms: Ininit mmory siz Uniorm ss ost Evlut n lgorithm

More information

In which direction do compass needles always align? Why?

In which direction do compass needles always align? Why? AQA Trloy Unt 6.7 Mntsm n Eltromntsm - Hr 1 Complt t p ll: Mnt or s typ o or n t s stronst t t o t mnt. Tr r two typs o mnt pol: n. Wrt wt woul ppn twn t pols n o t mnt ntrtons low: Drw t mnt l lns on

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 166 Week in Review 2 Sections 1.1b, 1.2, 1.3, & 1.4

Math 166 Week in Review 2 Sections 1.1b, 1.2, 1.3, & 1.4 Mt 166 WIR, Sprin 2012, Bnjmin urisp Mt 166 Wk in Rviw 2 Stions 1.1, 1.2, 1.3, & 1.4 1. S t pproprit rions in Vnn irm tt orrspon to o t ollowin sts. () (B ) B () ( ) B B () (B ) B 1 Mt 166 WIR, Sprin 2012,

More information

Constructing Minimal Spanning/Steiner Trees. with Bounded Path Length. Department of EE-Systems

Constructing Minimal Spanning/Steiner Trees. with Bounded Path Length. Department of EE-Systems Construting Miniml pnning/tinr Trs with Boun Pth Lngth Iksoo Pyo Jwon Oh n Mssou Prm JF1-61 Dprtmnt o EE-ystms Intl Corporttion Univrsity o outhrn Cliorni Hillsoro, OR 9714 Los Angls, CA 90089 Astrt This

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

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

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

Self-Adjusting Top Trees

Self-Adjusting Top Trees Th Polm Sl-jsting Top Ts ynmi ts: ol: mintin n n-tx ost tht hngs o tim. link(,w): ts n g twn tis n w. t(,w): lts g (,w). pplition-spii t ssoit with gs n/o tis. ont xmpls: in minimm-wight g in th pth twn

More information