LocalClusteringCoefficient
LocalClusteringCoefficient[g] gives the list of local clustering coefficients of all vertices in the graph g.
LocalClusteringCoefficient[g, v]gives the local clustering coefficient of the vertex v in the graph g.LocalClusteringCoefficient[{v -> w, ...}, ...]uses rules v -> w to specify the graph g.
Examples
All clustering coefficients:
g = RandomGraph[{10, 20}];
LocalClusteringCoefficient[g]For specific vertex:
LocalClusteringCoefficient[g, 1]Complete graph has coefficient 1:
LocalClusteringCoefficient[CompleteGraph[5]]Please visit the official Wolfram Language Reference for more details.