Robot Simulator of the Robotics Group for Self-Organization of Control: TestFitnessStrategy Class Reference

# TestFitnessStrategy Class Reference

Test fitness strategy. More...

`#include <TestFitnessStrategy.h>`

Inherits IFitnessStrategy.

Collaboration diagram for TestFitnessStrategy:
[legend]

List of all members.

## Public Member Functions
| TestFitnessStrategy ()
| default constructor
virtual | ~TestFitnessStrategy ()
| default destructor
virtual double | getFitness (const Individual *individual)
| calculate the test fitness value for a individual

## Detailed Description

Test fitness strategy.

## Constructor & Destructor Documentation

TestFitnessStrategy | ( |  | ) |

default constructor

~TestFitnessStrategy | ( |  | ) | `[virtual]`

default destructor

## Member Function Documentation

double getFitness | ( | const Individual * | individual | ) | `[virtual]`

calculate the test fitness value for a individual

Parameters:

  | individual | (const Individual*) the individual

Returns:
  (double) the result

Implements IFitnessStrategy.

The documentation for this class was generated from the following files:

- TestFitnessStrategy.h
- TestFitnessStrategy.cpp