36 {
return this->at(0); }
42typedef boost::shared_ptr<Population> PopulationP;
Population class - inherits a vector of Deme objects.
DemeP getLocalDeme()
get first deme (local deme in parallel ECF)
void read(XMLNode &)
Read population from XMLNode (serial ECF). Population must be initialize()-d beforehand!
uint myDemeIndex_
global index of local deme (at local process) - PECF only
uint nDemes_
total number of demes in the population
uint getLocalDemeId()
return local deme index (local process in parallel ECF)
StatCalcP getStats()
get population stats
StatCalcP stats_
population statistics
bool initialize(StateP state)
Initialize population (serial ECF).
uint nIndividuals_
number of individuals (in each deme!)
void write(XMLNode &)
Write population to XMLNode (serial ECF).
void registerParameters(StateP state)
register population specific parameters
void updateDemeStats()
Update, gather and write statistics of all demes; update and gather HallOfFame of all demes.
uint getNoDemes()
return total number of demes
HallOfFameP getHof()
get population HallofFame
HallOfFameP hof_
population HallOfFame