Network Connectivity, A Model of Preferential Attachment

powered by NetLogo

Quite an easy model which starts with two nodes linked, Then another node if chosen and linked to one of these two nodes randomly but weighted according to the fact that the node with more links has a greater probability of linking to the new node. As the symmetry is broken at the first iteration, what happens is that the model generates a small number of nodes with many links and a large number with few links. The degree distribution – the number of links per node – follows a power law which is demonstrated in the graphs which are plotted as the model proceeds. You can switch off the layout plot that moves the graph into a nicer appearance and also the plot functions to speed up the model.