GlobalClusteringCoefficient

GlobalClusteringCoefficient[g]

gives the global clustering coefficient of the graph g.

GlobalClusteringCoefficient[{vw,}]

uses rules vw to specify the graph g.

Details

  • 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.

Examples

open allclose all

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]=

Scope  (5)

Properties & Relations  (6)

See Also

MeanClusteringCoefficient  LocalClusteringCoefficient  BetweennessCentrality  GraphReciprocity

Introduced in 2012
(9.0)
| Updated in 2015
(10.3)