Question

Write Kruskal’s algorithm for finding minimum cost spanning tree using greedy approach and apply to the following graph and show step by step results.

07 Aug 2023
Answer :
Word Count : 732

Kruskal’s algorithm is a classical greedy algorithm used for finding the minimum spanning tree (MST) of a weighted, undirected graph. The minimum spanning tree of a graph is a subset of edges that connects all the vertices together without any cycles, and the total weight of the edges is minimized. Kruskal's algorithm follows a greedy approach, which means it makes the locally optimal choice at each step with the hope of finding the global optimum.

Steps in Kruskal’s Algorithm:

  1. Sort all the edges in the graph in increasing order of their weights.
  2. Initialize a forest, where each vertex is its own component (or tree).
  3. Pick the smallest edge. If the edge connects two different components (trees), include it in the MST and merge the components. If it forms a cycle, discard it.
  4. Repeat the process until there are V−1V - 1 edges in the MST, where VV is the number of vertices in the graph.

Step-by-step Application to a Graph:

Consider the following weighted graph:

 
___ ___ ________ _________ ______ ______ _____ __________ _________ __________ __________ ________.
________ _______ ________ _______ _____ __________.
____ _________ _____ _____ ______ __________.
_________ _____ __________ _____ _________ ________ ____ ____ ____ _____ _______.
____ __________ _______ _________ _________ ____ ________.
____ _________ ______ ________ ___ ____ _______.
___ ___ _____ _________ _______ _________.
_____ _________ ____ _________ ________ ________ ____ __________ _______.
______ ___ ______ ____ _________ ________.
__________ _______ __________ ____ __________ ___.
______ _________ ________ _______ _______ ______ __________ ______ ______ __________ _________.
___ ____ ___ ___ _________.
___ _____ ____ _____ ________ _________ _____.
_______ ________ ___ ______ _________.
_______ _____ __________ _________ ____ _________ ___.
____ ___ ____ _______ ____.
__________ ________ _____ __________ ______ __________ _________.
_________ ______ ___ ___ ___.
________ _________ _________ __________ ______ ________ ______.
________ _______ _________ ________ ____ _______ _____.
_________ ________ ___ ______ ______.
__________ _________ ______ _______ _______ ___ _________ __________.
_________ ________ _______ ______ _________ ___ __________ _________ _________ _______ _________ ____.
____ _____ ______ ______ __________ ____ _______ __________.
_____ ___ ________ ______ ______ _________ ______.
_______ ________ _________ ___ ____ ____ __________ ______ ___.
____ ___ ________ _____ ____ ______ _____ _____ ____.
____ _______ ________ _______ ________ ____.
______ ____ _________ ____ ________ ___ _____ _____ _______ ______.
_____ ___ ________ __________ ____ ________ _______ __________ _______.
__________ ________ __________ ____ ________ ____ _________.
____ ________ ________ _______ _________ ___ _________ _________ _______ ______.
____ __________ ___ ______ ______ ___ ________ _________ _______ _______ ___.
_____ __________ _________ _____ ________ ________ __________ ______ _____ _______ _____ _________.
___ _____ _______ _________ _____ _______ ___ ________ ___.
___ __________ ________ ______ ___ _______ ___ ___ _____ ________ _______ ______.
_____ ___ __________ ____ _________ _____.
______ ____ ___ _________ _____ ________ ___ ________ ___ ___ _____.
_______ _________ ___ ____ _______ _______ _______ ______ ____ ____ ___.
_________ ____ _________ _______ ________ ______ ________ ___ ______ ______ ____ _______.
_______ ______ ____ _________ ________ ________ _____ ___ _____ _______ ______ ______.
___ ______ __________ ________ _________ _________ _________.
_____ __________ ________ __________ ______ _________ __________ ___ _____.
___ _____ _____ ______ ________ ____.
__________ ___ ______ __________ ____ ___ ____ _________ ___ ________.
_______ ___ _____ __________ ________ _________ ____ ____ _______.
________ _____ _______ ___ __________ _______.
_________ _________ ___ ________ ___ ______ _________ ___ _______ _____ _____ ___.
________ _____ __________ ________ ______ _______ ______ ____ ____ ____ _____.
_________ __________ _________ ___ ___ _______ ____ _______ _____ ______ __________.
________ _____ ________ ____ _________ _________ _______ _________ _______.
_________ _____ _____ _________ _______.
_______ _____ ____ _________ _____.
_____ ____ ___ _______ _________ __________ _____ _____ ____ ____.
________ ____ _________ _________ ___ _______ __________ _______ ___ _______ ______.
_____ _________ _______ ________ ______ ______ ________ __________ ______.
________ ______ _____ ________ __________ ____ __________ _____ _______ _________ _____ ____.
_______ _________ ____ _________ _______ ____ ___ _________ ____ _________ __________.
_________ ________ _______ _______ _________ ________ ___ _____ ____ ___ ____.
________ _________ _____ ___ __________.
______ _______ _______ __________ ___ ___ ______.
________ ____ _______ _______ ___ ___ ____ ________ ______ ______ _______.
____ __________ ____ __________ _____ _______ ________.
________ _______ ____ ____ _______ ______ _____ _______ _______ _________.
_________ ______ _______ _____ ______.
_____ _____ _______ _________ ____ ________.
__________ __________ _____ _____ ____ ______ _________ __________ __________ ______ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU BCS 42 2023 2024 - Write Kruskal’s algorithm for finding minimum cost spanning tree | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→