Expand description
Bipartite matching algorithms.
Provides:
is_matching— validate a matching vector against a graphis_maximal_matching— check whether a valid matching is maximalmaximum_bipartite_matching— maximum cardinality bipartite matching (push-relabel, unweighted)maximum_bipartite_matching_weighted— maximum weight bipartite matching (Hungarian / Kuhn-Munkres)
Reference: igraph/src/misc/matching.c (1013 lines).
Structs§
Functions§
- is_
matching - Check whether
matchingis a valid matching forgraph. - is_
maximal_ matching - Check whether
matchingis a maximal matching forgraph. - maximum_
bipartite_ matching - Compute a maximum cardinality matching in an unweighted bipartite graph.
- maximum_
bipartite_ matching_ weighted - Compute a maximum weight matching in a weighted bipartite graph.