Population class - inherits a vector of Demes. More...
#include <Population.h>
Public Member Functions | |
| bool | initialize (StateP state) |
| initialize the population | |
| void | registerParameters (StateP state) |
| void | write (XMLNode &) |
| void | read (XMLNode &) |
| void | updateDemeStats () |
| uint | getNoDemes () |
| uint | getDemeId () |
| DemeP | getLocalDeme () |
Public Attributes | |
| HallOfFameP | hof_ |
| StatCalcP | stats_ |
Protected Attributes | |
| uint | nDemes_ |
| total number of demes in the population | |
| uint | myDemeIndex_ |
| global index of local deme (at local process) - PECF only | |
| uint | nIndividuals_ |
| number of individuals (in each deme!) | |
| StateP | state_ |
Population class - inherits a vector of Demes.
Population may consist of one or more demes. The demes evolve independently of each other.
Parallel ECF: Population object of each process contains only one Deme!
Definition at line 13 of file Population.h.
| void Population::read | ( | XMLNode & | xPopulation | ) |
Read population from XMLNode (serial ECF). Population must be initialize()-d beforehand!
Read population from XMLNode (parallel ECF). Population must be initialize()-d beforehand!
Definition at line 53 of file Population.cpp.
1.7.1