FixMutationFactorStrategy Class Reference

This strategy implementation return a fix value for the mutation factor. More...

#include <FixMutationFactorStrategy.h>

Inherits IMutationFactorStrategy.

Inheritance diagram for FixMutationFactorStrategy:

Inheritance graph
[legend]
Collaboration diagram for FixMutationFactorStrategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FixMutationFactorStrategy (IValue *value)
 constructor
virtual ~FixMutationFactorStrategy ()
 default destructor
virtual IValuecalcMutationFactor (const std::vector< Gen * > &gene)
 returns the fix value as mutation value

Protected Attributes

IValuem_value
 the saved fix value which is giving back.

Detailed Description

This strategy implementation return a fix value for the mutation factor.


Constructor & Destructor Documentation

FixMutationFactorStrategy ( IValue value  ) 

constructor

Parameters:
value (IValue*) the fix Value

~FixMutationFactorStrategy (  )  [virtual]

default destructor


Member Function Documentation

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

returns the fix value as mutation value

Parameters:
gene (vector<Gen*>) the set of gens -> here not used.
Returns:
(IValue*) the mutation factor

Implements IMutationFactorStrategy.


Member Data Documentation

IValue* m_value [protected]

the saved fix value which is giving back.


The documentation for this class was generated from the following files:
Generated on Fri Oct 30 16:29:02 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7