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.
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »