Public Member Functions | Public Attributes | Protected Attributes

Deme Class Reference
[Evolutionary FrameworkPopulation]

Deme class - inherits a vector of Individual objects. 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 ()
 get number of indiviuals (deme size)

Public Attributes

HallOfFameP hof_
StatCalcP stats_

Protected Attributes

uint nIndividuals_

Detailed Description

Deme class - inherits a vector of Individual objects.

A deme is a set of individuals that may interact (compete, mate) during an Algorithm execution. Each deme also contains a HallOfFame and a StatCalc object.

Definition at line 18 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: