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 void run() override

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