Skip to content

prim's and kruskal's algorithm to find the minimum spanning tree

Notifications You must be signed in to change notification settings

cteters/Minimum-spanning-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimum-spanning-tree

prim's and kruskal's algorithm to find the minimum spanning tree

For the program to work, install the following software:

sudo apt-get install python3-tk

sudo pip3 install networkx

sudo pip3 install matplotlib

Or with O.S. specific information and run as a Python3 file.

example execution:

python3 prim.py city-pairs.txt

python3 kruskal.py city-pairs.txt

~Cheers!

About

prim's and kruskal's algorithm to find the minimum spanning tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages