#include <eoSGAGenOp.h>
Public Member Functions | |
eoSGAGenOp (eoQuadOp< EOT > &_cross, double _pCross, eoMonOp< EOT > &_mut, double _pMut) | |
Ctor from crossover (with proba) and mutation (with proba) Builds the sequential op that first applies a proportional choice between the crossover and nothing (cloning), then the mutation. | |
virtual void | apply (eoPopulator< EOT > &_pop) |
do the job: delegate to op | |
virtual unsigned | max_production (void) |
inherited from eoGenOp | |
virtual std::string | className () const |
Private Attributes | |
eoQuadOp< EOT > & | cross |
double | pCross |
eoMonOp< EOT > & | mut |
double | pMut |
eoProportionalOp< EOT > | propOp |
eoQuadCloneOp< EOT > | quadClone |
eoSequentialOp< EOT > | op |
only accepts quadratic crossover and unary mutation It was introduced for didactic reasons, but seems to be popular :-)
Definition at line 44 of file eoSGAGenOp.h.