edge-disjoint spanning trees of a graph
graph or network
Important: The networks package has been deprecated. Use the superseding package GraphTheory instead.
This routine uses Edmonds's matroid partitioning algorithm to find a partition of G into the minimum number of forests. This partitioning works in such a way that as many as possible of the forests in the final partition are spanning trees.
The actual result is returned as a table of edge sets which can be used to induce the appropriate subgraphs.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[djspantree](...).
G ≔ complete⁡3,4:
Download Help Document