25 #include <boost/property_tree/ptree.hpp> 45 explicit SimBuilder(
const boost::property_tree::ptree& config);
48 std::shared_ptr<Sim>
Build(std::shared_ptr<Sim> sim, std::shared_ptr<Population> pop,
util::RnMan rnMan);
boost::property_tree::ptree ReadAgeContactPtree()
Get the contact configuration data.
SimBuilder(const boost::property_tree::ptree &config)
Initializing SimBuilder.
Builds a simulator based a configuration property tree.
std::shared_ptr< Sim > Build(std::shared_ptr< Sim > sim, std::shared_ptr< Population > pop, util::RnMan rnMan)
Build the simulator and return it afterwards.
boost::property_tree::ptree m_config
Run config in ptree.
boost::property_tree::ptree ReadDiseasePtree()
Get the disease configuration data.
Namespace for the simulator and related classes.