Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
18 views
14 pages
Discrete Mathematics
DISCRETE MATHEMATICS
Uploaded by
tanmayssinghxlily1
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Discrete mathematics For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
18 views
14 pages
Discrete Mathematics
DISCRETE MATHEMATICS
Uploaded by
tanmayssinghxlily1
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Discrete mathematics For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 14
Search
Fullscreen
io bbl webebbbdddddddddddddddddddbbiddddd om “Topelegical Sosding Vyas b— y Awa Uy Cian, oscing. JOrdusing Yuls vortices Such tat for ov ‘ Otel secye on venten. (Gu ~» 2), WO core before Vorten(¥) um the Ordering. > Lyraph Shroulel be clineteel acyolie Pork, sshich meom there shoute TOL be Amy cyole im yuph. ~ the ow % types Y cimplementanon : () BFS “Inptomeneanon [KAHN’S ALGO | Gi) DFS Implementaren [ kosaraqu ALU) > Marny Pual uvorte appl” com be movlelrd a4 a graph with cloiscket Coy , whire Some Evers rust coeur Lefore Burs. > + Semester- ctass pow suquyte * Poco gem, clepenolencies * Event échadluting + Assembly wns bucbons . Prtogtcarm. —built olipenclencies > Ohe uclen a to fot Ancilol Poeyeoms, swith clypmcleney ane thin move from there tp the nent lev. ~ Bere comp. 15 Uintar 0 Wre), topolograt OWouny ane not vovque & Oud the Aras hone a Cepolopont orderiy since they -olon't conten & ycle . Scanned with CamScannerD Compute athe nmecs 4 oveuy necle amd. putthe neole vim «0 queue - ) Remove the mage from quene shen ‘ite ip the answer ust) emg. ) Beouase simolegnee by (4) [pr alt 48 reighboning neces, of the neleguee teghtoring rooles is seectuetol to (0). then acll it b the queue. 9) Qercak Sips 2 8 3 umtiu the queue “a emply . 3) Retum the arrewer] asvrny | List- — Space complenity: o(v) > Yime omplenity - oj+e) > SSAC RARAKKERASRRARKRRAZRTZA re ae Ll LEI Ll2|5) LASERS = = = aa Scanned with CamScannerKLOSARA IU aLgo}——___ -u ‘S22 pay Deg alo . 1st ° Pt seal dofind the topoupicat Sorting, 15% amk 24 pass comrineel Alpin 40 nal Shongly Conmeckol componenke © unk 0. Stack 40 stone the “nodes. bdbbbbbbdddd é e gg "& # g & a g @ s I ak 2 g DOR _ um a neole fom (0 > 1), f nacte te Not mark (Tawe) te vigitea » Cail Hhe recwsive 4" for the tpdogical sont ancl perform the TD 4pilewsing steps. : [3] Mark the cussume node 04 Thue in, write an. B27] aun a toop on ait he recta whieh “have a daokal eye Unthe Cwyreme node, if the nocle 4s nok marked. tune In ihe wibjkedl Cevay , Shum sucutatiely Call the doplopat Some 2M on the node B-3) Push the cursume neole an Stach . dd bbobbbbaeebebabbbddddddd Wwe TO! CBEADGE KHITUM | = a n i Scanned with CamScanner——] STRONGLY CONNECTED component \s > For undlincora qoph we have AOncepe Sf tenmtottel comperents & fon ctdvetd Parte 0 tewe she concepre, strongly conruckol componente ~ Component 4 & groph. in aahich erry vote tas a path tavow other vouen un Yhed graph i calleol a4 Lonmecttol companent + Vr 4 O - - oO : ‘ 3 Oo -O is O |... > Kosakayas Glo iv eyreiemk amo auerhs im Lintar Lime O@ +e). 7 Y's froment ab 0po fon enatiyping. 0 bir. Chiwckal graph. YU rousel dm vaswous Dpphiahons Lite compiler oplimizaron, Seyfwon Onginesting, swcornmencl ahien System, 3Dbahes anal Pash Pemming arrel £Aams portah'on netw osbs. Scanned with CamScannerDITKSTRA ALGo / > This atyo is asec 0 fined the Single Source shantest pat, ‘ St wont fon sldieckal & undinstel wee > Ge ray 6+ vray not woxb for Eve) weights . 74 toot ce cpt 9 ayole is Eve) then, swuly BijhEDH wot work, > Space complon'y® s OC VEE) ~ Time comptenity ts: O (V+ € IgV) = Algorithm. GepS? «DIT KSTRA CG, sowece) { Downe ace (6) vohup bach 4 mole uuith timon Shortest ciltonce, D Cake om array bb Cdr she cunnont @finedeat wlittonde eabimated,... from, the Source , mitiolly wall & inginity and, Sow4ee as Gore) . BOCGRaRRARARRReRRRRBES © Cuak a prinity quose oc min tap to maintare the aoa to enplone swith arsey, vals as ays , © white Gurue 5 rob empty), select the node (U) it quewe swith, Smalls assay value saya sumove (VU) from queue nel aol it to See. D For each noightou. (Vy (v) _- fiat caleatast athe tentative oust amoe pram sence to (V) shuough(U) using this formulae tt GU) + cl) Cay) AV) =aw) +c ov) © Retun the array usslich moe stontcins she shostest olistovce fom srunce bo mode un gurph 5 Seaareeeeeeesseegaganea: Scanned with CamScanner@ Scanned with OKEN Scanner z ° ie 5 ee 2S 2S 3 vw Uoe A U8 “7/2 fl) ah ‘ ey Son a ep 8 gs 338 & 3 Se Scanned with CamScannerBER e eee bbdddddddddddddddddddbbddddd: , pice 3d, aun 2 .@ o D's: mm (rcuaenal i ‘od, © DICW + mw {Pe acy mings 7® Cae]. my § E323, © Damn eesti ™{S 9 © eae] + gay 9 ENT, nu ge © VCH: HY Goede mE -O Cea de rom § BEC © vind mm | 2 © cur MNES, 9® Digan fina een [een A © OPM) + wan SEs eared va +6 pics DECI eet OMT eee] +m {fea - -6 O PHED + HM EZ, =O 6 EWM LL O © vecHD =m Ee 6D ODED. mmGs oredr sms oO O>rtm> HN EH Lg Orta we © pom tt © ORG HN Et, Oo © r2@) HY Ley 6 © OPED HY hs - © ovicia-mng tl, + © © tCp3) Scanned with CamScannerNETWoRk FLOW # FORD FULKERSON ALio3 dddi MB Ubud £0 find the ran™ flow to dhe Gon retwank , ik Jtoratively fia the Augmenting path from SOURCE ta the SINKand rerwases Ahe ~B fow Along Awe paths nti nornone eugmenting path erisls bd ce Gane team ny si ee dddddd *® |) source > Ui tas ath eutvoarol eclge vamol Tm dimoanol cole . ~> . = DSINK > QE eit have clk moeoi0l eolye anol ‘ro subcaree colze [@ > Borteneck capacity > 4's the rw™ sapadly | amy eclge on the path . 4) RESIDUAL “CAPACITY > Dural capucty — Cwvund foo . 5) RESIDUAL GRAPH » 44 15.0 supsusentation | awrinal retusore flour yoph, butts moot feet to Aefect the Gapecthy Hak sumalns auailable cn each elge Aber Vinitral fines ave been sent. 7 & helps todetrmine which path ean ve fertter Cugmenta. © MUOMENTING PATH» 21'S a parh rom smace — sink Ja the Iuv‘dual perk: — Complexity 4 ~ Time complenity, tom vary baszal on The metho ck wscol 10 finel > Edmund Kart vartont which use BFS to rol auf puh fos TC 4. OCIE*), ~> Forol Futherson Algo ’6 uscolun apf” Such as Nets Seouhing, Transportation meesorb, network ctaign 4 flow y goocls # supply. hain. we Scanned with CamScannerAh an'thm foralfullanson Cqparh , source, sine ) { D Snifietise flo =0. . DP WhlleGthene enters on augmentin pooh (P)in garndane graph) (2.11) Fru she betters, capacity . C2 DeAupment she paw aroun. path CPD, by bode neck cape 3 update dhe rcsrdunt graph . D Return Man™ ftove ‘ . so ‘ 3 . AnQ@235 2) 2 law 334 4655 ay ho fminci 3 yh) a mins 2 244 4452.4) 12 —> Men™ Fino Te Scanned with CamScannerRAPHE Qajaceney machin Coole § Cars groph | POUVIE HSL #* Adj mabrin ; Yn yumvine; Public: gaph Cink mumven) § this > numvin > Tumven Ady matrin= neur bool “adjman Cowmviny ; fr Lint c=0, Comumvin; 60) § Adimainn CE} = M02 bool Cdtjrany [rurmr, for Cine lockimelne COILS = Fate ; } 3 Void, andere Cunt vy ame j) £ : adimatnx CeI¢j] = True: Ooh alm C4 ICT ~ Rte Fue, I
Fawe; - ‘ aoljmeten Cf ICed = Fate; va cts toy Ot . for Cine €-0; Ce mumven; ve) § ‘ : for Line j20; j Crummvin : 5 44195 ; 3 oul & coljmotin CC IC5 I; 1 Scanned with CamScanneron SEES EES a See RAPH? astiaceney hike cole . > we Lani. convicler sacl jacency Lik as Wetton Y Veetong. Mees geaph £ Pedal? ume numvin Vita CeO Cnt >> aoljla ; Public? Qawphy Ciné 2) 1 Nutr =n; QOlj List » FeslZCC mumven) , ] Vole aoldledge C int sige imt out) ¢ Aoljie 05.201. push back (dut); ; adlglist Cost]. push. back Casic) 5 vor loterceolge C int S80, une oleae) § nk dest Indlen= -15 cag Cink e=0; 0
Me Oe i ee et ee ee Court, g-aconmecteot €0,1)
~——“<—C—O—é™S?h Cone? “Topeak So*i CDA geoph f Ew ; Mak
toads; Tepoutit Cink, bool visrbet 3, Stach
CV] 5 } aust yaph :+ adoedye Cink 4, inkos) 4 aejCv 1 - push back Cur), » 3 eld graph: topos! Cink» bool vibteel LI , Stach Lint >4 Stack )$ wusinol Cy y = Pues Hal dint? 1 atenaley os —> behaves URC a Porte. FPA Cie acts OVI. begin! U rads cv 3-ord0), Ut) YE Cl ueiet #01) fopoubl CC werk, Stack) ; Stack. push lv) ; Scanned with CamScannerVOId graph’: tnpeaone L) { Stack
Stach » + beol * uib'teel = mews bev! cvd; for Cre rr0; veo. uM) USI Ret ‘te d= falie ; fe Cinti=o; cee) ven) wf Cwisited CUI == folse) kopoubit Ce, viti'peol Stack ) ; tabile Cstack, .emplyc) = ~ fae) £ Wout Le Steer, topl) ; Stack . pop); dnt man (0) Jnt n, viva; B) sere nye wn 7n; ae geoph 9m) Scanned with CamScanner
You might also like
DSD 5th Unit
PDF
No ratings yet
DSD 5th Unit
41 pages
Unit - 4, Data Structures
PDF
No ratings yet
Unit - 4, Data Structures
20 pages
DM Unit5 Aiml
PDF
No ratings yet
DM Unit5 Aiml
66 pages
AI Unit 3
PDF
No ratings yet
AI Unit 3
21 pages
Spanning Tree Minimum Spanning Tree Kruskal Algorithm Prims Algorithm Graph Matrix Travel of Binary Tree Dijkastra Algorithm
PDF
No ratings yet
Spanning Tree Minimum Spanning Tree Kruskal Algorithm Prims Algorithm Graph Matrix Travel of Binary Tree Dijkastra Algorithm
18 pages
DLT Unit-3
PDF
No ratings yet
DLT Unit-3
29 pages
Unit 1 Hand Written Notes
PDF
No ratings yet
Unit 1 Hand Written Notes
42 pages
DAA Unit-4 FRD
PDF
No ratings yet
DAA Unit-4 FRD
49 pages
DAA Unit-4 Notes
PDF
No ratings yet
DAA Unit-4 Notes
63 pages
DSP Assignment 1,2,3,4,5
PDF
No ratings yet
DSP Assignment 1,2,3,4,5
53 pages
1 LPP MTech
PDF
No ratings yet
1 LPP MTech
21 pages
ML Unit 4
PDF
No ratings yet
ML Unit 4
12 pages
Raj U1-Ai
PDF
No ratings yet
Raj U1-Ai
12 pages
DAA Unit 4 Notes
PDF
No ratings yet
DAA Unit 4 Notes
34 pages
Final HPC Unit II
PDF
No ratings yet
Final HPC Unit II
26 pages
O-Level E Math Summary Notes
PDF
No ratings yet
O-Level E Math Summary Notes
38 pages
DSA Graph STRUCTURES
PDF
No ratings yet
DSA Graph STRUCTURES
35 pages
DSA Notes
PDF
No ratings yet
DSA Notes
84 pages
Chapter 2 Stack and Queue
PDF
No ratings yet
Chapter 2 Stack and Queue
25 pages
PF Notes
PDF
No ratings yet
PF Notes
31 pages
Aphs
PDF
No ratings yet
Aphs
40 pages
Unit 5 DSA
PDF
No ratings yet
Unit 5 DSA
13 pages
CamScanner 09-13-2020 13.33.24
PDF
No ratings yet
CamScanner 09-13-2020 13.33.24
48 pages
Graph Handwritten Notes
PDF
No ratings yet
Graph Handwritten Notes
21 pages
CG Notes
PDF
No ratings yet
CG Notes
33 pages
DAA Notes PDF
PDF
No ratings yet
DAA Notes PDF
79 pages
Ds C++ Unit 1 Notes
PDF
No ratings yet
Ds C++ Unit 1 Notes
41 pages
DS Unit IV Handwritten Notes
PDF
No ratings yet
DS Unit IV Handwritten Notes
90 pages
Java 4
PDF
No ratings yet
Java 4
54 pages
SC (Mod 1)
PDF
No ratings yet
SC (Mod 1)
35 pages
DSA Elementary Graph Operation
PDF
No ratings yet
DSA Elementary Graph Operation
6 pages
Unit 2 MFCS
PDF
No ratings yet
Unit 2 MFCS
26 pages
Design and Analysis of Algorithms QP Solution 18CS42
PDF
No ratings yet
Design and Analysis of Algorithms QP Solution 18CS42
68 pages
Design and Analysis of Algorithms
PDF
No ratings yet
Design and Analysis of Algorithms
46 pages
DLD Short Notes
PDF
No ratings yet
DLD Short Notes
33 pages
Unit2 Coa
PDF
No ratings yet
Unit2 Coa
52 pages
Maths Prectical 1to5
PDF
No ratings yet
Maths Prectical 1to5
11 pages
PDE Lecture Notes1
PDF
No ratings yet
PDE Lecture Notes1
69 pages
Ali Raza Jatoi-HW2
PDF
No ratings yet
Ali Raza Jatoi-HW2
8 pages
18r11a04p6 Os Assignment - 4
PDF
No ratings yet
18r11a04p6 Os Assignment - 4
29 pages
Unit-5 DS
PDF
No ratings yet
Unit-5 DS
31 pages
Cse3111 Ce18028
PDF
No ratings yet
Cse3111 Ce18028
14 pages
CamScanner 05-01-2023 16.28
PDF
No ratings yet
CamScanner 05-01-2023 16.28
14 pages
Maths Practical
PDF
No ratings yet
Maths Practical
21 pages
ADA
PDF
No ratings yet
ADA
18 pages
DR Mervat DSLecture 01
PDF
No ratings yet
DR Mervat DSLecture 01
8 pages
Striver Graph
PDF
No ratings yet
Striver Graph
21 pages
Matlab Final
PDF
No ratings yet
Matlab Final
35 pages
Nikhita (CS) 1 Assig.
PDF
No ratings yet
Nikhita (CS) 1 Assig.
12 pages
Graph at Multi. Mati
PDF
No ratings yet
Graph at Multi. Mati
26 pages
Daa Unit 3 PDF
PDF
No ratings yet
Daa Unit 3 PDF
17 pages
Unit 2
PDF
No ratings yet
Unit 2
15 pages
DS Assignment
PDF
No ratings yet
DS Assignment
16 pages
DAA Module 5
PDF
No ratings yet
DAA Module 5
26 pages
DAA
PDF
No ratings yet
DAA
34 pages
C++
PDF
No ratings yet
C++
22 pages
Adsa Notes
PDF
No ratings yet
Adsa Notes
61 pages
EE3302 DLC NOVDEC2023 Key
PDF
No ratings yet
EE3302 DLC NOVDEC2023 Key
16 pages
CLRS Gist - Handwritten
PDF
No ratings yet
CLRS Gist - Handwritten
32 pages
DLD Short Notes
PDF
No ratings yet
DLD Short Notes
33 pages
DBMS Unit 1
PDF
No ratings yet
DBMS Unit 1
29 pages
TapScanner 29-12-2024-21 09
PDF
No ratings yet
TapScanner 29-12-2024-21 09
17 pages
Set Theory 1
PDF
No ratings yet
Set Theory 1
9 pages