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.

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

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 Thu Jun 28 14:48:19 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3