GlobalClusteringCoefficient

GlobalClusteringCoefficient[g]
gives the global clustering coefficient of the graph g.

DetailsDetails

  • GlobalClusteringCoefficient is also known as clustering coefficient.
  • The global clustering coefficient of g is the fraction of paths of length two in g that are closed over all paths of length two in g.
  • GlobalClusteringCoefficient works with undirected graphs, directed graphs, and multigraphs.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Find the global clustering coefficient of a graph:

In[3]:=
Click for copyable input
Out[3]=

Global clustering coefficient of the WattsStrogatz model as a function of rewiring probability:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2012
(9.0)
| Updated in 2014
(10.0)