4.4 Shortest Paths in a Graph
|
|
- Linette Richard
- 6 years ago
- Views:
Transcription
1 hortst Path Problm. hortst Paths i a Graph hortst path twork. Dirctd graph G = (V, E). ourc s, dstiatio t. Lgth = lgth of dg. hortst path problm: fid shortst dirctd path from s to t. cost of path = sum of dg costs i path shortst path from Pricto C dpartmt to Eisti's hous s Cost of path s----t = =. t Dijkstra's Algorithm Dijkstra's Algorithm Dijkstra's algorithm. Maitai a st of xplord ods for which w hav dtrmid th shortst path distac d(u) from s to u. Iitializ = { s }, d(s) = 0. Rpatdly choos uxplord od v which miimizs ( v) mi ( u, v) : u d( u), Dijkstra's algorithm. Maitai a st of xplord ods for which w hav dtrmid th shortst path distac d(u) from s to u. Iitializ = { s }, d(s) = 0. Rpatdly choos uxplord od v which miimizs ( v) mi ( u, v) : u d( u), add v to, ad st d(v) = (v). shortst path to som u i xplord part, followd by a sigl dg (u, v) add v to, ad st d(v) = (v). shortst path to som u i xplord part, followd by a sigl dg (u, v) d(u) u v d(u) u v s s
2 Dijkstra's Algorithm: Proof of Corrctss Dijkstra's Algorithm: Implmtatio Ivariat. For ach od u, d(u) is th lgth of th shortst s-u path. Pf. (by iductio o ) Bas cas: = is trivial. Iductiv hypothsis: Assum tru for = k. Lt v b xt od addd to, ad lt u-v b th chos dg. Th shortst s-u path plus (u, v) is a s-v path of lgth (v). Cosidr ay s-v path P. W'll s that it's o shortr tha (v). Lt x-y b th first dg i P that lavs, P ad lt P' b th subpath to x. P is alrady too log as soo as it lavs. P' x y (P) (P') + (x,y) d(x) + (x, y) (y) (v) ogativ wights iductiv hypothsis df of (y) s Dijkstra chos v istad of y u v For ach uxplord od, xplicitly maitai (v) mi d(u). (u,v):u Nxt od to xplor = od with miimum (v). Wh xplorig v, for ach icidt dg = (v, w), updat (w) mi { (w), (v) }. Efficit implmtatio. Maitai a priority quu of uxplord ods, prioritizd by (v). PQ Opratio Isrt ExtractMi ChagKy Dijkstra m Array Biary hap log log log Priority Quu d-way Hap d log d d log d log d Idividual ops ar amortizd bouds Fib hap IsEmpty log Total m log m log m/ m + log 9 0
3 Chaptr. Miimum paig Tr Grdy Algorithms lids by Kvi Way. Copyright 00 Parso-Addiso Wsly. All rights rsrvd. Miimum paig Tr Applicatios Miimum spaig tr. Giv a coctd graph G = (V, E) with ralvalud dg wights c, a MT is a subst of th dgs T E such that T is a spaig tr whos sum of dg wights is miimizd. MT is fudamtal problm with divrs applicatios. Ntwork dsig. tlpho, lctrical, hydraulic, TV cabl, computr, road Approximatio algorithms for NP-hard problms. travlig salsprso problm, tir tr 9 0 G = (V, E) T, T c = 0 9 Idirct applicatios. max bottlck paths LDPC cods for rror corrctio imag rgistratio with Ryi tropy larig salit faturs for ral-tim fac vrificatio rducig data storag i squcig amio acids i a proti modl locality of particl itractios i turbult fluid flows autocofig protocol for Ethrt bridgig to avoid cycls i a twork Cayly's Thorm. Thr ar - spaig trs of K. Clustr aalysis. ca't solv by brut forc
4 Grdy Algorithms Grdy Algorithms Kruskal's algorithm. tart with T =. Cosidr dgs i ascdig ordr of cost. Isrt dg i T ulss doig so would crat a cycl. Rvrs-Dlt algorithm. tart with T = E. Cosidr dgs i dscdig ordr of cost. Dlt dg from T ulss doig so would discoct T. Prim's algorithm. tart with som root od s ad grdily grow a tr T from s outward. At ach stp, add th chapst dg to T that has xactly o dpoit i T. implifyig assumptio. All dg costs c ar distict. Cut proprty. Lt b ay subst of ods, ad lt b th mi cost dg with xactly o dpoit i. Th th MT cotais. Cycl proprty. Lt C b ay cycl, ad lt f b th max cost dg blogig to C. Th th MT dos ot cotai f. f C Rmark. All thr algorithms produc a MT. is i th MT f is ot i th MT Cycls ad Cuts Cycl-Cut Itrsctio Cycl. t of dgs th form a-b, b-c, c-d,, y-z, z-a. Claim. A cycl ad a cutst itrsct i a v umbr of dgs. Cycl C = -, -, -, -, -, - Cycl C = -, -, -, -, -, - Cutst D = -, -, -, -, - Itrsctio = -, - Cutst. A cut is a subst of ods. Th corrspodig cutst D is th subst of dgs with xactly o dpoit i. Cut = {,, } Cutst D = -, -, -, -, - Pf. (by pictur) C V -
5 Grdy Algorithms Grdy Algorithms implifyig assumptio. All dg costs c ar distict. Cut proprty. Lt b ay subst of ods, ad lt b th mi cost dg with xactly o dpoit i. Th th MT T* cotais. Pf. (xchag argumt) uppos dos ot blog to T*, ad lt's s what happs. Addig to T* crats a cycl C i T*. Edg is both i th cycl C ad i th cutst D corrspodig to thr xists aothr dg, say f, that is i both C ad D. T' = T* { } - { f } is also a spaig tr. ic c < c f, cost(t') < cost(t*). This is a cotradictio. f implifyig assumptio. All dg costs c ar distict. Cycl proprty. Lt C b ay cycl i G, ad lt f b th max cost dg blogig to C. Th th MT T* dos ot cotai f. Pf. (xchag argumt) uppos f blogs to T*, ad lt's s what happs. Dltig f from T* crats a cut i T*. Edg f is both i th cycl C ad i th cutst D corrspodig to thr xists aothr dg, say, that is i both C ad D. T' = T* { } - { f } is also a spaig tr. ic c < c f, cost(t') < cost(t*). This is a cotradictio. f T* 9 T* 0 Prim's Algorithm: Proof of Corrctss Implmtatio: Prim's Algorithm Prim's algorithm. [Jarík 90, Dijkstra 9, Prim 99] Iitializ = ay od. Apply cut proprty to. Add mi cost dg i cutst corrspodig to to T, ad add o w xplord od u to. Implmtatio. Us a priority quu ala Dijkstra. Maitai st of xplord ods. For ach uxplord od v, maitai attachmt cost a[v] = cost of chapst dg v to a od i. O( ) with a array; O(m log ) with a biary hap. Prim(G, c) { forach (v V) a[v] Iitializ a mpty priority quu Q forach (v V) isrt v oto Q Iitializ st of xplord ods } whil (Q is ot mpty) { u dlt mi lmt from Q {u} forach (dg = (u, v) icidt to u) if ((v ) ad (c < a[v])) dcras priority a[v] to c
6 Kruskal's Algorithm: Proof of Corrctss Implmtatio: Kruskal's Algorithm Kruskal's algorithm. [Kruskal, 9] Cosidr dgs i ascdig ordr of wight. Cas : If addig to T crats a cycl, discard accordig to cycl proprty. Cas : Othrwis, isrt = (u, v) ito T accordig to cut proprty whr = st of ods i u's coctd compot. Implmtatio. Us th uio-fid data structur. Build st T of dgs i th MT. Maitai st for ach coctd compot. O(m log ) for sortig ad O(m (m, )) for uio-fid. m log m is O(log ) sstially a costat Kruskal(G, c) { ort dgs wights so that c c... c m. T forach (u V) mak a st cotaiig siglto u Cas v u Cas } for i = to m ar u ad v i diffrt coctd compots? (u,v) = i if (u ad v ar i diffrt sts) { T T { i } mrg th sts cotaiig u ad v } mrg two compots rtur T Lxicographic Tibrakig To rmov th assumptio that all dg costs ar distict: prturb all dg costs by tiy amouts to brak ay tis.. Clustrig Impact. Kruskal ad Prim oly itract with costs via pairwis comparisos. If prturbatios ar sufficitly small, MT with prturbd costs is MT with origial costs..g., if all dg costs ar itgrs, prturbig cost of dg i by i / Implmtatio. Ca hadl arbitrarily small prturbatios implicitly by brakig tis lxicographically, accordig to idx. boola lss(i, j) { if (cost( i ) < cost( j )) rtur tru ls if (cost( i ) > cost( j )) rtur fals ls if (i < j) rtur tru ls rtur fals } Outbrak of cholra daths i Lodo i 0s. Rfrc: Nia Mishra, HP Labs
7 Clustrig Clustrig of Maximum pacig Clustrig. Giv a st U of objcts labld p,, p, classify ito cohrt groups. photos, documts. micro-orgaisms Distac fuctio. Numric valu spcifyig "closss" of two objcts. umbr of corrspodig pixls whos itsitis diffr by som thrshold k-clustrig. Divid objcts ito k o-mpty groups. Distac fuctio. Assum it satisfis svral atural proprtis. d(p i, p j ) = 0 iff p i = p j (idtity of idiscribls) d(p i, p j ) 0 (ogativity) d(p i, p j ) = d(p j, p i ) (symmtry) pacig. Mi distac btw ay pair of poits i diffrt clustrs. Fudamtal problm. Divid ito clustrs so that poits i diffrt clustrs ar far apart. Routig i mobil ad hoc tworks. Idtify pattrs i g xprssio. Documt catgorizatio for wb sarch. imilarity sarchig i mdical imag databass kycat: clustr 0 9 sky objcts ito stars, quasars, galaxis. Clustrig of maximum spacig. Giv a itgr k, fid a k-clustrig of maximum spacig. spacig k = Grdy Clustrig Algorithm Grdy Clustrig Algorithm: Aalysis igl-lik k-clustrig algorithm. Form a graph o th vrtx st U, corrspodig to clustrs. Fid th closst pair of objcts such that ach objct is i a diffrt clustr, ad add a dg btw thm. Rpat -k tims util thr ar xactly k clustrs. Ky obsrvatio. This procdur is prcisly Kruskal's algorithm (xcpt w stop wh thr ar k coctd compots). Rmark. Equivalt to fidig a MT ad dltig th k- most xpsiv dgs. Thorm. Lt C* dot th clustrig C*,, C* k formd by dltig th k- most xpsiv dgs of a MT. C* is a k-clustrig of max spacig. Pf. Lt C dot som othr clustrig C,, C k. Th spacig of C* is th lgth d* of th (k-) st most xpsiv dg. Lt p i, p j b i th sam clustr i C*, say C* r, but diffrt clustrs i C, say C s ad C t. om dg (p, q) o p i -p j path i C* r spas two diffrt clustrs i C. All dgs o p i -p j path hav lgth d* sic Kruskal chos thm. pacig of C is d* sic p ad q C s C t ar i diffrt clustrs. C* r p i p q p j 9 0
8 MT Algorithms: Thory Extra lids Dtrmiistic compariso basd algorithms. O(m log ) [Jarík, Prim, Dijkstra, Kruskal, Boruvka] O(m log log ). [Chrito-Tarja 9, Yao 9] O(m (m, )). [Frdma-Tarja 9] O(m log (m, )). [Gabow-Galil-pcr-Tarja 9] O(m (m, )). [Chazll 000] Holy grail. O(m). Notabl. O(m) radomizd. [Kargr-Kli-Tarja 99] O(m) vrificatio. [Dixo-Rauch-Tarja 99] Euclida. -d: O( log ). comput MT of dgs i Dlauay k-d: O(k ). ds Prim Ddrogram Ddrogram of Cacrs i Huma Ddrogram. citific visualizatio of hypothtical squc of volutioary vts. Lavs = gs. Itral ods = hypothtical acstors. Tumors i similar tissus clustr togthr. G G Rfrc: Rfrc: Botsti & Brow group g xprssd g ot xprssd
4.5 Minimum Spanning Tree. Chapter 4. Greedy Algorithms. Minimum Spanning Tree. Applications
Chaptr. Minimum panning Tr Grdy Algorithms lids by Kvin Wayn. Copyright 200 Parson-Addison Wsly. All rights rsrvd. Minimum panning Tr Applications Minimum spanning tr. Givn a connctd graph G = (V, E) with
More information4.5 Minimum Spanning Tree. Chapter 4. Greedy Algorithms. Minimum Spanning Tree. Motivating application
1 Chaptr. Minimum panning Tr lids by Kvin Wayn. Copyright 200 Parson-Addison Wsly. All rights rsrvd. *Adjustd by Gang Tan for C33: Algorithms at Boston Collg, Fall 0 Motivating application Minimum panning
More informationCSE 417, Winter Greedy Algorithms
CSE 417, Witer 2012 Greedy Algorithms Be Birbaum Widad Machmouchi Slides adapted from Larry Ruzzo, Steve Taimoto, ad Kevi Waye 1 Chapter 4 Greedy Algorithms Slides by Kevi Waye. Copyright 2005 Pearso-Addiso
More information1985 AP Calculus BC: Section I
985 AP Calculus BC: Sctio I 9 Miuts No Calculator Nots: () I this amiatio, l dots th atural logarithm of (that is, logarithm to th bas ). () Ulss othrwis spcifid, th domai of a fuctio f is assumd to b
More informationCS781 Lecture 3 January 27, 2011
CS781 Lecture 3 January 7, 011 Greedy Algorithms Topics: Interval Scheduling and Partitioning Dijkstra s Shortest Path Algorithm Minimum Spanning Trees Single-Link k-clustering Interval Scheduling Interval
More informationSolution to 1223 The Evil Warden.
Solutio to 1 Th Evil Ward. This is o of thos vry rar PoWs (I caot thik of aothr cas) that o o solvd. About 10 of you submittd th basic approach, which givs a probability of 47%. I was shockd wh I foud
More informationWorksheet: Taylor Series, Lagrange Error Bound ilearnmath.net
Taylor s Thorm & Lagrag Error Bouds Actual Error This is th ral amout o rror, ot th rror boud (worst cas scario). It is th dirc btw th actual () ad th polyomial. Stps:. Plug -valu ito () to gt a valu.
More informationPURE MATHEMATICS A-LEVEL PAPER 1
-AL P MATH PAPER HONG KONG EXAMINATIONS AUTHORITY HONG KONG ADVANCED LEVEL EXAMINATION PURE MATHEMATICS A-LEVEL PAPER 8 am am ( hours) This papr must b aswrd i Eglish This papr cosists of Sctio A ad Sctio
More informationCS 580: Algorithm Design and Analysis
CS 580: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 2018 Reminder: Homework 1 due tonight at 11:59PM! Recap: Greedy Algorithms Interval Scheduling Goal: Maximize number of meeting
More informationFORBIDDING RAINBOW-COLORED STARS
FORBIDDING RAINBOW-COLORED STARS CARLOS HOPPEN, HANNO LEFMANN, KNUT ODERMANN, AND JULIANA SANCHES Abstract. W cosidr a xtrmal problm motivatd by a papr of Balogh [J. Balogh, A rmark o th umbr of dg colorigs
More informationDTFT Properties. Example - Determine the DTFT Y ( e ) of n. Let. We can therefore write. From Table 3.1, the DTFT of x[n] is given by 1
DTFT Proprtis Exampl - Dtrmi th DTFT Y of y α µ, α < Lt x α µ, α < W ca thrfor writ y x x From Tabl 3., th DTFT of x is giv by ω X ω α ω Copyright, S. K. Mitra Copyright, S. K. Mitra DTFT Proprtis DTFT
More information10. EXTENDING TRACTABILITY
Coping with NP-compltnss 0. EXTENDING TRACTABILITY ining small vrtx covrs solving NP-har problms on trs circular arc covrings vrtx covr in bipartit graphs Q. Suppos I n to solv an NP-complt problm. What
More informationStatistics 3858 : Likelihood Ratio for Exponential Distribution
Statistics 3858 : Liklihood Ratio for Expotial Distributio I ths two xampl th rjctio rjctio rgio is of th form {x : 2 log (Λ(x)) > c} for a appropriat costat c. For a siz α tst, usig Thorm 9.5A w obtai
More informationAPPENDIX: STATISTICAL TOOLS
I. Nots o radom samplig Why do you d to sampl radomly? APPENDI: STATISTICAL TOOLS I ordr to masur som valu o a populatio of orgaisms, you usually caot masur all orgaisms, so you sampl a subst of th populatio.
More informationz 1+ 3 z = Π n =1 z f() z = n e - z = ( 1-z) e z e n z z 1- n = ( 1-z/2) 1+ 2n z e 2n e n -1 ( 1-z )/2 e 2n-1 1-2n -1 1 () z
Sris Expasio of Rciprocal of Gamma Fuctio. Fuctios with Itgrs as Roots Fuctio f with gativ itgrs as roots ca b dscribd as follows. f() Howvr, this ifiit product divrgs. That is, such a fuctio caot xist
More informationH2 Mathematics Arithmetic & Geometric Series ( )
H Mathmatics Arithmtic & Gomtric Sris (08 09) Basic Mastry Qustios Arithmtic Progrssio ad Sris. Th rth trm of a squc is 4r 7. (i) Stat th first four trms ad th 0th trm. (ii) Show that th squc is a arithmtic
More informationTime : 1 hr. Test Paper 08 Date 04/01/15 Batch - R Marks : 120
Tim : hr. Tst Papr 8 D 4//5 Bch - R Marks : SINGLE CORRECT CHOICE TYPE [4, ]. If th compl umbr z sisfis th coditio z 3, th th last valu of z is qual to : z (A) 5/3 (B) 8/3 (C) /3 (D) o of ths 5 4. Th itgral,
More informationChapter Five. More Dimensions. is simply the set of all ordered n-tuples of real numbers x = ( x 1
Chatr Fiv Mor Dimsios 51 Th Sac R W ar ow rard to mov o to sacs of dimsio gratr tha thr Ths sacs ar a straightforward gralizatio of our Euclida sac of thr dimsios Lt b a ositiv itgr Th -dimsioal Euclida
More informationOn the approximation of the constant of Napier
Stud. Uiv. Babş-Bolyai Math. 560, No., 609 64 O th approximatio of th costat of Napir Adri Vrscu Abstract. Startig from som oldr idas of [] ad [6], w show w facts cocrig th approximatio of th costat of
More informationMATH 681 Notes Combinatorics and Graph Theory I. ( 4) n. This will actually turn out to be marvelously simplifiable: C n = 2 ( 4) n n + 1. ) (n + 1)!
MATH 681 Nots Combiatorics ad Graph Thory I 1 Catala umbrs Prviously, w usd gratig fuctios to discovr th closd form C = ( 1/ +1) ( 4). This will actually tur out to b marvlously simplifiabl: ( ) 1/ C =
More informationLinear Algebra Existence of the determinant. Expansion according to a row.
Lir Algbr 2270 1 Existc of th dtrmit. Expsio ccordig to row. W dfi th dtrmit for 1 1 mtrics s dt([]) = (1) It is sy chck tht it stisfis D1)-D3). For y othr w dfi th dtrmit s follows. Assumig th dtrmit
More information07 - SEQUENCES AND SERIES Page 1 ( Answers at he end of all questions ) b, z = n
07 - SEQUENCES AND SERIES Pag ( Aswrs at h d of all qustios ) ( ) If = a, y = b, z = c, whr a, b, c ar i A.P. ad = 0 = 0 = 0 l a l
More informationStrongly Connected Components
Strongly Connctd Componnts Lt G = (V, E) b a dirctd graph Writ if thr is a path from to in G Writ if and is an quivalnc rlation: implis and implis s quivalnc classs ar calld th strongly connctd componnts
More informationSearching Linked Lists. Perfect Skip List. Building a Skip List. Skip List Analysis (1) Assume the list is sorted, but is stored in a linked list.
3 3 4 8 6 3 3 4 8 6 3 3 4 8 6 () (d) 3 Sarching Linkd Lists Sarching Linkd Lists Sarching Linkd Lists ssum th list is sortd, but is stord in a linkd list. an w us binary sarch? omparisons? Work? What if
More informationWeek 3: Connected Subgraphs
Wk 3: Connctd Subgraphs Sptmbr 19, 2016 1 Connctd Graphs Path, Distanc: A path from a vrtx x to a vrtx y in a graph G is rfrrd to an xy-path. Lt X, Y V (G). An (X, Y )-path is an xy-path with x X and y
More informationDiscrete Fourier Transform (DFT)
Discrt Fourir Trasorm DFT Major: All Egirig Majors Authors: Duc guy http://umricalmthods.g.us.du umrical Mthods or STEM udrgraduats 8/3/29 http://umricalmthods.g.us.du Discrt Fourir Trasorm Rcalld th xpotial
More informationNEW VERSION OF SZEGED INDEX AND ITS COMPUTATION FOR SOME NANOTUBES
Digst Joural of Naomatrials ad Biostructurs Vol 4, No, March 009, p 67-76 NEW VERSION OF SZEGED INDEX AND ITS COMPUTATION FOR SOME NANOTUBES A IRANMANESH a*, O KHORMALI b, I NAJAFI KHALILSARAEE c, B SOLEIMANI
More informationThomas J. Osler. 1. INTRODUCTION. This paper gives another proof for the remarkable simple
5/24/5 A PROOF OF THE CONTINUED FRACTION EXPANSION OF / Thomas J Oslr INTRODUCTION This ar givs aothr roof for th rmarkabl siml cotiud fractio = 3 5 / Hr is ay ositiv umbr W us th otatio x= [ a; a, a2,
More informationChapter (8) Estimation and Confedence Intervals Examples
Chaptr (8) Estimatio ad Cofdc Itrvals Exampls Typs of stimatio: i. Poit stimatio: Exampl (1): Cosidr th sampl obsrvatios, 17,3,5,1,18,6,16,10 8 X i i1 17 3 5 118 6 16 10 116 X 14.5 8 8 8 14.5 is a poit
More informationA Simple Proof that e is Irrational
Two of th most bautiful ad sigificat umbrs i mathmatics ar π ad. π (approximatly qual to 3.459) rprsts th ratio of th circumfrc of a circl to its diamtr. (approximatly qual to.788) is th bas of th atural
More informationTriple Play: From De Morgan to Stirling To Euler to Maclaurin to Stirling
Tripl Play: From D Morga to Stirlig To Eulr to Maclauri to Stirlig Augustus D Morga (186-1871) was a sigificat Victoria Mathmaticia who mad cotributios to Mathmatics History, Mathmatical Rcratios, Mathmatical
More informationIntroduction to Quantum Information Processing. Overview. A classical randomised algorithm. q 3,3 00 0,0. p 0,0. Lecture 10.
Itroductio to Quatum Iformatio Procssig Lctur Michl Mosca Ovrviw! Classical Radomizd vs. Quatum Computig! Dutsch-Jozsa ad Brsti- Vazirai algorithms! Th quatum Fourir trasform ad phas stimatio A classical
More informationChapter Finding Small Vertex Covers. Extending the Limits of Tractability. Coping With NP-Completeness. Vertex Cover
Coping With NP-Compltnss Chaptr 0 Extning th Limits o Tractability Q. Suppos I n to solv an NP-complt problm. What shoul I o? A. Thory says you'r unlikly to in poly-tim algorithm. Must sacriic on o thr
More informationCDS 101: Lecture 5.1 Reachability and State Space Feedback
CDS, Lctur 5. CDS : Lctur 5. Rachability ad Stat Spac Fdback Richard M. Murray ad Hido Mabuchi 5 Octobr 4 Goals: Di rachability o a cotrol systm Giv tsts or rachability o liar systms ad apply to ampls
More informationPart B: Transform Methods. Professor E. Ambikairajah UNSW, Australia
Part B: Trasform Mthods Chaptr 3: Discrt-Tim Fourir Trasform (DTFT) 3. Discrt Tim Fourir Trasform (DTFT) 3. Proprtis of DTFT 3.3 Discrt Fourir Trasform (DFT) 3.4 Paddig with Zros ad frqucy Rsolutio 3.5
More informationPropositional Logic. Combinatorial Problem Solving (CPS) Albert Oliveras Enric Rodríguez-Carbonell. May 17, 2018
Propositional Logic Combinatorial Problm Solving (CPS) Albrt Olivras Enric Rodríguz-Carbonll May 17, 2018 Ovrviw of th sssion Dfinition of Propositional Logic Gnral Concpts in Logic Rduction to SAT CNFs
More informationSession : Plasmas in Equilibrium
Sssio : Plasmas i Equilibrium Ioizatio ad Coductio i a High-prssur Plasma A ormal gas at T < 3000 K is a good lctrical isulator, bcaus thr ar almost o fr lctros i it. For prssurs > 0.1 atm, collisio amog
More informationMinimum 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 informationExamples and applications on SSSP and MST
Exampls an applications on SSSP an MST Dan (Doris) H & Junhao Gan ITEE Univrsity of Qunslan COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST Dijkstra s Algorithm Th algorithm solvs
More informationChapter Taylor Theorem Revisited
Captr 0.07 Taylor Torm Rvisitd Atr radig tis captr, you sould b abl to. udrstad t basics o Taylor s torm,. writ trascdtal ad trigoomtric uctios as Taylor s polyomial,. us Taylor s torm to id t valus o
More informationCDS 101: Lecture 5.1 Reachability and State Space Feedback
CDS, Lctur 5. CDS : Lctur 5. Rachability ad Stat Spac Fdback Richard M. Murray 7 Octobr 3 Goals: Di rachability o a cotrol systm Giv tsts or rachability o liar systms ad apply to ampls Dscrib th dsig o
More informationln x = n e = 20 (nearest integer)
H JC Prlim Solutios 6 a + b y a + b / / dy a b 3/ d dy a b at, d Giv quatio of ormal at is y dy ad y wh. d a b () (,) is o th curv a+ b () y.9958 Qustio Solvig () ad (), w hav a, b. Qustio d.77 d d d.77
More informationThe Equitable Dominating Graph
Intrnational Journal of Enginring Rsarch and Tchnology. ISSN 0974-3154 Volum 8, Numbr 1 (015), pp. 35-4 Intrnational Rsarch Publication Hous http://www.irphous.com Th Equitabl Dominating Graph P.N. Vinay
More informationBlackbody Radiation. All bodies at a temperature T emit and absorb thermal electromagnetic radiation. How is blackbody radiation absorbed and emitted?
All bodis at a tmpratur T mit ad absorb thrmal lctromagtic radiatio Blackbody radiatio I thrmal quilibrium, th powr mittd quals th powr absorbd How is blackbody radiatio absorbd ad mittd? 1 2 A blackbody
More informationINTRODUCTION TO SAMPLING DISTRIBUTIONS
http://wiki.stat.ucla.du/socr/id.php/socr_courss_2008_thomso_econ261 INTRODUCTION TO SAMPLING DISTRIBUTIONS By Grac Thomso INTRODUCTION TO SAMPLING DISTRIBUTIONS Itro to Samplig 2 I this chaptr w will
More informationTotal Prime Graph. Abstract: We introduce a new type of labeling known as Total Prime Labeling. Graphs which admit a Total Prime labeling are
Itratoal Joural Of Computatoal Egrg Rsarch (crol.com) Vol. Issu. 5 Total Prm Graph M.Rav (a) Ramasubramaa 1, R.Kala 1 Dpt.of Mathmatcs, Sr Shakth Isttut of Egrg & Tchology, Combator 641 06. Dpt. of Mathmatcs,
More informationCSE 417, Winter Greedy Algorithms 1/27/2012. Chapter 4. Ben Birnbaum Widad Machmouchi. 4.1 Interval Scheduling.
//0 CSE, Wntr 0 Grdy Algorthms Chaptr Grdy Algorthms Bn Brnbaum Wdad Machmouch Slds by Kvn Wayn. Copyrght 00 Parson-Addson Wsly. All rghts rsrvd. Slds adaptd rom Larry Ruzzo, Stv Tanmoto, and Kvn Wayn
More informationKISS: A Bit Too Simple. Greg Rose
KI: A Bit Too impl Grg Ros ggr@qualcomm.com Outli KI radom umbr grator ubgrators Efficit attack N KI ad attack oclusio PAGE 2 O approach to PRNG scurity "A radom umbr grator is lik sx: Wh it's good, its
More informationProbability & Statistics,
Probability & Statistics, BITS Pilai K K Birla Goa Campus Dr. Jajati Kshari Sahoo Dpartmt of Mathmatics BITS Pilai, K K Birla Goa Campus Poisso Distributio Poisso Distributio: A radom variabl X is said
More informationOn Deterministic Finite Automata and Syntactic Monoid Size, Continued
O Dtrmiistic Fiit Automata ad Sytactic Mooid Siz, Cotiud Markus Holzr ad Barbara Köig Istitut für Iformatik, Tchisch Uivrsität Müch, Boltzmastraß 3, D-85748 Garchig bi Müch, Grmay mail: {holzr,koigb}@iformatik.tu-much.d
More informationHow many neutrons does this aluminium atom contain? A 13 B 14 C 27 D 40
alumiium atom has a uclo umbr of 7 ad a roto umbr of 3. How may utros dos this alumiium atom cotai? 3 4 7 40 atom of lmt Q cotais 9 lctros, 9 rotos ad 0 utros. What is Q? calcium otassium strotium yttrium
More informationOn the Reformulated Zagreb Indices of Certain Nanostructures
lobal Joural o Pur ad Applid Mathmatics. ISSN 097-768 Volum, Numbr 07, pp. 87-87 Rsarch Idia Publicatios http://www.ripublicatio.com O th Rormulatd Zagrb Idics o Crtai Naostructurs Krthi. Mirajar ad Priyaa
More informationJournal of Modern Applied Statistical Methods
Joural of Modr Applid Statistical Mthods Volum Issu Articl 6 --03 O Som Proprtis of a Htrogous Trasfr Fuctio Ivolvig Symmtric Saturatd Liar (SATLINS) with Hyprbolic Tagt (TANH) Trasfr Fuctios Christophr
More informationDisjoint set (Union-Find)
CS124 Lecture 7 Fall 2018 Disjoit set (Uio-Fid) For Kruskal s algorithm for the miimum spaig tree problem, we foud that we eeded a data structure for maitaiig a collectio of disjoit sets. That is, we eed
More informationDiscrete Mathematics and Probability Theory Fall 2014 Anant Sahai Homework 11. This homework is due November 17, 2014, at 12:00 noon.
EECS 70 Discrt Mathmatics ad Probability Thory Fall 2014 Aat Sahai Homwork 11 This homwork is du Novmbr 17, 2014, at 12:00 oo. 1. Sctio Rollcall! I your slf-gradig for this qustio, giv yourslf a 10, ad
More informationIndependent Domination in Line Graphs
Itratoal Joural of Sctfc & Egrg Rsarch Volum 3 Issu 6 Ju-1 1 ISSN 9-5518 Iddt Domato L Grahs M H Muddbhal ad D Basavarajaa Abstract - For ay grah G th l grah L G H s th trscto grah Thus th vrtcs of LG
More informationFolding of Hyperbolic Manifolds
It. J. Cotmp. Math. Scics, Vol. 7, 0, o. 6, 79-799 Foldig of Hyprbolic Maifolds H. I. Attiya Basic Scic Dpartmt, Collg of Idustrial Educatio BANE - SUEF Uivrsity, Egypt hala_attiya005@yahoo.com Abstract
More informationChapter 2 Infinite Series Page 1 of 11. Chapter 2 : Infinite Series
Chatr Ifiit Sris Pag of Sctio F Itgral Tst Chatr : Ifiit Sris By th d of this sctio you will b abl to valuat imror itgrals tst a sris for covrgc by alyig th itgral tst aly th itgral tst to rov th -sris
More informationECE594I Notes set 6: Thermal Noise
C594I ots, M. odwll, copyrightd C594I Nots st 6: Thrmal Nois Mark odwll Uivrsity of Califoria, ata Barbara rodwll@c.ucsb.du 805-893-344, 805-893-36 fax frcs ad Citatios: C594I ots, M. odwll, copyrightd
More informationNarayana IIT Academy
INDIA Sc: LT-IIT-SPARK Dat: 9--8 6_P Max.Mars: 86 KEY SHEET PHYSIS A 5 D 6 7 A,B 8 B,D 9 A,B A,,D A,B, A,B B, A,B 5 A 6 D 7 8 A HEMISTRY 9 A B D B B 5 A,B,,D 6 A,,D 7 B,,D 8 A,B,,D 9 A,B, A,B, A,B,,D A,B,
More informationSums, Approximations, and Asymptotics II
6.04/8.06J Mathmatics for Computr Scic March 5, 005 Srii Dvadas ad Eric Lhma Lctur Nots Sums, Approximatios, ad Asymptotics II Block Stackig How far ca a stack of idtical blocks ovrhag th d of a tabl without
More informationOn a problem of J. de Graaf connected with algebras of unbounded operators de Bruijn, N.G.
O a problm of J. d Graaf coctd with algbras of uboudd oprators d Bruij, N.G. Publishd: 01/01/1984 Documt Vrsio Publishr s PDF, also kow as Vrsio of Rcord (icluds fial pag, issu ad volum umbrs) Plas chck
More informationSection 6.1. Question: 2. Let H be a subgroup of a group G. Then H operates on G by left multiplication. Describe the orbits for this operation.
MAT 444 H Barclo Spring 004 Homwork 6 Solutions Sction 6 Lt H b a subgroup of a group G Thn H oprats on G by lft multiplication Dscrib th orbits for this opration Th orbits of G ar th right costs of H
More information1 Minimum Cut Problem
CS 6 Lctur 6 Min Cut and argr s Algorithm Scribs: Png Hui How (05), Virginia Dat: May 4, 06 Minimum Cut Problm Today, w introduc th minimum cut problm. This problm has many motivations, on of which coms
More informationCOMP108 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 informationDiscrete Fourier Transform. Nuno Vasconcelos UCSD
Discrt Fourir Trasform uo Vascoclos UCSD Liar Shift Ivariat (LSI) systms o of th most importat cocpts i liar systms thory is that of a LSI systm Dfiitio: a systm T that maps [ ito y[ is LSI if ad oly if
More informationHomework #3. 1 x. dx. It therefore follows that a sum of the
Danil Cannon CS 62 / Luan March 5, 2009 Homwork # 1. Th natural logarithm is dfind by ln n = n 1 dx. It thrfor follows that a sum of th 1 x sam addnd ovr th sam intrval should b both asymptotically uppr-
More informationDigital Signal Processing, Fall 2006
Digital Sigal Procssig, Fall 6 Lctur 9: Th Discrt Fourir Trasfor Zhg-Hua Ta Dpartt of Elctroic Systs Aalborg Uivrsity, Dar zt@o.aau.d Digital Sigal Procssig, I, Zhg-Hua Ta, 6 Cours at a glac MM Discrt-ti
More informationOption 3. b) xe dx = and therefore the series is convergent. 12 a) Divergent b) Convergent Proof 15 For. p = 1 1so the series diverges.
Optio Chaptr Ercis. Covrgs to Covrgs to Covrgs to Divrgs Covrgs to Covrgs to Divrgs 8 Divrgs Covrgs to Covrgs to Divrgs Covrgs to Covrgs to Covrgs to Covrgs to 8 Proof Covrgs to π l 8 l a b Divrgt π Divrgt
More informationCombinatorial Networks Week 1, March 11-12
1 Nots on March 11 Combinatorial Ntwors W 1, March 11-1 11 Th Pigonhol Principl Th Pigonhol Principl If n objcts ar placd in hols, whr n >, thr xists a box with mor than on objcts 11 Thorm Givn a simpl
More informationOn Algorithm for the Minimum Spanning Trees Problem with Diameter Bounded Below
O Algorithm for the Miimum Spaig Trees Problem with Diameter Bouded Below Edward Kh. Gimadi 1,2, Alexey M. Istomi 1, ad Ekateria Yu. Shi 2 1 Sobolev Istitute of Mathematics, 4 Acad. Koptyug aveue, 630090
More informationFigure 2-18 Thevenin Equivalent Circuit of a Noisy Resistor
.8 NOISE.8. Th Nyquist Nois Thorm W ow wat to tur our atttio to ois. W will start with th basic dfiitio of ois as usd i radar thory ad th discuss ois figur. Th typ of ois of itrst i radar thory is trmd
More informationMixed Mode Oscillations as a Mechanism for Pseudo-Plateau Bursting
Mixd Mod Oscillatios as a Mchaism for Psudo-Platau Burstig Richard Brtram Dpartmt of Mathmatics Florida Stat Uivrsity Tallahass, FL Collaborators ad Support Thodor Vo Marti Wchslbrgr Joël Tabak Uivrsity
More informationThe Interplay between l-max, l-min, p-max and p-min Stable Distributions
DOI: 0.545/mjis.05.4006 Th Itrplay btw lma lmi pma ad pmi Stabl Distributios S Ravi ad TS Mavitha Dpartmt of Studis i Statistics Uivrsity of Mysor Maasagagotri Mysuru 570006 Idia. Email:ravi@statistics.uimysor.ac.i
More informationAlgorithm Design and Analysis
Algorithm Design and Analysis LECTURE 7 Greedy Graph Algorithms Shortest paths Minimum Spanning Tree Sofya Raskhodnikova 9/14/016 S. Raskhodnikova; based on slides by E. Demaine, C. Leiserson, A. Smith,
More informationFinal Exam Solutions
CS 2 Advancd Data Structurs and Algorithms Final Exam Solutions Jonathan Turnr /8/20. (0 points) Suppos that r is a root of som tr in a Fionacci hap. Assum that just for a dltmin opration, r has no childrn
More informationMONTGOMERY COLLEGE Department of Mathematics Rockville Campus. 6x dx a. b. cos 2x dx ( ) 7. arctan x dx e. cos 2x dx. 2 cos3x dx
MONTGOMERY COLLEGE Dpartmt of Mathmatics Rockvill Campus MATH 8 - REVIEW PROBLEMS. Stat whthr ach of th followig ca b itgratd by partial fractios (PF), itgratio by parts (PI), u-substitutio (U), or o of
More informationEECE 301 Signals & Systems Prof. Mark Fowler
EECE 301 Signals & Systms Prof. Mark Fowlr ot St #21 D-T Signals: Rlation btwn DFT, DTFT, & CTFT 1/16 W can us th DFT to implmnt numrical FT procssing This nabls us to numrically analyz a signal to find
More informationTraveling Salesperson Problem and Neural Networks. A Complete Algorithm in Matrix Form
Procdigs of th th WSEAS Itratioal Cofrc o COMPUTERS, Agios Nikolaos, Crt Islad, Grc, July 6-8, 7 47 Travlig Salsprso Problm ad Nural Ntworks A Complt Algorithm i Matrix Form NICOLAE POPOVICIU Faculty of
More informationReliability of time dependent stress-strength system for various distributions
IOS Joural of Mathmatcs (IOS-JM ISSN: 78-578. Volum 3, Issu 6 (Sp-Oct., PP -7 www.osrjourals.org lablty of tm dpdt strss-strgth systm for varous dstrbutos N.Swath, T.S.Uma Mahswar,, Dpartmt of Mathmatcs,
More information3.1 Atomic Structure and The Periodic Table
Sav My Exams! Th Hom of Rvisio For mor awsom GSE ad lvl rsourcs, visit us at www.savmyxams.co.uk/ 3. tomic Structur ad Th Priodic Tabl Qustio Par Lvl IGSE Subjct hmistry (060) Exam oard ambridg Itratioal
More information1973 AP Calculus BC: Section I
97 AP Calculus BC: Scio I 9 Mius No Calculaor No: I his amiaio, l dos h aural logarihm of (ha is, logarihm o h bas ).. If f ( ) =, h f ( ) = ( ). ( ) + d = 7 6. If f( ) = +, h h s of valus for which f
More informationApproximation and Inapproximation for The Influence Maximization Problem in Social Networks under Deterministic Linear Threshold Model
20 3st Intrnational Confrnc on Distributd Computing Systms Workshops Approximation and Inapproximation for Th Influnc Maximization Problm in Social Ntworks undr Dtrministic Linar Thrshold Modl Zaixin Lu,
More informationDFT: Discrete Fourier Transform
: Discrt Fourir Trasform Cogruc (Itgr modulo m) I this sctio, all lttrs stad for itgrs. gcd m, = th gratst commo divisor of ad m Lt d = gcd(,m) All th liar combiatios r s m of ad m ar multils of d. a b
More informationUNIT 2: MATHEMATICAL ENVIRONMENT
UNIT : MATHEMATICAL ENVIRONMENT. Itroductio This uit itroducs som basic mathmatical cocpts ad rlats thm to th otatio usd i th cours. Wh ou hav workd through this uit ou should: apprciat that a mathmatical
More informationScattering Parameters. Scattering Parameters
Motivatio cattrig Paramtrs Difficult to implmt op ad short circuit coditios i high frqucis masurmts du to parasitic s ad Cs Pottial stability problms for activ dvics wh masurd i oopratig coditios Difficult
More informationBasic Polyhedral theory
Basic Polyhdral thory Th st P = { A b} is calld a polyhdron. Lmma 1. Eithr th systm A = b, b 0, 0 has a solution or thr is a vctorπ such that π A 0, πb < 0 Thr cass, if solution in top row dos not ist
More informationSolutions for the Exam 9 January 2012
Mastermath ad LNMB Course: Discrete Optimizatio Solutios for the Exam 9 Jauary 2012 Utrecht Uiversity, Educatorium, 15:15 18:15 The examiatio lasts 3 hours. Gradig will be doe before Jauary 23, 2012. Studets
More informationChapter 4. Greedy Algorithms. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 4 Greedy Algorithms Slides by Kevin Wayne. Copyright Pearson-Addison Wesley. All rights reserved. 4 4.1 Interval Scheduling Interval Scheduling Interval scheduling. Job j starts at s j and finishes
More informationChapter 4 - The Fourier Series
M. J. Robrts - 8/8/4 Chaptr 4 - Th Fourir Sris Slctd Solutios (I this solutio maual, th symbol,, is usd for priodic covolutio bcaus th prfrrd symbol which appars i th txt is ot i th fot slctio of th word
More informationLectures 9 IIR Systems: First Order System
EE3054 Sigals ad Systms Lcturs 9 IIR Systms: First Ordr Systm Yao Wag Polytchic Uivrsity Som slids icludd ar xtractd from lctur prstatios prpard by McCllla ad Schafr Lics Ifo for SPFirst Slids This work
More informationpriority queue ADT heaps 1
COMP 250 Lctur 23 priority quu ADT haps 1 Nov. 1/2, 2017 1 Priority Quu Li a quu, but now w hav a mor gnral dinition o which lmnt to rmov nxt, namly th on with highst priority..g. hospital mrgncy room
More informationMATH 10550, EXAM 3 SOLUTIONS
MATH 155, EXAM 3 SOLUTIONS 1. I fidig a approximate solutio to the equatio x 3 +x 4 = usig Newto s method with iitial approximatio x 1 = 1, what is x? Solutio. Recall that x +1 = x f(x ) f (x ). Hece,
More informationNET/JRF, GATE, IIT JAM, JEST, TIFR
Istitut for NET/JRF, GATE, IIT JAM, JEST, TIFR ad GRE i PHYSICAL SCIENCES Mathmatical Physics JEST-6 Q. Giv th coditio φ, th solutio of th quatio ψ φ φ is giv by k. kφ kφ lφ kφ lφ (a) ψ (b) ψ kφ (c) ψ
More informationBOUNDS FOR THE COMPONENTWISE DISTANCE TO THE NEAREST SINGULAR MATRIX
SIAM J. Matrix Aal. Appl. (SIMAX), 8():83 03, 997 BOUNDS FOR THE COMPONENTWISE DISTANCE TO THE NEAREST SINGULAR MATRIX S. M. RUMP Abstract. Th ormwis distac of a matrix A to th arst sigular matrix is wll
More information11/13/17. directed graphs. CS 220: Discrete Structures and their Applications. relations and directed graphs; transitive closure zybooks
dirctd graphs CS 220: Discrt Strctrs and thir Applications rlations and dirctd graphs; transiti closr zybooks 9.3-9.6 G=(V, E) rtics dgs dgs rtics/ nods Edg (, ) gos from rtx to rtx. in-dgr of a rtx: th
More informationWashington State University
he 3 Ktics ad Ractor Dsig Sprg, 00 Washgto Stat Uivrsity Dpartmt of hmical Egrg Richard L. Zollars Exam # You will hav o hour (60 muts) to complt this xam which cosists of four (4) problms. You may us
More informationRestricted Factorial And A Remark On The Reduced Residue Classes
Applid Mathmatics E-Nots, 162016, 244-250 c ISSN 1607-2510 Availabl fr at mirror sits of http://www.math.thu.du.tw/ am/ Rstrictd Factorial Ad A Rmark O Th Rducd Rsidu Classs Mhdi Hassai Rcivd 26 March
More informationCPSC 665 : An Algorithmist s Toolkit Lecture 4 : 21 Jan Linear Programming
CPSC 665 : An Algorithmist s Toolkit Lctur 4 : 21 Jan 2015 Lcturr: Sushant Sachdva Linar Programming Scrib: Rasmus Kyng 1. Introduction An optimization problm rquirs us to find th minimum or maximum) of
More informationBifurcation Theory. , a stationary point, depends on the value of α. At certain values
Dnamic Macroconomic Thor Prof. Thomas Lux Bifurcation Thor Bifurcation: qualitativ chang in th natur of th solution occurs if a paramtr passs through a critical point bifurcation or branch valu. Local
More information