EvolvingObjects
eoFlOrAllMutation< EOT > Class Template Reference

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

#include <eoFlOrMonOp.h>

Inheritance diagram for eoFlOrAllMutation< EOT >:
eoMonOp< EOT > eoOp< EOT > eoUF< EOT &, bool > eoFunctorBase unary_function

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 49 of file eoFlOrMonOp.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends