public class GlobalClusteringCoefficientAlgorithm extends GrphAlgorithm<java.lang.Double>
Constructor and Description |
---|
GlobalClusteringCoefficientAlgorithm() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
compute(Grph g)
Computes the global clustering coefficient of this graph, defined as the
number of triangles over the number of triplets (i.e.
|
cacheResultForGraph, getSourceCode
public GlobalClusteringCoefficientAlgorithm()
public java.lang.Double compute(Grph g)
compute
in class GrphAlgorithm<java.lang.Double>