EvolvingObjects
eoMGGReplacement< EOT > Class Template Reference

eoMGGReplacement is an eoReplacement: More...

#include <eoMGGReplacement.h>

Inheritance diagram for eoMGGReplacement< EOT >:
eoReplacement< EOT > eoBF< eoPop< EOT > &, eoPop< EOT > &, void > eoFunctorBase binary_function

List of all members.

Public Member Functions

 eoMGGReplacement (eoHowMany _howManyEliminatedParents=eoHowMany(2, false), unsigned _tSize=2)
void operator() (eoPop< EOT > &_parents, eoPop< EOT > &_offspring)
 The pure virtual function that needs to be implemented by the subclass.

Private Attributes

eoLinearTruncateSplit< EOT > split
eoPlus< EOT > plus
unsigned int tSize

Detailed Description

template<class EOT>
class eoMGGReplacement< EOT >

eoMGGReplacement is an eoReplacement:

-*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-

----------------------------------------------------------------------------- eoMGGReplacement.h (c) Maarten Keijzer, Marc Schoenauer, 2002

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@inria.fr mkeijzer@dhi.dk- choose N (2) parents RANDOMLY - remove them from the parent population

  • select best offspring, add to parents
  • merge (other?) offspring and the N removed parents
  • select best N-1 of this merged population (detTournament only at the moment)
  • put them back into parent population

Definition at line 51 of file eoMGGReplacement.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends