All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LocalDegreeScore.h
Go to the documentation of this file.
1 /*
2  * LocalDegreeScore.h
3  *
4  * Created on: 28.08.2014
5  * Author: Gerd Lindner
6  */
7 
8 #ifndef LOCALDEGREESCORE_H_
9 #define LOCALDEGREESCORE_H_
10 
11 #include "../edgescores/EdgeScore.h"
12 
13 namespace NetworKit {
14 
19 class LocalDegreeScore : public EdgeScore<double> {
20 
21 public:
22 
23  LocalDegreeScore(const Graph& G);
24  virtual void run() override;
25  virtual double score(edgeid eid) override;
26  virtual double score(node u, node v) override;
27 
28 };
29 
30 }
31 /* namespace NetworKit */
32 #endif /* LOCALDEGREESCORE_H_ */
index edgeid
Definition: Globals.h:25
virtual void run() override
Compute the edge score.
Definition: LocalDegreeScore.cpp:30
const Graph & G
Definition: EdgeScore.h:43
virtual double score(edgeid eid) override
Get the edge score of the edge with the given edge id.
Definition: LocalDegreeScore.cpp:94
index node
Definition: Globals.h:23
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79
Local Degree sparsification method.
Definition: LocalDegreeScore.h:19
LocalDegreeScore(const Graph &G)
Definition: LocalDegreeScore.cpp:27
Abstract base class for an edge score.
Definition: EdgeScore.h:20