|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Defines the simulation class interface. More...
#include <simulation.h>
Public Member Functions | |
| Simulation ()=delete | |
| Simulation (SimulationDefinition &&definition) | |
| Initialises a new instance of the Simulation class. More... | |
| virtual | ~Simulation ()=default |
| Destroys a simulation instance. More... | |
| virtual void | initialize ()=0 |
| Initialises the simulation experiment. More... | |
| virtual void | terminate ()=0 |
| Terminates the simulation experiment. More... | |
| virtual void | setup_run (const unsigned int run_number) noexcept=0 |
| Set-up a new simulation run with default seed. More... | |
| virtual void | setup_run (const unsigned int run_number, const unsigned int run_seed) noexcept=0 |
| Set-up a new simulation run. More... | |
| ScenarioType | type () noexcept |
| Gets the simulation type. More... | |
| std::string | name () override |
| Gets the simulation name. More... | |
Protected Attributes | |
| SimulationDefinition | definition_ |
Defines the simulation class interface.
|
delete |
|
inlineexplicit |
Initialises a new instance of the Simulation class.
| definition | The simulation configuration |
|
virtualdefault |
Destroys a simulation instance.
|
pure virtual |
Initialises the simulation experiment.
Implemented in hgps::HealthGPS.
|
inlineoverride |
Gets the simulation name.
|
pure virtualnoexcept |
Set-up a new simulation run with default seed.
| run_number | The run number |
Implemented in hgps::HealthGPS.
|
pure virtualnoexcept |
Set-up a new simulation run.
| run_number | The run number |
| run_seed | The custom seed for random number generation |
Implemented in hgps::HealthGPS.
|
pure virtual |
Terminates the simulation experiment.
Implemented in hgps::HealthGPS.
|
inlinenoexcept |
Gets the simulation type.
|
protected |