In file EO++.h:

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

NaryOp is the N-ary operator: genetic operator that takes several EOs

Inheritance:


Public Methods

virtual void applyAt( EOPop<EOType>& _eo1, vector<unsigned>& _v )
Apply at is used for "surgery": applies the operator to the part of the chromosome one wants
NaryOp( float _priority = 0 )
Ctor
NaryOp( const NaryOp& _emop )
Copy Ctor
virtual void operator)( EOPop<EOType> & _eop)
applies randomly operator, to the object
~NaryOp()
Dtor

Inherited from EOOp:

Public Methods

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

Private Fields

Arity arity
float priority

Documentation

NaryOp is the N-ary operator: genetic operator that takes several EOs. It could be called an orgy operator
NaryOp( float _priority = 0 )
Ctor

NaryOp( const NaryOp& _emop )
Copy Ctor

~NaryOp()
Dtor

virtual void operator)( EOPop<EOType> & _eop)
applies randomly operator, to the object. If arity is more than 1, keeps a copy of the operand in a cache.

virtual void applyAt( EOPop<EOType>& _eo1, vector<unsigned>& _v )
Apply at is used for "surgery": applies the operator to the part of the chromosome one wants. In this case, it will need many points


Direct child classes:
ScanXOver

alphabetic index hierarchy of classes


BinOp