Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
This strategy implementation return a fix value for the mutation factor. More...
#include <FixMutationFactorStrategy.h>
Public Member Functions | |
FixMutationFactorStrategy (IValue *value) | |
constructor More... | |
virtual | ~FixMutationFactorStrategy () |
default destructor More... | |
virtual IValue * | calcMutationFactor (const std::vector< Gen * > &gene) |
returns the fix value as mutation value More... | |
Public Member Functions inherited from IMutationFactorStrategy | |
IMutationFactorStrategy () | |
default constructor More... | |
virtual | ~IMutationFactorStrategy () |
default destructor More... | |
Protected Attributes | |
IValue * | m_value |
the saved fix value which is giving back. More... | |
This strategy implementation return a fix value for the mutation factor.
FixMutationFactorStrategy | ( | IValue * | value | ) |
constructor
value | (IValue*) the fix Value |
|
virtual |
default destructor
returns the fix value as mutation value
gene | (vector<Gen*>) the set of gens -> here not used. |
Implements IMutationFactorStrategy.
|
protected |
the saved fix value which is giving back.