| Preferential attachment algorithm |
|
Chapter 4 of Six Degrees pp 108-109 has a good introduction to cumulative advantage (known also as "rich get richer" and the "Matthew effect" among other names) and its effect on network dynamics. Read that before you continue. Preferential attachment is the mathematical model used to represent the force of cumulative advantage in network dynamics. The algorithm below describes the process of repeated preferential attachment. This is equivalent to the algorithm informally described on pp 108-109 of Six Degrees: Preferential Attachment Algorithm:
Example: Suppose the preferential attachment algorithm starts with V={1,2}, E={{1,2}}, and n=20. Therefore k=2 and the input graph can be drawn as ![]() The table below illustrates the first few iterations of the algorithm.
Notice in the above example that nodes 1 and 2 start out as equals. However, the random choice of node 1 in the first iteration gives node 1 a nudge up in popularity that feeds on itself. In the end, node 1 is the single dominant hub and node 2 is a second-tier mini-hub. A seemingly insignificant event in iteration 1 has caused a very substantial effect because of cumulative advantage.
|





