eoFlOrAllMutation< EOT > Class Template Reference

Base classes for generic mutations on fixed length chromosomes. More...

#include <eoFlOrMonOp.h>

Inheritance diagram for eoFlOrAllMutation< EOT >:

eoMonOp< EOType > eoOp< EOType > eoUF< EOType &, bool > eoFunctorBase

List of all members.

Public Types

typedef EOT::AtomType AtomType

Public Member Functions

 eoFlOrAllMutation (eoMonOp< AtomType > &_atomMutation, double _rate=1.0)
 default ctor: requires an Atom mutation and a rate
bool operator() (EOT &_eo)
 applies the atom mutation to all components with given rate
virtual std::string className () const
 inherited className()

Private Attributes

eoMonOp< AtomType > & atomMutation
double rate


Detailed Description

template<class EOT>
class eoFlOrAllMutation< EOT >

Base classes for generic mutations on fixed length chromosomes.

Contains 2 classes that both use an atomic mutation eoFlOrAllMutation applies the atom mutation to all components with given rate eoFlOrKMutation applies the atom mutation to a fixed nb of components

Remark: the standard bit-flip mutation is an eoFlOrAllMutation with atom mutation == bitflipping applies an atomic mutation to all the components with a given rate

Definition at line 45 of file eoFlOrMonOp.h.


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

Generated on Thu Jan 1 23:19:46 2009 for EvolvingObjects by  doxygen 1.5.5