In file EO++.h:

template <class EOType> class BinOp : public EOOp<EOType>

Binary genetic operator: subclasses EOOp, and defines basically the operator() with two operands

Inheritance:


Public Methods

virtual void applyAt( EOType& _eo1, EOType& _eo2, unsigned _i, unsigned _j)
Two-EO version
BinOp( float _priority = 0 )
Ctor
BinOp( const BinOp& _ebop )
Copy Ctor
virtual void operator)( EOType& _eo1, EOType& _eo2 )
applies operator, to the object
~BinOp()
Dtor

Inherited from EOOp:

Public Methods

float Priority()
void Priority( unsigned _priority )
Arity readArity()

Private Fields

Arity arity
float priority

Documentation

Binary genetic operator: subclasses EOOp, and defines basically the operator() with two operands
BinOp( float _priority = 0 )
Ctor

BinOp( const BinOp& _ebop )
Copy Ctor

~BinOp()
Dtor

virtual void operator)( EOType& _eo1, EOType& _eo2 )
applies operator, to the object. If arity is more than 1, keeps a copy of the operand in a cache.

virtual void applyAt( EOType& _eo1, EOType& _eo2, unsigned _i, unsigned _j)
Two-EO version


Direct child classes:
EOFloatIntermXOver
EOFloatArrayXoverAverage
NxOver
GeneCrossover
EOXOver2
EOUniformCrossover

alphabetic index hierarchy of classes


BinOp