#include <SumFitnessStrategy.h>
Inherits IFitnessStrategy.
Inheritance diagram for SumFitnessStrategy:


Public Member Functions | |
| SumFitnessStrategy () | |
| default constructor | |
| virtual | ~SumFitnessStrategy () |
| default destructor | |
| virtual double | getFitness (const Individual *individual) |
| implements the getFitness function of IFitnessStrategy. | |
default constructor
| ~SumFitnessStrategy | ( | ) | [virtual] |
default destructor
| double getFitness | ( | const Individual * | individual | ) | [virtual] |
implements the getFitness function of IFitnessStrategy.
Calculate the Sum of all double gens.
| individual | (const Individual*) the individual |
Implements IFitnessStrategy.
1.4.7