simulation.h Source File
|
CPP API
|
models/ide_secir/simulation.h
Go to the documentation of this file.
Definition: ide_secir/model.h:46
run the simulation in discrete steps and report results.
Definition: models/ide_secir/simulation.h:38
TimeSeries< ScalarType > const & get_transitions()
Get the transitions between the different InfectionStates.
Definition: models/ide_secir/simulation.h:87
TimeSeries< ScalarType > get_result()
Get the result of the simulation.
Definition: models/ide_secir/simulation.h:67
const Model & get_model() const
returns the simulation model used in simulation.
Definition: models/ide_secir/simulation.h:95
Simulation(Model const &model, ScalarType dt=0.1)
setup the Simulation for an IDE model.
Definition: models/ide_secir/simulation.h:46
ScalarType m_dt
Time step used for numerical computations in simulation.
Definition: models/ide_secir/simulation.h:119
ScalarType get_dt()
get the time step of the simulation.
Definition: models/ide_secir/simulation.h:112
std::unique_ptr< Model > m_model
Unique pointer to the Model simulated.
Definition: models/ide_secir/simulation.h:118
Model & get_model()
returns the simulation model used in simulation.
Definition: models/ide_secir/simulation.h:103
void advance(ScalarType tmax)
Run the simulation from the current time to tmax.
Definition: ide_secir/simulation.cpp:31
const TimeSeries< ScalarType > & get_result() const
Get the result of the simulation.
Definition: models/ide_secir/simulation.h:77
TimeSeries< ScalarType > simulate(ScalarType tmax, ScalarType dt, Model const &m_model)
Run a Simulation of an IDE-SECIR model.
Definition: ide_secir/simulation.cpp:58
A collection of classes to simplify handling of matrix shapes in meta programming.
Definition: models/abm/analyze_result.h:30
Definition: io.h:94
Generated by