Clustering coefficient
From Wikipedia, the free encyclopedia
Duncan J. Watts and Steven Strogatz (1998) introduced the clustering coefficient1 graph measure to determine whether or not a graph is a small-world network.
First, let us define a graph in terms of a set of n vertices and a set of edges E, where eij denotes an edge between vertices vi and vj. Below we assume vi, vj and vk are members of V.
We define the neighbourhood N for a vertex vi as its immediately connected neighbours as follows:
The degree ki of a vertex is the number of vertices, | Ni | , in its neighbourhood Ni.
The clustering coefficient Ci for a vertex vi is the proportion of links between the vertices within its neighbourhood divided by the number of links that could possibly exist between them. For a directed graph, eij is distinct from eji, and therefore for each neighbourhood Ni there are ki(ki − 1) links that could exist among the vertices within the neighbourhood. Thus, the clustering coefficient is given as
An undirected graph has the property that eij and eji are considered identical. Therefore, if a vertex vi has ki neighbours, edges could exist among the vertices within the neighbourhood. Thus, the clustering coefficient for undirected graphs can be defined as
Let λG(v) be the number of triangles on for undirected graph G. That is, λG(v) is the number of subgraphs of G with 3 edges and 3 vertices, one of which is v. Let τG(v) be the number of triples on . That is, τG(v) is the number of subgraphs (not necessarily induced) with 2 edges and 3 vertices, one of which is v and such that v is incident to both edges. Then we can also define the clustering coefficient as
It is simple to show that the two preceding definitions are the same, since
These measures are 1 if every neighbour connected to vi is also connected to every other vertex within the neighbourhood, and 0 if no vertex that is connected to vi connects to any other vertex that is connected to vi.
The clustering coefficient for the whole system is given by Watts and Strogatz as the average of the clustering coefficient for each vertex:
[edit] References
1 Watts, D. J. and Strogatz, S. H. "Collective dynamics of 'small-world' networks." [1]