The formal study of
random graphs dates back to the work of
Paul Erdős and
Alfréd Rényi. The graphs they considered, now known as the classical or
Erdős–Rényi (ER) graphs, offer a simple and powerful model with many applications. However the
ER graphs do not have two important properties observed in many real-world networks: • They do not generate local clustering and
triadic closures. Instead, because they have a constant, random, and independent probability of two nodes being connected, ER graphs have a low
clustering coefficient. • They do not account for the formation of hubs. Formally, the
degree distribution of ER graphs converges to a
Poisson distribution, rather than a
power law observed in many real-world,
scale-free networks. The Watts and Strogatz model was designed as the simplest possible model that addresses the
first of the two limitations. It accounts for clustering while retaining the short average path lengths of the ER model. It does so by interpolating between a randomized structure close to ER graphs and a regular ring
lattice. Consequently, the model is able to at least partially explain the "small-world" phenomena in a variety of networks, such as the power grid, neural network of
C. elegans, networks of movie actors, or fat-metabolism communication in
budding yeast. ==Algorithm==