EvolvingObjects
eoFlOrAllAtomBinOp< EOT > Class Template Reference

Generic eoBinOps on fixed length genotypes. More...

#include <eoFlOrBinOp.h>

Inheritance diagram for eoFlOrAllAtomBinOp< EOT >:
eoBinOp< EOT > eoOp< EOT > eoBF< EOT &, const EOT &, bool > eoFunctorBase binary_function

List of all members.

Public Types

typedef EOT::AtomType AtomType

Public Member Functions

 eoFlOrAllAtomBinOp (eoBinOp< AtomType > &_op, float _rate=1.0)
 default ctor: requires an Atom BinOp
bool operator() (EOT &_eo1, const EOT &_eo2)
 applies Atom crossover to ALL components with given rate
virtual string className () const
 inherited className()

Private Attributes

double rate
eoBinOp< AtomType > & op

Detailed Description

template<class EOT>
class eoFlOrAllAtomBinOp< EOT >

Generic eoBinOps on fixed length genotypes.

Contains exchange crossovers (1pt and uniform) and crossovers that applies an Atom crossover to all components with given rate, or to a fixed prescribed nb of components

Example: the standard bitstring 1-point and uniform crossovers could be implemented as resp. eoFlOr1ptBinOp and eoFlOrUniformBinOp Bin Crossover using an Atom Crossover that is applied to a ALL components with given rate

Definition at line 53 of file eoFlOrBinOp.h.


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