BipartiteMatching

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

BipartiteMatching[g]
gives the list of edges associated with a maximum matching in bipartite graph g. If the graph is edge weighted, then the function returns a matching with maximum total weight.

更多信息更多信息