#include <FixMutationFactorStrategy.h>
Inherits IMutationFactorStrategy.
Inheritance diagram for FixMutationFactorStrategy:
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. |
FixMutationFactorStrategy | ( | IValue * | value | ) |
constructor
value | (IValue*) the fix Value |
~FixMutationFactorStrategy | ( | ) | [virtual] |
default destructor
returns the fix value as mutation value
gene | (vector<Gen*>) the set of gens -> here not used. |
Implements IMutationFactorStrategy.