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.

DetailsDetails

  • LocalClusteringCoefficient is also known as clustering coefficient.
  • The local clustering coefficient of the vertex v is the fraction of pairs of neighbors of v that are connected over all pairs of neighbors of v.
  • LocalClusteringCoefficient works with undirected graphs, directed graphs, and multigraphs.
Introduced in 2012
(9.0)
| Updated in 2014
(10.0)