gives the list of local clustering coefficients of all vertices in the graph g.
gives the local clustering coefficient of the vertex v in the graph g.
uses rules vw to specify the graph g.
- 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.
Examplesopen allclose all
Introduced in 2012
(9.0)| Updated in 2015