25 #include <boost/property_tree/ptree_fwd.hpp> 52 std::shared_ptr<spdlog::logger> strideLogger =
nullptr);
55 std::shared_ptr<Population>
Build(std::shared_ptr<Population> pop)
override;
60 const std::string& citiesFileName,
const std::string& commutingFileName);
std::shared_ptr< Population > Build(std::shared_ptr< Population > pop) override
Generates a synthetic population.
void MakeLocations(geopop::GeoGrid &geoGrid, const geopop::GeoGridConfig &geoGridConfig, const std::string &citiesFileName, const std::string &commutingFileName)
Read files with location data and constructs GeoGrid config.
Configuration data mostly for generating a population, but also for computing the required number of ...
Base Class for PopBuilders.
void MakePools(geopop::GeoGrid &geoGrid, const geopop::GeoGridConfig &geoGridConfig)
Build and store the Geo part of the GeoGrid.
A Geographic grid of simulation region contains Locations that in turn contain an index to the Contac...
Namespace for the geographic and demograhic classes.
Builds poulation of a geographic grid.
void MakePersons(geopop::GeoGrid &geoGrid, const geopop::GeoGridConfig &geoGridConfig)
Build and store the Pop part of the GeoGrid.
GeoPopBuilder(const boost::property_tree::ptree &config, util::RnMan &rnMan, std::shared_ptr< spdlog::logger > strideLogger=nullptr)
Use constructor of base.
Namespace for the simulator and related classes.
Base Class for PopBuilders.