Template Class EdgeScoreNormalizer

Inheritance Relationships

Base Type

Class Documentation

template<typename A>
class EdgeScoreNormalizer : public NetworKit::EdgeScore<double>

Public Functions

EdgeScoreNormalizer(const Graph &G, const std::vector<A> &score, bool invert = false, double lower = 0, double upper = 1.0)
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.

virtual void run() override

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