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.

Inheritance diagram for StandartMutationFactorStrategy:

Inheritance graph
[legend]
Collaboration diagram for StandartMutationFactorStrategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StandartMutationFactorStrategy ()
 default constructor
virtual ~StandartMutationFactorStrategy ()
 default destructor
virtual IValuecalcMutationFactor (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:
Generated on Fri Oct 30 16:29:03 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7