Defined in File ModularityScoring.hpp
public NetworKit::EdgeScoring< T >
(Template Class EdgeScoring)
Public Functions
Do not modify the graph while using this instance of ModularityScoring.
G – [in] a graph instance
Default destructor
Returns an edge score for an edge (u,v) which expresses the modularity increase which can be gained by merging the clusters of u and v.
$$\Delta mod(c, d) := \frac{1}{2 \omega(E)} \left ( 2 \omega(E) \omega(c,d) - \omega(c) \omega(d) \right ) $$
u – [in] source node id
v – [out] target node id