Rewiring rule Metropolis ERG (Noh 2007) Biased swaps (Xulvi-Brunet & Sokolov)
Coupling J 0.00
Disassortative: hubs grab small nodes Assortative: hubs link to hubs
Start rewiring
Jump to equilibrium
New network
Model Scale-free (BA, m=2) Scale-free tree (BA, m=1) Random (ER, Poisson ⟨k⟩=4)
Nodes 100 200 400
Speed
Each step picks two edges (a–b, c–d) and reconnects the four endpoints. Every node keeps its degree, so the degree distribution never changes; only who links to whom does.
Example networks
From Noh, Phys. Rev. E 76, 026116 (2007): Poisson networks after Metropolis rewiring
Real networks (degree-disassortative)
Toy networks with a clear sign
Pick an example to load it. You can then rewire it with the controls above; degrees stay fixed, so you can push any example toward either regime.
How r is computed (Newman 2003)
With ejk the fraction of edges joining nodes of excess degree j and k , and qk the excess-degree distribution:
r = Σjk jk (ejk − qj qk ) σ q 2
This equals the Pearson correlation between the degrees at the two ends of an edge. Using excess degree k −1 or plain degree k gives the same value, because a correlation ignores a constant shift. The dashed line in the left plot is ⟨k 2 ⟩/⟨k ⟩, what k nn would be with no degree correlation at all.