Defined in File RandomSpanningForest.hpp
public NetworKit::SpanningForest (Class SpanningForest)
public NetworKit::SpanningForest
Creates a random spanning tree for each connected component. Time complexity: cover time of G.
Public Functions
Computes for each component a random spanning tree. Uses simple random-walk based algorithm. Time complexity: cover time of G.