All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LocalClusteringCoefficient.h
Go to the documentation of this file.
1 /*
2  * LocalClusteringCoefficient.h
3  *
4  * Created on: 31.03.2015
5  * Author: maxv
6  */
7 
8 #ifndef LOCALCLUSTERINGCOEFFICIENT_H_
9 #define LOCALCLUSTERINGCOEFFICIENT_H_
10 
11 #include "Centrality.h"
12 
13 namespace NetworKit {
14 
19 public:
38  LocalClusteringCoefficient(const NetworKit::Graph &G, bool turbo = false);
39 
40 
41 
45  void run() override;
46 
47 
53  virtual double maximum() override;
54 protected:
55  bool turbo;
56 
57 };
58 
59 } /* namespace NetworKit */
60 
61 #endif /* LOCALCLUSTERINGCOEFFICIENT_H_ */
virtual double maximum() override
Get the theoretical maximum of centrality score in the given graph.
Definition: LocalClusteringCoefficient.cpp:89
Definition: LocalClusteringCoefficient.h:18
LocalClusteringCoefficient(const NetworKit::Graph &G, bool turbo=false)
Constructs the LocalClusteringCoefficient class for the given Graph G.
Definition: LocalClusteringCoefficient.cpp:6
void run() override
Computes the local clustering coefficient on the graph passed in constructor.
Definition: LocalClusteringCoefficient.cpp:11
const Graph & G
Definition: Centrality.h:91
Abstract base class for centrality measures.
Definition: Centrality.h:20
bool turbo
Definition: LocalClusteringCoefficient.h:55
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79