Overview
The Watts-Strogatz model begins with nodes connected to nearby neighbors on a ring and randomly rewires edges. This preserves local clustering while introducing shortcuts that reduce path lengths.
Generates small-world networks by rewiring a regular ring lattice with some probability.
Compact metadata for implementation and discovery.
The Watts-Strogatz model begins with nodes connected to nearby neighbors on a ring and randomly rewires edges. This preserves local clustering while introducing shortcuts that reduce path lengths.
Quick facts
Runtime and memory behavior at a glance.
Best
O(V + E)
Average
O((V + E) log V)
Worst
O(V^2 + E)
Space
O(V + E)
Show rewiring a ring lattice to add shortcuts while preserving local structure on a small small-world graph generation example.
The model is controlled by both local degree and rewiring probability.
What each reference supports for this entry.
Original reference for Watts-Strogatz rewiring and small-world network generation.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Randomness & Sampling · Core
Watts-Strogatz models clustering and shortcuts, while Barabasi-Albert models preferential attachment.
Compare with thisWatts-Strogatz starts from local structure, while Erdos-Renyi samples independent edges.
Watts-Strogatz models clustering and shortcuts, while Barabasi-Albert models preferential attachment.