Back to Browse

Kruskal's Algorithm for minimum spanning tree - Greedy method

118 views
Mar 20, 2020
4:53

#engineeringkaksha #engineer #engineeringstudent Spanning tree of that graph is a subgraph that is a tree and connects all the vertices together. A single graph can have many different spanning trees. A minimum spanning tree (MST) or minimum weight spanning tree for a weighted, connected and undirected graph is a spanning tree with weight less than or equal to the weight of every other spanning tree. The weight of a spanning tree is the sum of weights given to each edge of the spanning tree. Sort all the edges in non-decreasing order of their weight. 2. Pick the smallest edge. Check if it forms a cycle with the spanning tree formed so far. If cycle is not formed, include this edge. Else, discard it. 3. Repeat step#2 until there are (V-1) edges in the spanning tree.

Download

1 formats

Video Formats

360pmp412.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Kruskal's Algorithm for minimum spanning tree - Greedy method | NatokHD