You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/pathogen_outbreak/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ analyzing changes in infection, death and immunity rates.
22
22
23
23
## How It Works
24
24
25
-
1.**Initialization** — citizens are placed randomly on a MultiGrid.
25
+
1.**Initialization** — citizens are placed randomly on a Grid(OrthogonalMooreGrid).
26
26
A configurable number are set initially as infected.
27
27
2.**Disease Spread** — each step, healthy agents check their neighbours including diagonals.
28
28
If any are infected, there is a configurable chance of transmission.
@@ -37,7 +37,7 @@ analyzing changes in infection, death and immunity rates.
37
37
- Infected agents - compliant ones, freeze in place, simulating isolation or a lockdowned zone
38
38
5.**Recovery** — after 10 steps of infection, agents recover to full
39
39
immunity or die with the probability of 10%. Dead agents remain
40
-
on the grid as red circles/squares(this is an intentional mechanic) as a visual indicator to assess how compliance affects the compliant as well as non-compliant groups.
40
+
on the grid as red circles/squares(this is an intentional mechanic) as a visual indicator to assess how compliance affects the compliant as well as non-compliant groups.It is to be noted that dead agents block movement as well.
0 commit comments