Defined in File DynConnectedComponents.hpp
public NetworKit::ComponentDecomposition
(Class ComponentDecomposition)
public NetworKit::DynAlgorithm
(Class DynAlgorithm)
Determines and updates the connected components of an undirected graph.
Public Functions
Create ConnectedComponents class for Graph G.
G – The graph.
Finds the connected components of the input graph.
Updates the connected components after an edge insertion or deletion.
event – [in] The event that happened (edge deletion or insertion).
Updates the connected components after a batch of edge insertions or deletions.
batch – [in] A vector that contains a batch of edge insertions or deletions.