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

MutationMutator Class Reference

FloatGene mutator for mutating mutation rates. More...

#include <mutator.h>

Inheritance diagram for MutationMutator:

FloatMutator List of all members.

Public Methods

 MutationMutator (double phi=0.22)
virtual double mutate (double p, double min, double max, double variance) const

Detailed Description

FloatGene mutator for mutating mutation rates.

Definition at line 61 of file mutator.h.


Constructor & Destructor Documentation

MutationMutator double    phi = 0.22 [inline]
 

Standard constructor.

Parameters:
phi  Distribution parameter for the method.

Definition at line 68 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 the phi value given in the constructor is used.

Parameters:
variance  NOT USED

Reimplemented from FloatMutator.

Definition at line 75 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