An open API service indexing awesome lists of open source software.

https://github.com/adharshkamath/edmonds-algorithm

A Python implementation of Edmond's blossom algorithm to find maximum matchings in general graphs
https://github.com/adharshkamath/edmonds-algorithm

blossom blossom-algorithm edmonds-algorithm graph graph-matching matching matching-algorithm

Last synced: 4 months ago
JSON representation

A Python implementation of Edmond's blossom algorithm to find maximum matchings in general graphs

Awesome Lists containing this project

README

          

# Edmonds-Algorithm

Code for the IT251 project - Implementing Edmonds blossom algorithm

To run the main file:
```
$ cd src
$ pip3 install -r requirements.txt
$ python3 main.py
```
Once the main file is run, a PNG image will be generated and opened, describing the input graph.

On closing this file, the algorithm will be run and the output graph will be generated and opened as another PNG image.

The edges in the matching will be colored red.