Defined in File DynWeaklyConnectedComponents.hpp
public NetworKit::ComponentDecomposition
(Class ComponentDecomposition)
public NetworKit::DynAlgorithm
(Class DynAlgorithm)
Determines and updates the weakly connected components of a directed graph.
Public Functions
Create DynWeaklyConnectedComponents class for Graph G.
G – The graph.
This method determines the weakly connected components for the graph given in the constructor.
Updates the weakly connected components after an edge insertion or deletion.
event – [in] The event that happened (edge insertion or deletion).
Updates the weakly connected components after a batch of edge events (insertions or deletions).
batch – [in] A vector that contains a batch of edge events (insertions or deletions).