|
EvolvingObjects
|
Generic eoBinOps on fixed length genotypes. More...
#include <eoFlOrBinOp.h>
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 |
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.