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
IMutationFactorStrategy Class Referenceabstract

This is a interface for a strategy, which is used by ValueMutationStrategy. More...

#include <IMutationFactorStrategy.h>

Inheritance diagram for IMutationFactorStrategy:

Public Member Functions

 IMutationFactorStrategy ()
 default constructor More...
 
virtual ~IMutationFactorStrategy ()
 default destructor More...
 
virtual IValuecalcMutationFactor (const std::vector< Gen * > &gene)=0
 this abstract function should later calculate the new mutation factor. More...
 

Detailed Description

This is a interface for a strategy, which is used by ValueMutationStrategy.

Constructor & Destructor Documentation

default constructor

default destructor

Member Function Documentation

virtual IValue* calcMutationFactor ( const std::vector< Gen * > &  gene)
pure virtual

this abstract function should later calculate the new mutation factor.

It use for this a set gens. Most the gens which for one prototyp in one generation are.

Parameters
gene(vector<Gen*>) this set of gens
Returns
(IValue*) the mutation factor

Implemented in FixMutationFactorStrategy, and StandartMutationFactorStrategy.


The documentation for this class was generated from the following files: