MinimumSpanningTree

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

MinimumSpanningTree[g]
uses Kruskal's algorithm to find a minimum spanning tree of graph g.

更多信息更多信息