IMutationFactorStrategy Class Reference

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

#include <IMutationFactorStrategy.h>

Inherited by FixMutationFactorStrategy, and StandartMutationFactorStrategy.

List of all members.

Public Member Functions

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

Detailed Description

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


Constructor & Destructor Documentation

default constructor

~IMutationFactorStrategy (  )  [virtual]

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