Class LocalDegreeScore

Inheritance Relationships

Base Type

Class Documentation

class LocalDegreeScore : public NetworKit::EdgeScore<double>

Local Degree sparsification method. See ‘Structure-Preserving Sparsification of Social Networks’ by Lindner, Staudt, Hamann.

Public Functions

LocalDegreeScore(const Graph &G)
virtual void run() override

The generic run method which calls runImpl() and takes care of setting hasRun to the appropriate value.

virtual double score(edgeid eid) override

Get the edge score of the edge with the given edge id.

virtual double score(node u, node v) override

Get the edge score of the given edge.