#include <population.h>
Inheritance diagram for Population:
Public Methods | |
Population (EAEnvironment &envr, const StringMap ¶ms) | |
OStream & | getOStream () |
virtual void | check () const |
Public Attributes | |
bool | mBasicLog |
Protected Attributes | |
EAEnvironment * | rpEnvironment |
int | mAge |
MutationRate | mGlobalMutationRate |
bool | mAutoadjustGMR |
Definition at line 58 of file population.h.
|
Standard constructor.
Definition at line 273 of file population.cc. References MutationRate::autoAdaptation(), MutationRate::binaryRate(), MutationRate::doubleRate(), MutationRate::doubleVariance(), MutationRate::intRate(), mAutoadjustGMR, and mGlobalMutationRate. |
|
Implementation for Object.
Reimplemented in SimplePopulation, and SimplePopulation. Definition at line 293 of file population.cc. |
|
Returns the output logging stream.
Definition at line 70 of file population.h. |
|
The number of times the population has been evaluated.
Definition at line 89 of file population.h. Referenced by SimplePopulation::getAge(), SimplePopulation::report(), and SimplePopulation::SimplePopulation(). |
|
Should the global mutation rate be adjusted automatically?
Definition at line 99 of file population.h. Referenced by Population(). |
|
> Default output stream for extended logs.
Definition at line 81 of file population.h. |
|
Global mutation rate in the population. This is coefficient for the mutation rate of each individual gene and defaults to 1.0 Definition at line 95 of file population.h. Referenced by Population(). |
|
Environment where the fitness of the individuals is measured.
Definition at line 86 of file population.h. Referenced by SimplePopulation::check(), SimplePopulation::evolve(), and SimplePopulation::SimplePopulation(). |