wolfdroid / MST_Prim-s_and_Kruskal-s

Simple visualization for Minimum Spanning Tree using Prim's and Kruskal's Algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MST_Prim-s_and_Kruskal-s

Brief Description

Simple visualization for Minimum Spanning Tree using Prim's and Kruskal's Algorithm

Instalation Guide

  1. Install Networkx and Matplotlib package to your python.

  2. Go to your repository file.

  3. Type python <kruskal.py / prim.py> < your dataset filename in txt format> to run the codes.

    e.g : Python Kruskal.py dataset1.txt

See the study on Research Gate

Check the Documentation Folder for examples of the output

About

Simple visualization for Minimum Spanning Tree using Prim's and Kruskal's Algorithm

License:The Unlicense


Languages

Language:Python 100.0%