Global class exposing the current SimRunner throughout the code.
Definition: simenv.h:36
static unsigned int getReplicates()
Definition: simenv.h:63
static unsigned int getCurrentGeneration()
Definition: simenv.h:60
static void loadDefaultComponents(SimBuilder *sim)
Definition: simenv.cc:53
static int getCurrentRankInLifeCycle()
Definition: simenv.h:64
static SimRunner * MainSim
Definition: simenv.h:42
static SimRunner * setMainSim(Metapop *pop)
Definition: simenv.h:46
static unsigned int getCurrentReplicate()
Definition: simenv.h:62
SIMenv()
Definition: simenv.h:38
static SimRunner * getNewSimulation()
Definition: simenv.h:52
static void setMainSim(SimRunner *sim)
Definition: simenv.h:58
static unsigned int getGenerations()
Definition: simenv.h:61
Provides methods to build the user's selected set of life cycle events and traits from the parameters...
Definition: basicsimulation.h:168
Performs the setup of the Metapop and SimComponents and runs the simulation.
Definition: simulation.h:53
unsigned int getReplicates()
Definition: simulation.h:196
unsigned int getGenerations()
Definition: simulation.h:192
unsigned int getCurrentGeneration()
Definition: simulation.h:190
int getCurrentRankInLifeCycle()
Definition: simulation.h:197
unsigned int getCurrentReplicate()
Definition: simulation.h:194