Clustering in Small-World Networks

Clustering can be used to quantify network robustness with respect to perturbation, and a high degree of clustering is one of the features captured by the small-world networks of Watts and Strogatz. In epidemiology, a robust network allows a disease to spread similarly even if the network is perturbed.

    
Compute the global clustering coefficient of a random graph:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Compute the global clustering coefficients of a set of random graphs:
In[3]:=
Click for copyable input
Create the heat map of selected graphs with respect to the coefficient values:
In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
In[6]:=
Click for copyable input
In[7]:=
Click for copyable input
Out[7]=