Skip to content

Implemented MST (Minimum Spanning Tree) for a weighted, undirected graph using Prim’s algorithm. The program uses an 'adjacency list' and 'edge matrix' to support various commands and manipulations. These include: calculating MST value, finding the degree of a vertex, inserting/deleting edges, etc.

Notifications You must be signed in to change notification settings

Sparsh2234/MST-Greedy-Algorithm-Program

Repository files navigation

MST-Greedy-Algorithm-Program

Implemented MST (Minimum Spanning Tree) for a weighted, undirected graph using Prim’s algorithm. The program uses an 'adjacency list' and 'edge matrix' to support various commands and manipulations. These include: calculating MST value, finding the degree of a vertex, inserting/deleting edges, etc. The program uses a minimum heap data structure to order edges based on lowest weight.

About

Implemented MST (Minimum Spanning Tree) for a weighted, undirected graph using Prim’s algorithm. The program uses an 'adjacency list' and 'edge matrix' to support various commands and manipulations. These include: calculating MST value, finding the degree of a vertex, inserting/deleting edges, etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published