All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
NetworKit::SpanningForest Class Reference

Base class for spanning forest/tree algorithms. More...

#include <SpanningForest.h>

Public Member Functions

 SpanningForest (const Graph &G)
 
virtual ~SpanningForest ()=default
 
virtual void run ()
 
Graph generate ()
 Deprecated. More...
 
Graph getForest ()
 

Protected Attributes

const GraphG
 
Graph forest
 

Detailed Description

Base class for spanning forest/tree algorithms.

Constructor & Destructor Documentation

NetworKit::SpanningForest::SpanningForest ( const Graph G)
virtual NetworKit::SpanningForest::~SpanningForest ( )
virtualdefault

Member Function Documentation

Graph NetworKit::SpanningForest::generate ( )

Deprecated.

Please integrate into run method.

Graph NetworKit::SpanningForest::getForest ( )
Returns
Forest computed by run method. Note: So far no explicit check if run method has been invoked before.
void NetworKit::SpanningForest::run ( )
virtual

Member Data Documentation

Graph NetworKit::SpanningForest::forest
protected
const Graph& NetworKit::SpanningForest::G
protected

The documentation for this class was generated from the following files: