Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/l3mon4d3/co


https://github.com/l3mon4d3/co

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

Run `make` for building, `./CMA --graphs ` to run the algorithm,
output is the matching in dimacs-format.

Make sure gcc-12.2 (others might also work, just 11 does not work) is installed.

It's possible to generate graphviz-visualizations for every step of the
algorithm, enable in Makefile (`-DCAPTURE_STEPS`) (not recommended for graphs
bigger than about 100 nodes :D), they can be converted to svg via make-target
`capture_convert`.

overview:
* `path_iterators.hpp` defines iterators for walking the mu-phi-paths (or
rho-mu-phi)
* `graph.hpp` is the graph-class from the website, we only use it for converting
DIMACS to a graph-structure, our algorithm works on the graph-class in
`ecma.hpp`
* `ecma.hpp` contains the node and graph specifically for the
matching-algorithm