Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SumFitnessStrategy Class Reference

Test implementation. More...

#include <SumFitnessStrategy.h>

Inheritance diagram for SumFitnessStrategy:
Collaboration diagram for SumFitnessStrategy:

Public Member Functions

 SumFitnessStrategy ()
 default constructor More...
 
virtual ~SumFitnessStrategy ()
 default destructor More...
 
virtual double getFitness (const Individual *individual)
 implements the getFitness function of IFitnessStrategy. More...
 
- Public Member Functions inherited from IFitnessStrategy
 IFitnessStrategy ()
 default constructor do nothing More...
 
virtual ~IFitnessStrategy ()
 default destructor do nothing More...
 

Detailed Description

Test implementation.

Constructor & Destructor Documentation

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: