Defined in File AlgebraicMatchingCoarsening.hpp
public NetworKit::GraphCoarsening
(Class GraphCoarsening)
Implements an algebraic version of the MatchingCoarsening algorithm by computing a projection matrix from fine to coarse.
Public Functions
Constructs an instance of AlgebraicMatchingCoarsening for the given Graph graph and the corresponding Matching matching. If noSelfLoops is set to true (false by default), no self-loops are created during the coarsening.
graph –
matching –
noSelfLoops –
Computes the coarsening for the graph using the given matching.