public class ClusteringCoefficient
extends java.lang.Object
Constructor and Description |
---|
ClusteringCoefficient() |
Modifier and Type | Method and Description |
---|---|
static toools.math.Distribution<java.lang.Double> |
getClusteringCoefficientDistribution(Grph g)
Computes a clustering coefficient distribution for this graph
|
static double |
getLocalClusteringCoefficient(Grph g,
int vertex)
Computes the local clustering coefficient of the given vertex
v , defined as the number of edges in G[N(v)] over the
maximum possible number of edges in G[N(v)] if it was a clique. |
public static double getLocalClusteringCoefficient(Grph g, int vertex)
v
, defined as the number of edges in G[N(v)] over the
maximum possible number of edges in G[N(v)] if it was a clique.vertex
- public static toools.math.Distribution<java.lang.Double> getClusteringCoefficientDistribution(Grph g)