Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StandartMutationFactorStrategy Class Reference

this strategy calculate the mutation factor by the variance of the gens in the giving set More...

#include <StandartMutationFactorStrategy.h>

Inheritance diagram for StandartMutationFactorStrategy:
Collaboration diagram for StandartMutationFactorStrategy:

Public Member Functions

 StandartMutationFactorStrategy ()
 default constructor More...
 
virtual ~StandartMutationFactorStrategy ()
 default destructor More...
 
virtual IValuecalcMutationFactor (const std::vector< Gen * > &gene)
 gives the varianz of the gens in the set as mutation factor back. More...
 
- Public Member Functions inherited from IMutationFactorStrategy
 IMutationFactorStrategy ()
 default constructor More...
 
virtual ~IMutationFactorStrategy ()
 default destructor More...
 

Detailed Description

this strategy calculate the mutation factor by the variance of the gens in the giving set

Constructor & Destructor Documentation

default constructor

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: