25 #include <boost/property_tree/ptree_fwd.hpp> 45 static boost::property_tree::ptree
Create(
const std::string& configName);
51 static boost::property_tree::ptree
FromString(
const std::string& s);
54 static std::string
ToString(
const boost::property_tree::ptree& pt);
57 static std::string
ToSha1(
const boost::property_tree::ptree& pt);
60 static std::string
ToShortSha1(
const boost::property_tree::ptree& pt,
unsigned int n = 7U);
static unsigned int NumberAvailableThreads()
Return number of threads (in case of OpenMP).
static std::string ToSha1(const boost::property_tree::ptree &pt)
Produce the sha1 hash of property tree (of it's string representation).
static std::string CreateBenchInfluenza()
Produce Influenza config for Benchmarking.
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. ...
static boost::property_tree::ptree Create(const std::string &configName)
Produce property tree for config with given name.
static void CleanConfigFile(boost::property_tree::ptree pt)
Clean (i.e. indent, sort and produde the sha1) the ptree config file.
static std::string ToString(const boost::property_tree::ptree &pt)
Produce string representation of property tree.
static std::string CreateTestsInfluenza()
Produce Influenza config for scenario tests.
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).
static void AddGeoPopConfig(boost::property_tree::ptree &pt)
Adapt the configuration by adding the gengeopop data items.
static std::string CreateTestsMeasles()
Produce Measles config for scenario tests.
static std::string CreateBenchMeasles()
Produce Measles config for Benchmarking.
static boost::property_tree::ptree FromString(const std::string &s)
Reconstitute property tree from string representation.
static std::string CreateDefault()
Produce the deefault config.
Namespace for the simulator and related classes.
Produce run config ptree.