EvolvingObjects
eoFlOrKAtomQuadOp< EOT > Class Template Reference

Quad Crossover using an Atom Crossover that is applied to a FIXED NB of components. More...

#include <eoFlOrQuadOp.h>

Inheritance diagram for eoFlOrKAtomQuadOp< EOT >:
eoQuadOp< EOT > eoOp< EOT > eoBF< EOT &, EOT &, bool > eoFunctorBase binary_function

List of all members.

Public Types

typedef EOT::AtomType AtomType

Public Member Functions

 eoFlOrAtomQuadOp (eoQuadOp< AtomType > &_op, unsigned _k=1)
 default ctor: requires an Atom QuadOp and an unsigned
bool operator() (EOT &_eo1, const EOT &_eo2)
 applies the Atom QuadOp to some components
virtual string className () const
 inherited className()

Private Attributes

unsigned k
eoQuadOp< AtomType > & op

Detailed Description

template<class EOT>
class eoFlOrKAtomQuadOp< EOT >

Quad Crossover using an Atom Crossover that is applied to a FIXED NB of components.

Definition at line 88 of file eoFlOrQuadOp.h.


Member Function Documentation

template<class EOT >
bool eoFlOrKAtomQuadOp< EOT >::operator() ( EOT &  _eo1,
const EOT &  _eo2 
) [inline]

applies the Atom QuadOp to some components

Todo:
check that we don't do twice the same

Definition at line 99 of file eoFlOrQuadOp.h.

References eoFlOrKAtomQuadOp< EOT >::className(), and eoRng::random().


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