EvolvingObjects
|
eoBitMutation --> classical mutation More...
#include <ga/eoBitOp.h>
Public Member Functions | |
eoBitMutation (const double &_rate=0.01, bool _normalize=false) | |
(Default) Constructor. | |
virtual std::string | className () const |
The class name. | |
bool | operator() (Chrom &chrom) |
Mutate a chromosome. | |
Private Attributes | |
double | rate |
bool | normalize |
eoBitMutation --> classical mutation
eoBitMutation< Chrom >::eoBitMutation | ( | const double & | _rate = 0.01 , |
bool | _normalize = false |
||
) | [inline] |
bool eoBitMutation< Chrom >::operator() | ( | Chrom & | chrom | ) | [inline, virtual] |
Mutate a chromosome.
chrom | The chromosome to be mutated. |
Implements eoUF< Chrom &, bool >.