SumFitnessStrategy Class Reference

Test implementation. More...

#include <SumFitnessStrategy.h>

Inherits IFitnessStrategy.

Inheritance diagram for SumFitnessStrategy:

Inheritance graph
[legend]
Collaboration diagram for SumFitnessStrategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SumFitnessStrategy ()
 default constructor
virtual ~SumFitnessStrategy ()
 default destructor
virtual double getFitness (const Individual *individual)
 implements the getFitness function of IFitnessStrategy.

Detailed Description

Test implementation.


Constructor & Destructor Documentation

SumFitnessStrategy (  ) 

default constructor

~SumFitnessStrategy (  )  [virtual]

default destructor


Member Function Documentation

double getFitness ( const Individual individual  )  [virtual]

implements the getFitness function of IFitnessStrategy.

Calculate the Sum of all double gens.

Parameters:
individual (const Individual*) the individual
Returns:
(double) the result

Implements IFitnessStrategy.


The documentation for this class was generated from the following files:
Generated on Fri Oct 30 16:29:03 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7