Class LocalSimilarityScore

Inheritance Relationships

Base Type

Class Documentation

class LocalSimilarityScore : public NetworKit::EdgeScore<double>

Implementation of the Local Sparsification Algorithm by Sataluri et al.

Public Functions

LocalSimilarityScore(const Graph &G, const std::vector<count> &triangles)
virtual double score(edgeid eid) override

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

double score(node u, node v) override
virtual void run() override

Compute the edge score.