« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Social Network Analysis

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
X
Out[1]=
In[2]:=
Click for copyable input
X
Out[2]=

Compute the global clustering coefficients of a set of random graphs.

In[3]:=
Click for copyable input
X

Create the heat map of selected graphs with respect to the coefficient values.

In[4]:=
Click for copyable input
X
In[5]:=
Click for copyable input
X
In[6]:=
Click for copyable input
X
In[7]:=
Click for copyable input
X
Out[8]=