Deme class - inherits a vector of Individual objects.
More...
#include <Deme.h>
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.
◆ getSize()
get number of indiviuals (deme size)
Definition at line 30 of file Deme.h.
◆ initialize()
bool Deme::initialize |
( |
StateP |
state | ) |
|
initialize deme
Definition at line 5 of file Deme.cpp.
◆ read()
void Deme::read |
( |
XMLNode & |
xDeme | ) |
|
◆ replace()
bool Deme::replace |
( |
uint |
index, |
|
|
IndividualP |
newInd |
|
) |
| |
replace ind. at index with newInd
Definition at line 23 of file Deme.cpp.
◆ write()
void Deme::write |
( |
XMLNode & |
xDeme | ) |
|
◆ hof_
◆ nIndividuals_
◆ stats_
The documentation for this class was generated from the following files: