# SIRState

class SIRState < State

SIR state model.

The initial model for time $t = 0$ is:

The transition model for time $t$ is: where $\tau_t$ is the number of interactions between infectious and susceptible individuals, $\Delta i_t$ the number of newly infected individuals, and $\Delta r_t$ the number of newly recovered individuals.

Population counts are then updated:

### Member Variables

Name Description
τ:Random<Integer> Number of susceptible-infectious interactions.
Δi:Random<Integer> Newly infected population.
Δr:Random<Integer> Newly recovered population.
s:Random<Integer> Susceptible population.
i:Random<Integer> Infectious population.
r:Random<Integer> Recovered population.