eoOneMaxQuadCrossover< GenotypeT > Class Template Reference

Always write a comment in this format before class definition if you want the class to be documented by Doxygen. More...

#include <eoOneMaxQuadCrossover.h>

Inheritance diagram for eoOneMaxQuadCrossover< GenotypeT >:

eoQuadOp< GenotypeT > eoOp< GenotypeT > eoBF< GenotypeT &, GenotypeT &, bool > eoFunctorBase List of all members.

Public Member Functions

 eoOneMaxQuadCrossover ()
 Ctor - no requirement.
string className () const
 The class name. Used to display statistics.
bool operator() (GenotypeT &_genotype1, GenotypeT &_genotype2)
 eoQuad crossover - modifies both parents

Detailed Description

template<class GenotypeT>
class eoOneMaxQuadCrossover< GenotypeT >

Always write a comment in this format before class definition if you want the class to be documented by Doxygen.

THere is NO ASSUMPTION on the class GenoypeT. In particular, it does not need to derive from EO

Definition at line 26 of file eoOneMaxQuadCrossover.h.


Member Function Documentation

template<class GenotypeT>
bool eoOneMaxQuadCrossover< GenotypeT >::operator() ( GenotypeT &  _genotype1,
GenotypeT &  _genotype2 
) [inline, virtual]

eoQuad crossover - modifies both parents

Parameters:
_genotype1 The first parent
_genotype2 The second parent

Requirement if (at least one genotype has been modified) // no way to distinguish oneAtLeastIsModified = true; else oneAtLeastIsModified = false;

Implements eoBF< GenotypeT &, GenotypeT &, bool >.

Definition at line 49 of file eoOneMaxQuadCrossover.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 19 11:02:32 2007 for EO by  doxygen 1.4.7