Class SIRModel
java.lang.Object
org.episteme.natural.medicine.epidemiology.SIRModel
- All Implemented Interfaces:
UniversalDataModel
SIR (Susceptible-Infected-Recovered) epidemic model.
*
Reference:
Zeigler, B. P., Praehofer, H., invalid input: '&' Kim, T. G. (2000). Theory of Modeling and Simulation. Academic Press.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SIRModelcovid19Like(int population, int initialCases) getBeta()Final epidemic size (fraction infected)getGamma()Herd immunity threshold (1 - 1/R₀)Returns a unique identifier for the type of data model.Peak time estimationintReturns the primary physical values associated with this model.getR0()Basic reproduction number R₀ = β/γgetTime()static SIRModelinfluenzaLike(int population, int initialCases) static SIRModelmeaslesLike(int population, int initialCases) voidreset()Real[][]Run simulation for durationvoidAdvance simulation by dt using Euler methodtoString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface UniversalDataModel
getMetadata, validate
-
Constructor Details
-
SIRModel
-
-
Method Details
-
getR0
Basic reproduction number R₀ = β/γ -
getHerdImmunityThreshold
Herd immunity threshold (1 - 1/Râ‚€) -
step
-
simulate
-
reset
public void reset() -
getPeakTime
-
getFinalSize
Final epidemic size (fraction infected) -
getSusceptible
-
getInfected
-
getRecovered
-
getTime
-
getPopulation
public int getPopulation() -
getBeta
-
getGamma
-
toString
-
covid19Like
-
influenzaLike
-
measlesLike
-
getModelType
Description copied from interface:UniversalDataModelReturns a unique identifier for the type of data model. Examples: "SPATIAL_GEOMETRY", "ECONOMIC_PORTFOLIO", "ARCHITECTURAL_PLAN".- Specified by:
getModelTypein interfaceUniversalDataModel
-
getQuantities
Description copied from interface:UniversalDataModelReturns the primary physical values associated with this model. This allows generic tools to extract and convert measurements.- Specified by:
getQuantitiesin interfaceUniversalDataModel
-