27 #ifndef GUM_SPANNING_FOREST_H 28 #define GUM_SPANNING_FOREST_H 29 #include <agrum/agrum.h> 31 #include <agrum/tools/graphs/graphElements.h> 32 #include <agrum/tools/graphs/undiGraph.h> SpanningForest()
default constructor
INLINE void emplace(Args &&... args)
SpanningForest(const SpanningForest &toCopy)
Copy constructor.
SpanningForest & operator=(const SpanningForest &toCopy)
Copy operator.
virtual ~SpanningForest()
Destructor.
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.
virtual const UndiGraph & spanningForest()=0
Construct the spanning forest.
Base class for computing min cost spanning trees or forests.