Skip to content

Finding MST in a graph using Kruskal and Prim algorithms. This project was created during Algorithms course in The Academic College of Tel Aviv, Yaffo, 2022.

Notifications You must be signed in to change notification settings

kesemsh/MST-Kruskal-Prim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MST Kruskal Prim

This project was created during Algorithms course in The Academic College of Tel Aviv, Yaffo, 2022.

The aim of the project is to implement a number of solutions to the problem of finding a minimal spreading tree (MST), And to explore And analyze the differences between those solutions.

Algorithms Implemented

The MST's were calculated by two main algorithms:

  1. A kruskal algorithm where sorting is implemented by a quick-sort algorithm and Disjoint Sets (Forest).
  2. A prim algorithm when the priority queue is implemented by a binary stack.

Addition: The user can enter one arc to be removed from the graph. If the arc belonged to the MST found with kruskal, It will find a new MST without it.

About

Finding MST in a graph using Kruskal and Prim algorithms. This project was created during Algorithms course in The Academic College of Tel Aviv, Yaffo, 2022.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages