Skip to main content
. 2021 Nov 9;11:21913. doi: 10.1038/s41598-021-01407-y

Figure 2.

Figure 2

Watts–Strogatz small world network. Agents are placed in a ring-like topology and linked to their k nearest neighbors (black lines). Next, every link is rewired randomly with a small probability p (cyan lines). Every agent has one of four states: susceptible (gray), exposed (gold), infectious (red), or removed (black). Infectious agents spread the disease to connected susceptible agents with a probability pI in each time step. The size of network nodes is proportional to the node degree. (a) Strongly clustered network. Almost all contacts are restricted to neighbors (p=0.1). (b) Weakly clustered network with a large fraction of random contacts (p=0.5). Other parameters are equal in (a) and (b): n=15 agents, k=4 average contacts.