#include <eoSGATransform.h>

Public Member Functions | |
| eoSGATransform (eoQuadOp< EOT > &_cross, double _cProba, eoMonOp< EOT > &_mutate, double _mProba) | |
| Default constructor. | |
| void | operator() (eoPop< EOT > &_pop) |
| Transforms a population. | |
Private Attributes | |
| eoInvalidateQuadOp< EOT > | cross |
| double | crossoverProba |
| eoInvalidateMonOp< EOT > | mutate |
| double | mutationProba |
It does it exactly as class eoSGA, i.e. only accepts quadratic crossover and unary mutation It is here mainly for tutorial reasons
Definition at line 45 of file eoSGATransform.h.
| void eoSGATransform< EOT >::operator() | ( | eoPop< EOT > & | _pop | ) | [inline] |
Transforms a population.
| pop | The population to be transformed. |
Definition at line 62 of file eoSGATransform.h.
References eoRng::flip().
1.5.5