Public Member Functions | Public Attributes | Protected Attributes

Population Class Reference

Population class - inherits a vector of Demes. More...

#include <Population.h>

List of all members.

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_

Detailed Description

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.


Member Function Documentation

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.


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