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

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

- Search for |

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

# FixMutationFactorStrategy Class Reference

This strategy implementation return a fix value for the mutation factor. More...

`#include <FixMutationFactorStrategy.h>`

Inherits IMutationFactorStrategy.

Inheritance diagram for FixMutationFactorStrategy:

[legend]
Collaboration diagram for FixMutationFactorStrategy:

[legend]
List of all members.

## Public Member Functions
| FixMutationFactorStrategy (IValue *value)
| constructor
virtual | ~FixMutationFactorStrategy ()
| default destructor
virtual IValue * | calcMutationFactor (const std::vector< Gen * > &gene)
| returns the fix value as mutation value
## Protected Attributes
IValue * | m_value
| the saved fix value which is giving back.

## Detailed Description

This strategy implementation return a fix value for the mutation factor.

## Constructor & Destructor Documentation

FixMutationFactorStrategy | ( | IValue * | value | ) |

constructor

Parameters:

  | value | (IValue*) the fix Value

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

default destructor

## Member Function Documentation

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

returns the fix value as mutation value

Parameters:

  | gene | (vector<Gen*>) the set of gens -> here not used.

Returns:
  (IValue*) the mutation factor

Implements IMutationFactorStrategy.

## Member Data Documentation

IValue* m_value`[protected]`

the saved fix value which is giving back.

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

- FixMutationFactorStrategy.h
- FixMutationFactorStrategy.cpp