|
EvolvingObjects
|
Bin Crossover using an Atom Crossover that is applied to a FIXED NB of components. More...
#include <eoFlOrBinOp.h>
Public Types | |
| typedef EOT::AtomType | AtomType |
Public Member Functions | |
| eoFlOrAtomBinOp (eoBinOp< AtomType > &_op, unsigned _k=1) | |
| default ctor: requires an Atom BinOp and an unsigned | |
| bool | operator() (EOT &_eo1, const EOT &_eo2) |
| applies the Atom BinOp to some components | |
| virtual string | className () const |
| inherited className() | |
Private Attributes | |
| unsigned | k |
| eoBinOp< AtomType > & | op |
Bin Crossover using an Atom Crossover that is applied to a FIXED NB of components.
Definition at line 96 of file eoFlOrBinOp.h.
| bool eoFlOrKAtomBinOp< EOT >::operator() | ( | EOT & | _eo1, |
| const EOT & | _eo2 | ||
| ) | [inline, virtual] |
applies the Atom BinOp to some components
Implements eoBF< EOT &, const EOT &, bool >.
Definition at line 107 of file eoFlOrBinOp.h.
References eoFlOrKAtomBinOp< EOT >::className(), and eoRng::random().