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

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# TestFitnessStrategy Class Reference

Test fitness strategy. More...

`#include <TestFitnessStrategy.h>`

Inherits IFitnessStrategy.

Inheritance diagram for TestFitnessStrategy:

[legend]
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