Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

MutationSimpleMutator Class Reference

FloatGene mutator from Thomas Bäck 1997, SNAC Book, page 37 (10). More...

#include <mutator.h>

Inheritance diagram for MutationSimpleMutator:

FloatMutator List of all members.

Public Methods

 MutationSimpleMutator (int n=100)
virtual double mutate (double p, double min, double max, double variance) const

Detailed Description

FloatGene mutator from Thomas Bäck 1997, SNAC Book, page 37 (10).

Definition at line 86 of file mutator.h.


Constructor & Destructor Documentation

MutationSimpleMutator int    n = 100 [inline]
 

The standard constructor.

Parameters:
n  Number of genes in the system. In pure Evolution Strategies with only real-valued genes this would mean the length of the real vector, i.e. the number of real genes in the genome.

Definition at line 96 of file mutator.h.


Member Function Documentation

virtual double mutate double    p,
double    min,
double    max,
double    variance
const [inline, virtual]
 

As in the superclass, except that the variance parameter is not used here; instead a parameter calculated from the value given in the constructor is used.

Reimplemented from FloatMutator.

Definition at line 102 of file mutator.h.


The documentation for this class was generated from the following file:
Generated on Thu Feb 10 20:12:01 2005 for NeHeP by doxygen1.2.18