EvolvingObjects
|
Standard (i.e. More...
#include <eoEsStandardXover.h>
Public Types | |
typedef EOT::Fitness | FitT |
Public Member Functions | |
eoEsStandardXover (eoBinOp< double > &_crossObj, eoBinOp< double > &_crossMut) | |
(Default) Constructor. | |
virtual std::string | className () const |
The class name. Used to display statistics. | |
bool | operator() (EOT &_eo1, const EOT &_eo2) |
modifies one parents in the populator using a second parent | |
Private Member Functions | |
bool | cross_self_adapt (eoEsSimple< FitT > &_parent1, const eoEsSimple< FitT > &_parent2) |
bool | cross_self_adapt (eoEsStdev< FitT > &_parent1, const eoEsStdev< FitT > &_parent2) |
bool | cross_self_adapt (eoEsFull< FitT > &_parent1, const eoEsFull< FitT > &_parent2) |
Private Attributes | |
eoRandomSelect< EOT > | sel |
eoBinOp< double > & | crossObj |
eoBinOp< double > & | crossMut |
Standard (i.e.
-*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
----------------------------------------------------------------------------- eoEsLocalXover.h : ES global crossover (c) Marc Schoenauer 2001
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Contact: marc.schoenauer@polytechnique.fr http://eeaax.cmap.polytchnique.fr/ eoBinOp) crossover operator for ES genotypes. Uses some Atom crossovers to handle both the object variables and the mutation strategy parameters It is an eoBinOp and has to be wrapped into an eoGenOp before being used like the global version
Definition at line 49 of file eoEsStandardXover.h.