You are on page 1of 7
& Name- Rahul Das Maths Assignment 2 It 4tn sem le ande- pec ~6$ tO vi dl fa Ny 4G Vel \vcH| = & i) [EC@)\ = vet 10 | it) The aloowe graphs howe both 4 verkeas | duges. 2 avd 4 vertices f dagree 3 re vertex Yim Gyaph & Mw ay Now, consi dov deg (viy= 2+ Then must correspond to sit wf ajbeg since these ave verbicer F degree 2 im Ae : Howevey, Badr of these“ vertices oie 2d jacunt—Yo the vertices f dagree 2m H wit gic ockjacent 4b, e is adjacam— to f. But WG we see thot \ is adjoint fo V2 od vy which ae veriices degre 3 Tms, te prsenolion of We adjacenty af vertices is nok~ maivloined. , 7 Gand # ore po} Ssomst phd c « Scanned with CamScanner —_—_—P 2 i u b | 4 Ba b o3 \ % ey by Y\N | Y, & V3 e3 “My “4 a 43 1 5 ty tb, & ty es 4 MUl 0 0 4 6 1(4) >=yl1 tr 0 0 0 a ee eee Olen! vu \ 0 rn) wl. 4.0 0 6 I(¥) = Scop olin meno! roto 4, 1 t ot T@) Ax(H) So, Wow even often” applying porrmudation oP vous ard coWWmMMS = the modtces «= WE Would gt hte) X(a) = TCH) ene, Gard H ave fol— iso morphic, Scanned with CamScanner dl 3. Ns (o 4 i G “ Me Se: ll ‘ | The given graph is a simple, undireded vieighted gyoph. Tt has F.vertices and We ave to find ! tre path having He mininaarn Stem & weights lchween two vertices Naand Vs. ! Trerakon $ The stavt verlexv.) is povmananty labeled 0 and tre ofev verkees ave temporarily labelled oa. tet L(V) denotes +e label f verlex v ard wig danoles tre weigh of He edge (Y,%5) avd. uw denotes He verkex with mintnuw labth oF each Herokion. | T= set of oft vertiss Sasa 4 ie Gp veviex| Mi | “21 Ya Y4| “5 | Mo rw [| ol «| =| | & rp wl ¥3| Ya] Ns “eh 2nd Terahion Use atand L(W=0 T= T- p24, The adjount vevlices oF y ave Wy Va a ; L(w)= man$ old L(vi) +) (@L C2) + Wa) } = mmf, 53 Scanned with CamScanner “Lowe mnt of i (a) L(\5) = q wun { old L(V)» ( E(%2) + Was) = rnin § 090+ 3) 3 =3 L(vg) = min {old EC), (La) + Ma)b > mri 4 00, 1, =| Henw » minimum label is Ls) =3 Vertex V | Vy] M2 | Ya} Yu | Ys} ™% L(v) slofj aia fain T Mi, Va | You| Ys vf o ae Treration % U=%3, He peravont label of v3 is *3- T boecawes T-{M33,, Tre adyoant vertices to V3 are Vis Ve 1%q L(vy SE ad Ln) # CLO a)+ Mia) = wit | BHOT3), =o L(ve) = wan} old L(y) (20%) + 55) 3 = mn} ty (3+5)? 215 : LCoy)= ming old LOS CL (v9) 4 5y)3 = vning @) (34S > Scanned with CamScanner - coy a Bena tre minimum — laleel is Ly) =y Oe = verlex V | y| eI Va\ Med Ye | Ve | cm) | slo] 3{4|™] 8 il hv | fvalysi¥ Vy ‘ ‘ ac Bioeation we Vy HE pewmovent —lalbel of vy is 4 bo, Te T=1M3 We adjacual vertices of Vy OE Vs Yes Vg Ll) = win fold U4) (LC va) + Mia) 3 = win 5, (URNS Uva) = win 1 LG)» (ECM) + wg) = min §) (443)% =F the Log) = win old (Ug), ( LC Ma)+ mys) 3 smn} 0, 448 = 1d 2 Lobel ok My Bo HE winiame » L(M] = 5 verexv| vil 2 | Yo | Mu | Ns | Me LO) | g{o | 3] 4 [lo] F 7 \y ws Met } | } { Scanned with CamScanner 7 li ikeration we yy. /, T=T- AMS Te adjacent vertices ¢ Vy ave Vp and v, "L(Ng) = main f old L(), (LC) + wy was) = min} (2) (5+ 10)5 sir L(Y) = in | old L (ve). (LCM) + wie) ) = min | % (54) =F Yen — minivniure —Lalbel Is Uv) =4 Bi ea eres v | M | M2] Ms | Yu] Vs co) | 3] O13 | 4 | ie “%) +I Tit “bes fuel we: /. Te TH E%Y The adjomn)—laleek vertices of Ne ae which is shh in T @ is Vs L(\5) = man {0 old L(%s) ) ( L(y) + Vse) J = wan§ 12,)C#t2)4 = 4 Hone. Lvs) is He minim Label. Scanned with CamScanner SiN) Vo is parrranerstlay labelled the ‘tevatian stops . OS Vg is tre ending verlex. i vi] valv3 | Yu | vs] Yo 1 a | [O]} | %@ | | | 2 |/s(O\|Bl@/*! 3 5/ oO |B Gl] 4 a [eB Oe ie 1+ 5 aie os) Gl (| Le (ole e|G1 |e , / : vd by > The ‘Shor tes}— Was a langth of AO ; os know tak te shactest-pash is [ea sy —— Ns | 4 eno op vertices) @ = 00 of edges, f= no of vegions We knw, Z deg) =2xNo of edge s Lionel un = 2¢ ne=te a csor Tun by Eubed fonda. = fee7n jo = n-ne tloantd alnegl Ane Scanned with CamScanner

You might also like