Public Member Functions | Public Attributes | Protected Attributes

Deme Class Reference

Deme class - inherits a vector of Individuals. More...

#include <Deme.h>

List of all members.

Public Member Functions

bool initialize (StateP state)
 initialize deme
bool replace (uint index, IndividualP newInd)
 replace ind. at index with newInd
void write (XMLNode &)
void read (XMLNode &)
uint & getSize ()

Public Attributes

HallOfFameP hof_
StatCalcP stats_

Protected Attributes

uint nIndividuals_

Detailed Description

Deme class - inherits a vector of Individuals.

A deme is a set of individuals that may interact during an Algorithm execution.

Definition at line 16 of file Deme.h.


Member Function Documentation

void Deme::read ( XMLNode &  xDeme  ) 

Read deme from XMLNode. Population must be initialize()-d beforehand!

Definition at line 54 of file Deme.cpp.


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