Skip to main content

Module matching

Module matching 

Source
Expand description

Graph matching algorithms.

Re-exports§

pub use blossom_v_simple::blossom_match_unweighted;
pub use hopcroft_karp::hopcroft_karp_matching;
pub use hungarian_munkres::hungarian_assignment;
pub use weighted_general::WeightedGeneralMatching;
pub use weighted_general::WeightedMatchingResult;

Modules§

blossom_v_simple
Simplified blossom-based maximum matching on general (non-bipartite) graphs.
hopcroft_karp
Hopcroft-Karp bipartite matching, O(E * sqrt(V)).
hungarian_munkres
Hungarian (Kuhn-Munkres) algorithm for min-cost assignment in O(n^3).
weighted_general
Maximum-weight matching on a general (non-bipartite) weighted graph.