24 #include <spdlog/logger.h> 35 template <
typename str
ide::ContactType::Id ID>
Configuration data mostly for generating a population, but also for computing the required number of ...
Header for the core ContactPool class.
A Geographic grid of simulation region contains Locations that in turn contain an index to the Contac...
Definition of ContactPool Id Type.
Logging (spdlog) utilities.
Namespace for the geographic and demograhic classes.
Populator uses geo & pop data to populate ContactPools in the GeoGrid.
void Apply(GeoGrid &, const GeoGridConfig &)
Populate the ContactPools type ID. This is a placeholder for the specializations. ...
~Populator()=default
Default is OK.
Populator(stride::util::RnMan &rnMan, std::shared_ptr< spdlog::logger > logger=nullptr)
Construct with a RnMan and a logger.
stride::util::RnMan & m_rn_man
RnManager used by populators.
static std::shared_ptr< spdlog::logger > CreateNullLogger(const std::string &logger_name="null_logger")
Return a (not-yet-registered) null logger, without registering it.
std::shared_ptr< spdlog::logger > m_logger
Logger used by populators.