SlideShare a Scribd company logo
MINIMUM spANNING Trees!By: Makenna , Emmely , and Jessica
What is a minimun spanning tree?A graph that connects all nodes together.A minimum spanning tree is used to find the shortest route.
BasicsGraph- a diagram showingMST-minimum spanning treeShortest route, the shortest path between all the places you need to go
MST BasicsNO CYCLES ALLOWED!Algorithm- a problem solving procedure following a set of rules.Cycle-the nodes are connected by more than one edge.
Muddy CityAn example would be having to use the least amount of paving stones to pave roads so that every house could be connected to every other house indirectly.
What is an MST Algorithm?An MST algorithm is a way to show the shortest distance.There are many different algorithms.KruskalPrimReverse delete
Kruskal’s AlgorithmPick out the smallest edgesRepeat step 1 as long as the edge selected does not create a cycleWhen all nodes have been connected you are done
Kruskal #0
Kruskal #1
Kruskal #2
Kruskal #3
Kruskal #4
Kruskal #528 stones
Reverse-Delete AlgorithmThis is the opposite of Kruskal’s algorithm.Start with all edges Delete the longest edgeContinue deleting longest edge as long as all nodes are connected and no cycles.
Reverse-Delete #1
Reverse-Delete #2
Reverse-Delete #3
Reverse-Delete #4
Reverse-Delete #5
Reverse-Delete #6
Reverse-Delete #7
Reverse-Delete #8
Reverse-Delete #9
Reverse-Delete #10
Reverse-Delete #11
Prim’s AlgorithmPick out a node.Pick out the shortest edge that is connected to your tree so far as long as it doesn’t create a cycle.Continue this until all nodes are covered.
Prim #1
Prim #2
Prim #3
Prim #4
Prim #5
Prim #6
Prim #7
Prim #8
Prim #9
Prim #10
MSTsKruskal (1956) and Prim (1967)MSTs make our life easier and we save money by using short paths.MST’s was first seen in Poland, France , The Czech Republic and Slovokia Czechoslovakia.
Importance of MSTsWe need it in computer science because it prevents loops in a switched network with redundant paths.It’s one of the oldest and most basic graphs in theoretical computer science.
Why We Love MSTsMSTs are very fun to work with It helps you find the shortest route.
ANY QUESTIONS?
Thanksfor listening!

More Related Content

What's hot (20)

PPT
KRUSKAL'S algorithm from chaitra
guest1f4fb3
 
PDF
All pairs shortest path algorithm
Srikrishnan Suresh
 
PPT
minimum spanning trees Algorithm
sachin varun
 
PPT
Prim Algorithm and kruskal algorithm
Acad
 
PPTX
Kruskal's algorithm
Raj Kumar Ranabhat
 
PPTX
daa-unit-3-greedy method
hodcsencet
 
PDF
Shortest path algorithms
Amit Kumar Rathi
 
PPTX
Dijkstra's Algorithm
Rashik Ishrak Nahian
 
PPTX
Shortest path algorithm
sana younas
 
PPTX
All pair shortest path
Arafat Hossan
 
PPTX
implementation of travelling salesman problem with complexity ppt
AntaraBhattacharya12
 
PPTX
prim's and kruskal's algorithm
shreeuva
 
PPTX
Kruskal Algorithm
Snehasis Panigrahi
 
PPT
Randomized algorithms ver 1.0
Dr. C.V. Suresh Babu
 
PDF
Topological Sort
Dr Sandeep Kumar Poonia
 
PPTX
Dijkstra’S Algorithm
ami_01
 
PDF
Minimum spanning tree
Amit Kumar Rathi
 
PPTX
Webinar : P, NP, NP-Hard , NP - Complete problems
Ziyauddin Shaik
 
PPTX
Prims and kruskal algorithms
Saga Valsalan
 
PPTX
String matching algorithms
Ashikapokiya12345
 
KRUSKAL'S algorithm from chaitra
guest1f4fb3
 
All pairs shortest path algorithm
Srikrishnan Suresh
 
minimum spanning trees Algorithm
sachin varun
 
Prim Algorithm and kruskal algorithm
Acad
 
Kruskal's algorithm
Raj Kumar Ranabhat
 
daa-unit-3-greedy method
hodcsencet
 
Shortest path algorithms
Amit Kumar Rathi
 
Dijkstra's Algorithm
Rashik Ishrak Nahian
 
Shortest path algorithm
sana younas
 
All pair shortest path
Arafat Hossan
 
implementation of travelling salesman problem with complexity ppt
AntaraBhattacharya12
 
prim's and kruskal's algorithm
shreeuva
 
Kruskal Algorithm
Snehasis Panigrahi
 
Randomized algorithms ver 1.0
Dr. C.V. Suresh Babu
 
Topological Sort
Dr Sandeep Kumar Poonia
 
Dijkstra’S Algorithm
ami_01
 
Minimum spanning tree
Amit Kumar Rathi
 
Webinar : P, NP, NP-Hard , NP - Complete problems
Ziyauddin Shaik
 
Prims and kruskal algorithms
Saga Valsalan
 
String matching algorithms
Ashikapokiya12345
 

Similar to Minimum Spanning Tree (20)

PDF
Minimum-Spanning-Tree.pdf ramswaroop memorial University
SatyamMishra828076
 
