latest version v1.9 - last update 10 Apr 2010 |
Structure characterizing an individual. More...
#include <ltiParetoFront.h>
Public Member Functions | |
individual () | |
bool | operator< (const individual &other) const |
Public Attributes | |
dvector | fitness |
chromosome | genotype |
double | squeezeFactor |
Structure characterizing an individual.
lti::paretoFront::individual::individual | ( | ) | [inline] |
Constructor.
bool lti::paretoFront::individual::operator< | ( | const individual & | other | ) | const [inline] |
An individual is here "smaller" than another one if its squeezeFactor is smaller.
This is required to sort the individuals after their squeeze factor, which simplifies getting the smallest or greatest elements.
References squeezeFactor.
Fitness of the individual.
Chromosome.
You can get the phenotype anytime with cromosomeToPhenotype
Factor computed to determine which candidates should be taken for mutation or crossover.
Dense locations in the fitness space get a high squeeze factor.
Referenced by operator<().