22 #include <boost/property_tree/ptree_fwd.hpp> 42 explicit GeoGridConfig(
const boost::property_tree::ptree& configPt);
85 std::vector<std::vector<unsigned int>>
ages{};
113 void SetData(
const std::string& householdsFileName);
Header file for the Person class.
struct geopop::GeoGridConfig::@2 info
Configuration data mostly for generating a population, but also for computing the required number of ...
Header for the core ContactPool class.
void SetData(const std::string &householdsFileName)
Read the househould data file, parse it and set data.
GeoGridConfig()
Default constructor needed in test code.
struct geopop::GeoGridConfig::@1 refHH
double particpation_workplace
Participation of workplace (fraction of people of work age and not going to college and having employ...
unsigned int popcount_k12school
Numbers of individuals in K12School.
Interface and implementation for SegmentedVector class.
unsigned int popcount_workplace
Number of individuals in Workplace.
unsigned int pop_size
Target population size for the generated population.
Namespace for the geographic and demograhic classes.
Container for the contact pools of various type (household, work, ...).
stride::ContactType::IdSubscriptArray< unsigned int > people
People per unit (= Household, K12School, College, etc.) for each of the ContactTypes.
double fraction_college_commuters
Fraction of college students that commute.
struct geopop::GeoGridConfig::@0 param
unsigned int count_households
The number of households.
unsigned int popcount_college
Number of individuals in College.
double fraction_workplace_commuters
Fraction of people in the workplace that commute.
std::vector< std::vector< unsigned int > > ages
Age profile per reference household.
unsigned int person_count
Number of persons in the reference household set.
double participation_college
Participation of college (fraction of people of college age going to college).
stride::ContactType::IdSubscriptArray< unsigned int > pools
Pools per unit (= Household, K12School, College, etc.) for each of the ContactTypes.