Search for all minimal spanning trees

Possible duplicate:
All minimal spanning tree implementations

How can I find all minimal spanning trees in an undirected graph in an efficient way?

+5
source share
3 answers

Apologies for the academic response ... but the algorithm Sin Knuth TAOCP , Volume 4, Fascicle 4 is precisely about generating all spanning trees (p. 26ff). There are some musings when he talks about spanning trees, but your best bet is TAOCP.

+1
source

you can find one ... BFS algorithm!

0

Yes, there are algorithms for creating all spanning trees in a graph. At least one compresses the output, generating only differences between trees. As others have pointed out, for even a small graph there can be many minimal spanning trees.

0
source

All Articles