EvolvingObjects
eoG3Replacement< EOT > Class Template Reference

eoG3Replacement is an eoReplacement: More...

#include <eoG3Replacement.h>

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

List of all members.

Public Member Functions

 eoG3Replacement (eoHowMany _howManyEliminatedParents=eoHowMany(2, false))
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
eoTruncateSplit< EOT > reduce
eoPlus< EOT > plus

Detailed Description

template<class EOT>
class eoG3Replacement< EOT >

eoG3Replacement is an eoReplacement:

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

----------------------------------------------------------------------------- eoG3Replacement.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- no strong elitism (is suppposed to be within a steady-state engine)

  • choose N (2) parents RANDOMLY - remove them from the parent population
  • merge offspring and the N removed parents
  • select best N of this merged population
  • put them back into parent population

Definition at line 50 of file eoG3Replacement.h.


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