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

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

- Search for |

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

# IMutationFactorStrategy Class Reference

This is a interface for a strategy, which is used by ValueMutationStrategy. More...

`#include <IMutationFactorStrategy.h>`

Inherited by FixMutationFactorStrategy, and StandartMutationFactorStrategy.

Inheritance diagram for IMutationFactorStrategy:

[legend]
List of all members.

## Public Member Functions
| IMutationFactorStrategy ()
| default constructor
virtual | ~IMutationFactorStrategy ()
| default destructor
virtual IValue * | calcMutationFactor (const std::vector< Gen * > &gene)=0
| this abstract function should later calculate the new mutation factor.

## Detailed Description

This is a interface for a strategy, which is used by ValueMutationStrategy.

## Constructor & Destructor Documentation

IMutationFactorStrategy | ( |  | ) |

default constructor

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

default destructor

## Member Function Documentation

virtual IValue* calcMutationFactor | ( | const std::vector< Gen * > & | gene | ) | `[pure virtual]`

this abstract function should later calculate the new mutation factor.

It use for this a set gens. Most the gens which for one prototyp in one generation are.

Parameters:

  | gene | (vector<Gen*>) this set of gens

Returns:
  (IValue*) the mutation factor

Implemented in FixMutationFactorStrategy, and StandartMutationFactorStrategy.

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

- IMutationFactorStrategy.h
- IMutationFactorStrategy.cpp