eoReduceMergeReduce< EOT > Class Template Reference

eoReduceMergeReduce is an eoReplacement: More...

#include <eoReduceMergeReduce.h>

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

List of all members.

Public Member Functions

 eoReduceMergeReduce (eoHowMany _howManyElite, bool _strongElitism, eoHowMany _howManyReducedParents, eoReduce< EOT > &_reduceParents, eoHowMany _howManyReducedOffspring, eoReduce< EOT > &_reduceOffspring, eoReduce< EOT > &_reduceFinal)
void operator() (eoPop< EOT > &_parents, eoPop< EOT > &_offspring)
 The pure virtual function that needs to be implemented by the subclass.

Private Attributes

eoHowMany howManyElite
bool strongElitism
eoHowMany howManyReducedParents
eoHowMany howManyReducedOffspring
eoReduce< EOT > & reduceParents
eoReduce< EOT > & reduceOffspring
eoReduce< EOT > & reduceFinal

Detailed Description

template<class EOT>
class eoReduceMergeReduce< EOT >

eoReduceMergeReduce is an eoReplacement:

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

----------------------------------------------------------------------------- eoReduceMergeReduce.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- saves possible elite parents

  • reduces rest of parents
  • reduces offspring
  • merges reduced populations
  • reduces resulting merged pop if necessary

Definition at line 49 of file eoReduceMergeReduce.h.

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