Skip to content

ManjunadhaReddy04/prim-S-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

AIM To Find Minimum Cost Spanning Tree of a undirected graph using Prim’s algorithm ALGORITHM

  1. Step 1: Select a starting vertex
  2. Step 2: Repeat Steps 3 and 4 until there are fringe vertices
  3. Step 3: Select an edge 'e' connecting the tree vertex and fringe vertex that has minimum weight
  4. Step 4: Add the selected edge and the vertex to the minimum spanning tree T
  5. [END OF LOOP]
  6. Step 5: EXIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published