What is a minimum spanning forest?

Nikunj Banka picture Nikunj Banka · Jan 13, 2013 · Viewed 10.3k times · Source

A minimum spanning tree gives the cheapest way an undirected graph. But what is a minimum spanning forest? Is it defined for connected graphs or unconnected graphs?

Answer

voidengine picture voidengine · Jan 13, 2013

Minimum spanning forest is a generalization of minimum spanning tree for unconnected graphs. For every component of the graph, take its MST and the resulting collection is a minimum spanning forest.