LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::paretoFront::individual Class Reference

Structure characterizing an individual. More...

#include <ltiParetoFront.h>

Collaboration diagram for lti::paretoFront::individual:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 individual ()
bool operator< (const individual &other) const

Public Attributes

dvector fitness
chromosome genotype
double squeezeFactor

Detailed Description

Structure characterizing an individual.


Constructor & Destructor Documentation

lti::paretoFront::individual::individual (  )  [inline]

Constructor.


Member Function Documentation

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.


Member Data Documentation

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<().


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

Generated on Sat Apr 10 15:29:17 2010 for LTI-Lib by Doxygen 1.6.1