|
EvolvingObjects
|
Base classes for generic mutations on fixed length chromosomes. More...
#include <eoFlOrMonOp.h>
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 |
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.