diff --git a/edmonds.cpp b/edmonds.cpp index e63a8a1..7cfe584 100644 --- a/edmonds.cpp +++ b/edmonds.cpp @@ -30,13 +30,11 @@ std::vector path_to_forest_root(Graph const & graph, NodeId id) return retval; } - - Graph maximum_matching_from_initial_matching(Graph & graph) { graph.reset_forest(); for(NodeId id = 0; id < graph.num_nodes(); ++id) { - if (graph.is_out_of_forest(id)) + if (graph.is_outer(id)) { for(NodeId neighbor_id : graph.node(id).neighbors()) {