All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClusteringCoefficient.h
Go to the documentation of this file.
1 /*
2  * ClusteringCoefficient.h
3  *
4  * Created on: 08.04.2013
5  * Author: Lukas Barth, David Weiss
6  */
7 
8 #ifndef CLUSTERINGCOEFFICIENT_H_
9 #define CLUSTERINGCOEFFICIENT_H_
10 
11 #include "../graph/Graph.h"
12 
13 namespace NetworKit {
14 
19 
20 public:
30  static double avgLocal(Graph& G, bool turbo = false);
31  static double sequentialAvgLocal(const Graph &G);
32  static double approxAvgLocal(Graph& G, const count trials);
33 
37  static double exactGlobal(Graph& G);
38  static double approxGlobal(Graph& G, const count trials);
39 
40 };
41 
42 } /* namespace NetworKit */
43 #endif /* CLUSTERINGCOEFFICIENT_H_ */
static double avgLocal(Graph &G, bool turbo=false)
DEPRECATED: use centrality.LocalClusteringCoefficient and take average.
Definition: ClusteringCoefficient.cpp:110
static double exactGlobal(Graph &G)
This calculates the global clustering coefficient.
Definition: ClusteringCoefficient.cpp:168
static double approxAvgLocal(Graph &G, const count trials)
Definition: ClusteringCoefficient.cpp:133
uint64_t count
Definition: Globals.h:21
Definition: ClusteringCoefficient.h:18
static double sequentialAvgLocal(const Graph &G)
Definition: ClusteringCoefficient.cpp:18
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79
static double approxGlobal(Graph &G, const count trials)
Definition: ClusteringCoefficient.cpp:221