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

# StandartMutationFactorStrategy Class Reference

this strategy calculate the mutation factor by the variance of the gens in the giving set More...

`#include <StandartMutationFactorStrategy.h>`

Inherits IMutationFactorStrategy.

Collaboration diagram for StandartMutationFactorStrategy:
[legend]

List of all members.

## Public Member Functions
| StandartMutationFactorStrategy ()
| default constructor
virtual | ~StandartMutationFactorStrategy ()
| default destructor
virtual IValue * | calcMutationFactor (const std::vector< Gen * > &gene)
| gives the varianz of the gens in the set as mutation factor back.

## Detailed Description

this strategy calculate the mutation factor by the variance of the gens in the giving set

## Constructor & Destructor Documentation

StandartMutationFactorStrategy | ( |  | ) |

default constructor

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

default destructor

## Member Function Documentation

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

gives the varianz of the gens in the set as mutation factor back.

Parameters:

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

Returns:
  (IValue*) the mutation factor

Implements IMutationFactorStrategy.

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

- StandartMutationFactorStrategy.h
- StandartMutationFactorStrategy.cpp