finding all minimal spanning trees

user182513 picture user182513 · Dec 31, 2010 · Viewed 8.3k times · Source

Possible Duplicate:
All minimum spanning trees implementation

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

Answer

Dervin Thunk picture Dervin Thunk · Dec 31, 2010

Apologies for the academic answer... but algorithm S in Knuth's TAOCP, Volume 4, Fascicle 4 is exactly about generating all spanning trees (pp. 26ff). There are a few musings when he talks about generating (spanning) trees, but your best bet in TAOCP.