Defined in File EdgeScore.hpp
public NetworKit::Algorithm (Class Algorithm)
Abstract base class for an edge score.
Public Functions
Compute the edge score.
Get a vector containing the score for each edge in the graph.
the edge scores calculated by run().
Build a weighted graph from the computed edge scores.
The returned graph has the same topology as the input graph but edge weights are derived from the edge scores:
w(e) = offset + factor * score(e) or, if squared == true: w(e) = offset + factor * score(e)^2
Requires that edges are indexed (G->hasEdgeIds()). Currently intended for undirected graphs (same behavior as the former EdgeScoreAsWeight helper).