Find Minimum Spanning Tree (MST) and Maximum matching in a graph With Steps !
- Give edge and vertex count
- draw your graph
- See MST or maximum matching for the graph
for MST you can choose from Prim and Kruskal algorithms.
This project uses pygame
and pygame_gui
for graphics.
If you don't have them installed it will automatically install them.
For this you must have Python installed.
You can change theme by adding themes to theme.json file or use one of pygame-gui's default themes.
-
Maximum Matching:
For maximum matching code uses Edmonds' Blossom algorithm to find maximum matching in general graph
-
Minimum Spanning Tree:
For finding the minimum spanning tree code uses Prim and Kruskal algorithms.
For more information about algorithms see these links below.
- Edmond's Blossom Algorithm
- Prim Algorithm
- Kruskal Algorithm