Stride Reference Manual
- generated for commit 9643b11
|
Initializes Population objects. More...
#include <DefaultPopBuilder.h>
Public Member Functions | |
std::shared_ptr< Population > | Build (std::shared_ptr< Population > pop) override |
Build Population and return it afterwards. More... | |
![]() | |
AbstractPopBuilder (const boost::property_tree::ptree &config, util::RnMan &rnMan, std::shared_ptr< spdlog::logger > strideLogger=nullptr) | |
Initializing constructor. More... | |
virtual | ~AbstractPopBuilder ()=default |
Has to be virtual. More... | |
Private Member Functions | |
std::shared_ptr< Population > | MakePersons (std::shared_ptr< Population > pop) |
Generates pop's individuals and return pop. More... | |
Additional Inherited Members | |
![]() | |
const boost::property_tree::ptree & | m_config |
Configuration property tree. More... | |
util::RnMan & | m_rn_man |
Random number generation management. More... | |
std::shared_ptr< spdlog::logger > | m_stride_logger |
Initializes Population objects.
Definition at line 35 of file DefaultPopBuilder.h.
|
overridevirtual |
Build Population and return it afterwards.
The steps are:
Implements stride::AbstractPopBuilder.
Definition at line 89 of file DefaultPopBuilder.cpp.
References stride::ContactType::IdList.
Referenced by stride::Population::Create().
|
private |
Generates pop's individuals and return pop.
Definition at line 44 of file DefaultPopBuilder.cpp.
References stride::util::FileSys::GetDataDir(), and stride::util::Split().