WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Contagion in a Grid and a Random Network

one step
reset
random
grid
random seed
1
graph
total number infected
This Demonstration illustrates contagion in two different types of networks, a grid and a random network. In both types, one individual among 400 is infected. At each step, all the contacts of an infected individual become infected. There are an equal number of edges in the grid and the random graph. Plots show the total number infected and the number of newly infected at each stage. Use the "reset" button to reset to the initial conditions.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.