diff --git a/example.cpp b/example.cpp index ca64077..07bb12a 100644 --- a/example.cpp +++ b/example.cpp @@ -2,6 +2,7 @@ #include // For reading input files. #include "graph.hpp" +#include "edmonds.h" int main(int argc, char** argv) { @@ -29,7 +30,10 @@ int main(int argc, char** argv) } } } - std::cout << greedy_matching_as_graph; + + // Now, calculate the matching + ED::Graph optimum_matching = Edmonds::maximum_matching(greedy_matching_as_graph); + std::cout << optimum_matching; return EXIT_SUCCESS; }