this strategy calculate the mutation factor by the variance of the gens in the giving set More...
#include <StandartMutationFactorStrategy.h>
Inherits IMutationFactorStrategy.
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. |
this strategy calculate the mutation factor by the variance of the gens in the giving set
default constructor
~StandartMutationFactorStrategy | ( | ) | [virtual] |
default destructor
gives the varianz of the gens in the set as mutation factor back.
gene | (vector<Gen*>) the set of gens |
Implements IMutationFactorStrategy.