PDF
Minimum Spanning Tree in design and analysis
2022imscs011
 
PPT
Graph Theory PPT presentation created by Selvam.
selfcinima
 
PPTX
_A C program for Prim's Minimum Spanning Tree (MST) algorithm. The program is...
SatyamMishra828076
 
PPTX
Minimum spanning tree
STEFFY D
 
PPTX
1 sollins algorithm
Muhammad Salman
 
PPTX
APznzaZLM_MVouyxM4cxHPJR5BC-TAxTWqhQJ2EywQQuXStxJTDoGkHdsKEQGd4Vo7BS3Q1npCOMV...
KUSHDHIRRA2111026030
 
PDF
15 chapter9 graph_algorithms_mst
SSE_AndyLi
 
PDF
Ijciras1101
zhendy94
 
PDF
Minimum Spanning Tree (MST), Kruskal's algorithm and Prim's Algorithm, and th...
Animesh Chaturvedi
 
PPTX
Presentation.pptx
rohitsingh935398
 
PPTX
DATA STRUCTURE AND ALGORITHM LMS MST KRUSKAL'S ALGORITHM
ABIRAMIS87
 
PPTX
Ram minimum spanning tree
Rama Prasath A
 
PPTX
Minimum spanning tree
AhmedMalik74
 
PPTX
Use of the Tree.
Nareender Kumar
 
PPTX
Minimum Spanning Tree.pptx
HrRajon2
 
PPTX
Spanning Tree in data structure and .pptx
asimshahzad8611
 
PPTX
Minimum spanning tree.pptx data structure programming
Arjunkrish9
 
PPTX
Minimum Spanning Tree (Data Structure and Algorithm)
chandankumar364348
 
Minimum-Spanning-Tree.pdf ramswaroop memorial University
SatyamMishra828076
 
Minimum Spanning Tree in design and analysis
2022imscs011
 
Graph Theory PPT presentation created by Selvam.
selfcinima
 
_A C program for Prim's Minimum Spanning Tree (MST) algorithm. The program is...
SatyamMishra828076
 
Minimum spanning tree
STEFFY D
 
1 sollins algorithm
Muhammad Salman
 
APznzaZLM_MVouyxM4cxHPJR5BC-TAxTWqhQJ2EywQQuXStxJTDoGkHdsKEQGd4Vo7BS3Q1npCOMV...
KUSHDHIRRA2111026030
 
15 chapter9 graph_algorithms_mst
SSE_AndyLi
 
Ijciras1101
zhendy94
 
Minimum Spanning Tree (MST), Kruskal's algorithm and Prim's Algorithm, and th...
Animesh Chaturvedi
 
Presentation.pptx
rohitsingh935398
 
DATA STRUCTURE AND ALGORITHM LMS MST KRUSKAL'S ALGORITHM
ABIRAMIS87
 
Ram minimum spanning tree
Rama Prasath A
 
Minimum spanning tree
AhmedMalik74
 
Use of the Tree.
Nareender Kumar
 
Minimum Spanning Tree.pptx
HrRajon2
 
Spanning Tree in data structure and .pptx
asimshahzad8611
 
Minimum spanning tree.pptx data structure programming
Arjunkrish9
 
Minimum Spanning Tree (Data Structure and Algorithm)
chandankumar364348
 
Ad

Recently uploaded (20)

PDF
1, 2, 3… E MAIS UM CICLO CHEGA AO FIM!.pdf
Colégio Santa Teresinha
 
PPTX
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
PPTX
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
PPTX
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
PPTX
PPT on the Development of Education in the Victorian England
Beena E S
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
PPTX
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
PPTX
Gall bladder, Small intestine and Large intestine.pptx
rekhapositivity
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
PPTX
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
PPTX
Latest Features in Odoo 18 - Odoo slides
Celine George
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PDF
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
1, 2, 3… E MAIS UM CICLO CHEGA AO FIM!.pdf
Colégio Santa Teresinha
 
How to Create Rental Orders in Odoo 18 Rental
Celine George
 
How to Manage Access Rights & User Types in Odoo 18
Celine George
 
Views on Education of Indian Thinkers J.Krishnamurthy..pptx
ShrutiMahanta1
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
Views on Education of Indian Thinkers Mahatma Gandhi.pptx
ShrutiMahanta1
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
Zoology (Animal Physiology) practical Manual
raviralanaresh2
 
PPT on the Development of Education in the Victorian England
Beena E S
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Optimizing Cancer Screening With MCED Technologies: From Science to Practical...
i3 Health
 
SCHOOL-BASED SEXUAL HARASSMENT PREVENTION AND RESPONSE WORKSHOP
komlalokoe
 
Gall bladder, Small intestine and Large intestine.pptx
rekhapositivity
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
How to Configure Prepayments in Odoo 18 Sales
Celine George
 
How to Configure Lost Reasons in Odoo 18 CRM
Celine George
 
Latest Features in Odoo 18 - Odoo slides
Celine George
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
BÀI TẬP BỔ TRỢ THEO LESSON TIẾNG ANH - I-LEARN SMART WORLD 7 - CẢ NĂM - CÓ ĐÁ...
Nguyen Thanh Tu Collection
 
Ad

Minimum Spanning Tree