28 #ifndef GUM_SPANNING_FOREST_H 29 #define GUM_SPANNING_FOREST_H SpanningForest()
default constructor
SpanningForest & operator=(const SpanningForest &toCopy)
Copy operator.
virtual ~SpanningForest()
Destructor.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
virtual const EdgeSet & edgesInSpanningForest()=0
Returns the edges in a min cost spanning forest.
virtual float costOfSpanningForest()=0
Returns the cost of the spanning forest.
Base class for undirected graphs.
virtual const UndiGraph & spanningForest()=0
Construct the spanning forest.
Base class for computing min cost spanning trees or forests.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.