Stride Reference Manual
- generated for commit 9643b11
|
Produce run config ptree. More...
#include <RunConfigManager.h>
Static Public Member Functions | |
static void | AddGeoPopConfig (boost::property_tree::ptree &pt) |
Adapt the configuration by adding the gengeopop data items. More... | |
static void | CleanConfigFile (boost::property_tree::ptree pt) |
Clean (i.e. indent, sort and produde the sha1) the ptree config file. More... | |
static boost::property_tree::ptree | Create (const std::string &configName) |
Produce property tree for config with given name. More... | |
static std::vector< unsigned int > | CreateNumThreads (unsigned int maxNum=ConfigInfo::NumberAvailableThreads()) |
Set of threadcounts to use for tests based an nomber of available OpenMP threads. More... | |
static boost::property_tree::ptree | FromString (const std::string &s) |
Reconstitute property tree from string representation. More... | |
static std::string | ToString (const boost::property_tree::ptree &pt) |
Produce string representation of property tree. More... | |
static std::string | ToSha1 (const boost::property_tree::ptree &pt) |
Produce the sha1 hash of property tree (of it's string representation). More... | |
static std::string | ToShortSha1 (const boost::property_tree::ptree &pt, unsigned int n=7U) |
Produce the short sha1 hash of property tree (of it's string representation). More... | |
Static Private Member Functions | |
static std::string | CreateBenchInfluenza () |
Produce Influenza config for Benchmarking. More... | |
static std::string | CreateBenchMeasles () |
Produce Measles config for Benchmarking. More... | |
static std::string | CreateDefault () |
Produce the deefault config. More... | |
static std::string | CreateTestsInfluenza () |
Produce Influenza config for scenario tests. More... | |
static std::string | CreateTestsMeasles () |
Produce Measles config for scenario tests. More... | |
Produce run config ptree.
Definition at line 35 of file RunConfigManager.h.
|
static |
Adapt the configuration by adding the gengeopop data items.
Definition at line 62 of file RunConfigManager.cpp.
References stride::util::FromString().
|
static |
Clean (i.e. indent, sort and produde the sha1) the ptree config file.
Definition at line 40 of file RunConfigManager.cpp.
|
static |
Produce property tree for config with given name.
Definition at line 49 of file RunConfigManager.cpp.
References stride::util::FromString().
|
static |
Set of threadcounts to use for tests based an nomber of available OpenMP threads.
Definition at line 192 of file RunConfigManager.cpp.
|
static |
Reconstitute property tree from string representation.
Definition at line 290 of file RunConfigManager.cpp.
Referenced by stride::Sim::Create(), and stride::Population::Create().
|
static |
Produce string representation of property tree.
Definition at line 298 of file RunConfigManager.cpp.
|
static |
Produce the sha1 hash of property tree (of it's string representation).
Definition at line 305 of file RunConfigManager.cpp.
References stride::ContactLogMode::ToString().
|
static |
Produce the short sha1 hash of property tree (of it's string representation).
Definition at line 307 of file RunConfigManager.cpp.
|
staticprivate |
Produce Influenza config for Benchmarking.
Definition at line 86 of file RunConfigManager.cpp.
|
staticprivate |
Produce Measles config for Benchmarking.
Definition at line 119 of file RunConfigManager.cpp.
|
staticprivate |
Produce the deefault config.
Definition at line 153 of file RunConfigManager.cpp.
|
staticprivate |
Produce Influenza config for scenario tests.
Definition at line 224 of file RunConfigManager.cpp.
|
staticprivate |
Produce Measles config for scenario tests.
Definition at line 257 of file RunConfigManager.cpp.