Class RandomEdgeScore

Inheritance Relationships

Base Type

Class Documentation

class RandomEdgeScore : public NetworKit::EdgeScore<double>

Generates a random edge attribute. Each edge is assigned a random value in [0,1].

Public Functions

RandomEdgeScore(const Graph &G)

Creates a new instance of the Random edge score.

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.