final class SEIRComponent
SEIR (susceptible-exposed-infectious-recovered) reusable component. Two such components are assembled into a vector-borne-disease model, one to represent the human population, and one for the mosquito population.
|Δs:Tape<Integer>||Newly susceptible population at each time.|
|Δe:Tape<Integer>||Newly exposed (incubating) population at each time.|
|Δi:Tape<Integer>||Newly infectious population at each time.|
|Δr:Tape<Integer>||Newly recovered population at each time.|
|s:Tape<Integer>||Susceptible population at each time.|
|e:Tape<Integer>||Exposed (incubating) population at each time.|
|i:Tape<Integer>||Infectious population at each time.|
|r:Tape<Integer>||Recovered population at each time.|
|transfer||Transfer between compartments.|
Member Function Details
function transfer(t:Integer, τ:Integer)
Transfer between compartments.
- t: Step number.
- τ: Number of trials that may result in exposure.
τ is computed externally according to the interaction between two
transfer() called to update the state of the