eoOneMaxQuadCrossover< GenotypeT > Class Template Reference

-*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- 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 >

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

The above line is usefulin Emacs-like editors 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 Jan 1 23:19:48 2009 for EvolvingObjects by  doxygen 1.5.5