
Prim’s Algorithm is a greedy algorithm used to find the Minimum Spanning Tree (MST) of a weighted, connected, undirected graph. A Minimum Spanning Tree is a subset of edges that connects all vertices of a graph with the minimum possible total edge weight and without forming any cycles. The idea of Prim’s Algorithm is to start from one vertex and grow the spanning tree by adding the smallest edge that connects Steps of Prim's Algorithm: Start with any vertex. Choose the edge with the minimum weight that connects a visited vertex to an unvisited vertex. Add that edge and vertex to the MST. Repeat the process until all vertices are included..
A-B 2 A-D 5 A-F 3 B-A B-F B-D D-A D-C A-F. A-B 2 B-D 2 D-C 1 A-F 3.
APPLICATIONS AND REFERENCES. 1. Network Design – Used in designing least-cost networks like telephone lines, computer networks, and electrical grids. 2. Transportation Planning – Helps in building roadways, railways, or pipelines with minimum construction cost. 3. Cluster Analysis (Data Mining & ML) – Used to form clusters by connecting data points with minimum distances. 4. Civil Engineering – Planning water supply systems, electrical wiring, and underground cables. 5. Approximation Algorithms – Serves as a base for solving complex NP-hard problems where MST is required..
Ai Tools Used. The following AI tools were used in preparing this presentation: Perplexity Pro – For research and fact-checking. Canva – For designing and enhancing slides. Gamma AI – For creating structured, professional presentations..
THANK YOU.