eoReplacement< EOT > Class Template Reference

The base class for all replacement functors. More...

#include <eoReplacement.h>

Inheritance diagram for eoReplacement< EOT >:
eoBF< eoPop< EOT > &, eoPop< EOT > &, void > eoFunctorBase binary_function eoDeterministicSaDReplacement< EOT > eoG3Replacement< EOT > eoGenerationalReplacement< EOT > eoMergeReduce< EOT > eoMGGReplacement< EOT > eoReduceMerge< EOT > eoReduceMergeReduce< EOT > eoWeakElitistReplacement< EOT >

List of all members.

Detailed Description

template<class EOT>
class eoReplacement< EOT >

The base class for all replacement functors.

NOTE: two eoPop as arguments the resulting population should be in the first argument (replace parents by offspring)! The second argument can contain any rubbish

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

----------------------------------------------------------------------------- eoReplacement.h (c) Maarten Keijzer, Marc Schoenauer, GeNeura Team, 2000

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: todos@geneura.ugr.es, http://geneura.ugr.es Marc.Schoenauer@polytechnique.fr mkeijzer@dhi.dk--- The eoMergeReduce, combination of eoMerge and eoReduce, can be found in file eoMergeReduce.h

The eoReduceMergeReduce that reduces the parents and the offspring, merges the 2 reduced populations, and eventually reduces that final population, can be found in eoReduceMergeReduce.h

LOG --- Removed the const before first argument: though it makes too many classes with the same interface, it allows to minimize the number of actual copies by choosing the right destination I also removed the enforced "swap" in the eoEasyAlgo and hence the generational replacement gets a class of its own that only does the swap (instead of the eoNoReplacement that did nothing, relying on the algo to swap popualtions). MS 12/12/2000

See also:
eoMerge, eoReduce, eoMergeReduce, eoReduceMerge

abstract) class

Definition at line 75 of file eoReplacement.h.

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