#include <eoEsGlobalXover.h>
Inheritance diagram for eoEsGlobalXover< EOT >:

Public Types | |
| typedef EOT::Fitness | FitT |
Public Member Functions | |
| eoEsGlobalXover (eoBinOp< double > &_crossObj, eoBinOp< double > &_crossMut) | |
| (Default) Constructor. | |
| virtual std::string | className () const |
| The class name. Used to display statistics. | |
| unsigned | max_production (void) |
| The TOTAL number of offspring (here = nb of parents modified in place). | |
| void | apply (eoPopulator< EOT > &_plop) |
| modifies one parents in the populator using 2 new parents for each component! | |
Private Member Functions | |
| void | cross_self_adapt (eoEsSimple< FitT > &_parent, const eoPop< eoEsSimple< FitT > > &_pop) |
| Method for cross self-adaptation parameters. | |
| void | cross_self_adapt (eoEsStdev< FitT > &_parent, const eoPop< eoEsStdev< FitT > > &_pop) |
| Method for cross self-adaptation parameters. | |
| void | cross_self_adapt (eoEsFull< FitT > &_parent, const eoPop< eoEsFull< FitT > > &_pop) |
| Method for cross self-adaptation parameters. | |
Private Attributes | |
| eoRandomSelect< EOT > | sel |
| eoBinOp< double > & | crossObj |
| eoBinOp< double > & | crossMut |
Uses some Atom crossovers to handle both the object variables and the mutation strategy parameters
Definition at line 44 of file eoEsGlobalXover.h.
| void eoEsGlobalXover< EOT >::apply | ( | eoPopulator< EOT > & | _plop | ) | [inline, virtual] |
modifies one parents in the populator using 2 new parents for each component!
| _pop | a POPULATOR (not a simple population) |
Implements eoGenOp< EOT >.
Definition at line 67 of file eoEsGlobalXover.h.
References eoEsGlobalXover< EOT >::cross_self_adapt(), eoEsGlobalXover< EOT >::crossObj, EO< F >::invalidate(), eoEsGlobalXover< EOT >::sel, and eoPopulator< EOT >::source().
| void eoEsGlobalXover< EOT >::cross_self_adapt | ( | eoEsSimple< FitT > & | _parent, | |
| const eoPop< eoEsSimple< FitT > > & | _pop | |||
| ) | [inline, private] |
Method for cross self-adaptation parameters.
Specialization for eoEsSimple.
Definition at line 94 of file eoEsGlobalXover.h.
References eoEsGlobalXover< EOT >::crossMut, eoEsGlobalXover< EOT >::sel, and eoEsSimple< Fit >::stdev.
Referenced by eoEsGlobalXover< EOT >::apply().
| void eoEsGlobalXover< EOT >::cross_self_adapt | ( | eoEsStdev< FitT > & | _parent, | |
| const eoPop< eoEsStdev< FitT > > & | _pop | |||
| ) | [inline, private] |
Method for cross self-adaptation parameters.
Specialization for eoEsStdev.
Definition at line 106 of file eoEsGlobalXover.h.
References eoEsGlobalXover< EOT >::crossMut, eoEsGlobalXover< EOT >::sel, and eoEsStdev< Fit >::stdevs.
| void eoEsGlobalXover< EOT >::cross_self_adapt | ( | eoEsFull< FitT > & | _parent, | |
| const eoPop< eoEsFull< FitT > > & | _pop | |||
| ) | [inline, private] |
Method for cross self-adaptation parameters.
Specialization for eoEsFull.
Definition at line 121 of file eoEsGlobalXover.h.
References eoEsFull< Fit >::correlations, eoEsGlobalXover< EOT >::crossMut, eoEsGlobalXover< EOT >::sel, and eoEsFull< Fit >::stdevs.
1.4.7