Skip to content

This repository contains implementations of various algorithms to solve the Minimum Spanning Tree (MST) problem.

Notifications You must be signed in to change notification settings

uni-projects-master/minimum-spanning-tree-algorithms

 
 

Repository files navigation

Minimum Spanning Tree Algorithms

This repository contains implementations of various algorithms to solve the Minimum Spanning Tree (MST) problem. The MST problem involves finding a subset of edges in a connected, undirected graph that connects all the vertices together, without any cycles, and with the minimum possible total edge weight.

Contents

  • Implementation of Kruskal's algorithm, which adds edges in increasing order of weight, ensuring no cycles are formed.
  • Implementation of Prim's algorithm, which grows the MST by adding the minimum weight edge connecting a vertex in the MST to a vertex outside it.

About

This repository contains implementations of various algorithms to solve the Minimum Spanning Tree (MST) problem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%