|
Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
This fitness strategy calculate from all double gens (IValue<double>) the euclidic distance to zero. More...
#include <EuclidicDistanceFitnessStrategy.h>


Public Member Functions | |
| EuclidicDistanceFitnessStrategy () | |
| default constructor do nothing More... | |
| virtual | ~EuclidicDistanceFitnessStrategy () |
| default destructor do nothing More... | |
| virtual double | getFitness (const Individual *individual) |
| this function calculate the euclidic distance of all double gen which individual has. More... | |
Public Member Functions inherited from IFitnessStrategy | |
| IFitnessStrategy () | |
| default constructor do nothing More... | |
| virtual | ~IFitnessStrategy () |
| default destructor do nothing More... | |
This fitness strategy calculate from all double gens (IValue<double>) the euclidic distance to zero.
default constructor do nothing
|
virtual |
default destructor do nothing
|
virtual |
this function calculate the euclidic distance of all double gen which individual has.
| individual | (const Individual*) the Individual |
Implements IFitnessStrategy.