TemplateTaskedGaSimulationFitnessStrategy Class Reference

the fitness strategy for this demonstration simulation More...

#include <TemplateTaskedGaSimulationFitnessStrategy.h>

Inherits IFitnessStrategy.

Collaboration diagram for TemplateTaskedGaSimulationFitnessStrategy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TemplateTaskedGaSimulationFitnessStrategy ()
 default constructor
virtual ~TemplateTaskedGaSimulationFitnessStrategy ()
 default destructor
virtual double getFitness (const Individual *individual)
 this return the saved fitness value (entropy)

Public Attributes

std::vector< double > m_storage
 a storage for all Entropies!

Detailed Description

the fitness strategy for this demonstration simulation


Constructor & Destructor Documentation

default constructor

default destructor


Member Function Documentation

double getFitness ( const Individual individual  )  [virtual]

this return the saved fitness value (entropy)

Be careful because this method isn't safe for individuals, which are not saved in the storage!!!

Parameters:
individual (for this we search the entropy)
Returns:
the fitness

Implements IFitnessStrategy.


Member Data Documentation

std::vector<double> m_storage

a storage for all Entropies!


The documentation for this class was generated from the following files:
Generated on Thu Jun 28 14:48:20 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3