|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SIR
A DiseaseModel
with three states Susceptible,
Infectious and Recovered(SIR).
The basic SIR (Susceptible, Infectious, Recovered) disease model assumes a uniform population at a single location and that the population members are well "mixed", meaning that they are equally likely to meet and infect each other. This model, for a normalized population, is defined by the three equations below:
Where:
SI
for the SI
model, these become:
Let
Let
We modify our model to include these additional states and rates.
Let Sl = s Pl be the number of Susceptible population members at location l. Similarly, let Il = i Pl be the number of population members at location l that are Infectious (both states combined), and let r Pl be the Recovered population. For readability, we drop the l subscript and substitute.
Substituting
SI
,
SIRLabel
,
SIRLabelValue
,
SEIR
,
SEIRLabel
,
SEIRLabelValue
Field Summary | |
---|---|
static org.eclipse.emf.common.util.URI |
URI_TYPE_STANDARD_SIR_DISEASE_MODEL
The Type URI for the standard SIR disease model |
static java.lang.String |
URI_TYPE_STANDARD_SIR_DISEASE_MODEL_SEGMENT
This is the segment of the type URI that prefixes all other segments in a standard disease model type URI. |
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.SI |
---|
URI_TYPE_STANDARD_SI_DISEASE_MODEL_SEGMENT |
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModel |
---|
URI_TYPE_STANDARD_DISEASEMODEL_SEGMENT |
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.DiseaseModel |
---|
URI_TYPE_DISEASEMODEL_SEGMENT |
Method Summary | |
---|---|
double |
getAdjustedImmunityLossRate(long timeDelta)
Compute the immunity rate adjusted for a time delta potentially different from the time period specified for the rate. |
double |
getImmunityLossRate()
This coefficient determines the number of population members that lose their immunity to a disease and become Susceptible to the disease per population member in the Recovered state. |
void |
setImmunityLossRate(double value)
Sets the value of the ' Immunity Loss Rate '
attribute. |
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.SI |
---|
getAdjustedInfectiousMortalityRate, getAdjustedRecoveryRate, getAdjustedTransmissionRate, getInfectiousMortality, getInfectiousMortalityRate, getNonLinearityCoefficient, getPhysicallyAdjacentInfectious, getPhysicallyAdjacentInfectiousProportion, getRecoveryRate, getTransmissionRate, setInfectiousMortality, setInfectiousMortalityRate, setNonLinearityCoefficient, setPhysicallyAdjacentInfectiousProportion, setRecoveryRate, setTransmissionRate |
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModel |
---|
addToTotalArea, addToTotalPopulationCount, computeTotalPopulationCountReciprocal, getTotalArea, getTotalPopulationCount, getTotalPopulationCountReciprocal, setTotalArea, setTotalPopulationCount |
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.DiseaseModel |
---|
createDiseaseModelLabel, createDiseaseModelLabelValue, createDiseaseModelState, createInfector, getAdjustedBackgroundMortalityRate, getBackgroundMortalityRate, getDiseaseName, getPopulationIdentifier, getTimePeriod, initializeDiseaseState, initializeDiseaseState, setBackgroundMortalityRate, setDiseaseName, setPopulationIdentifier, setTimePeriod |
Methods inherited from interface org.eclipse.ohf.stem.core.model.Decorator |
---|
decorateGraph, getGraph, getLabelsToUpdate, resetLabels, setGraph, updateLabels |
Methods inherited from interface org.eclipse.ohf.stem.core.common.Identifiable |
---|
getDublinCore, getTypeURI, getURI, sane, setDublinCore, setTypeURI, setURI |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
---|
static final java.lang.String URI_TYPE_STANDARD_SIR_DISEASE_MODEL_SEGMENT
static final org.eclipse.emf.common.util.URI URI_TYPE_STANDARD_SIR_DISEASE_MODEL
Method Detail |
---|
double getImmunityLossRate()
void setImmunityLossRate(double value)
Immunity Loss Rate
'
attribute.
value
- the new value of the 'Immunity Loss Rate'
attribute.getImmunityLossRate()
double getAdjustedImmunityLossRate(long timeDelta)
timeDelta
- the time period (milliseconds) to which the rate is to be
adjusted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |