Presentation (Graph Theory)
Presentation (Graph Theory)
By:Dugassa Bekele
February 5, 2025
Outlines Of Presentation
Preminary Concepts
Undirected Graph
Connected Graph
Weighted Graph
Tree
Spanning Tree
Minimum Spanning Tree
Algorithms
Algorithms used to determine MST
Kruskal’s Algorithm with Examples
Application of Kruskal’s Algorithm
Preminary Concepts
• In statistic Kruskal’s most infuential works is his seminal contribution to the formulation
of multidimensional scaling
• In computer science his best known work is Kruskal’s Algorithm for computing of the
MST of weighted graph.
• He Died in September 19, 2010
Cont…
Algorithm Of Kruskal’s
1: Input : A connected weighted graph G // G = (V, E,w)
2: Output :A minimum spanning tree T // MST T of G
3: T ← Ø
4: Q ←sorted edges in non-decreasing weights of E
5: while Q = Ø do \\continue until all edges are checked
6: pick an edge (u, v) from Q
7: if (u, v) does not make a cycle with vertices in T then
8: add (u, v) to T
9: end if
10: end while
Thus, finding an edge of smallest weighted can be done just by sorting the edges.
Cont…
Example of Kruskal’s Algorithm
Consider the undirected weighted graph given
below:
2: Output: An MST T of G
9: Join (u, v) to T
10: Until Q = Ø
Cont…
Example Of Reverse-Delete
Cont…
.