↰ Return to documentation for file (include/networkit/edgescores/EdgeScore.hpp)
/*
* EdgeScore.hpp
*
* Created on: 18.08.2015
* Author: Gerd Lindner
*/
#ifndef NETWORKIT_EDGESCORES_EDGE_SCORE_HPP_
#define NETWORKIT_EDGESCORES_EDGE_SCORE_HPP_
#include <vector>
#include <networkit/base/Algorithm.hpp>
#include <networkit/graph/Graph.hpp>
namespace NetworKit {
template <typename T>
class EdgeScore : public Algorithm {
public:
EdgeScore(const Graph &G);
void run() override;
virtual const std::vector<T> &scores() const;
virtual T score(edgeid eid);
virtual T score(node u, node v);
protected:
const Graph *G;
std::vector<T> scoreData;
};
} // namespace NetworKit
#endif // NETWORKIT_EDGESCORES_EDGE_SCORE_HPP_