Stride Reference Manual  - generated for commit 9643b11
stride::SurveySeeder Class Reference

Seeds the population with survey participants. More...

#include <SurveySeeder.h>

Collaboration diagram for stride::SurveySeeder:
Collaboration graph

Public Member Functions

 SurveySeeder (const boost::property_tree::ptree &config, util::RnMan &rnMan)
 Initialize Seeder. More...
 
std::shared_ptr< PopulationSeed (std::shared_ptr< Population > pop)
 Seeds the population with survey participants. More...
 

Private Attributes

const boost::property_tree::ptree & m_config
 Run config. More...
 
util::RnManm_rn_man
 Random number manager. More...
 

Detailed Description

Seeds the population with survey participants.

Definition at line 37 of file SurveySeeder.h.

Constructor & Destructor Documentation

stride::SurveySeeder::SurveySeeder ( const boost::property_tree::ptree &  config,
util::RnMan rnMan 
)

Initialize Seeder.

Parameters
configConfiguration parameters.
rnManRandom number manager.

Definition at line 37 of file SurveySeeder.cpp.

Member Function Documentation

shared_ptr< Population > stride::SurveySeeder::Seed ( std::shared_ptr< Population pop)

Member Data Documentation

const boost::property_tree::ptree& stride::SurveySeeder::m_config
private

Run config.

Definition at line 50 of file SurveySeeder.h.

Referenced by Seed().

util::RnMan& stride::SurveySeeder::m_rn_man
private

Random number manager.

Definition at line 51 of file SurveySeeder.h.

Referenced by Seed().


The documentation for this class was generated from the following files: