In file EO++.h:

template <class EOT> class EOXOver2 : public BinOp<EOT>

2-point crossover: takes the genes in the central section of two EOs and interchanges it

Inheritance:


Public Methods

virtual void applyAt( EOT& _eo, EOT& _eo2, unsigned _i, unsigned _j = 0)
applies operator to one gene in the EO
EOXOver2( float _priority = 1)
virtual void operator)( EOT& _eo1, EOT& _eo2 )
virtual ~EOXOver2()

Inherited from BinOp:


Inherited from EOOp:

Public Methods

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

Private Fields

Arity arity
float priority

Documentation

2-point crossover: takes the genes in the central section of two EOs and interchanges it
EOXOver2( float _priority = 1)

virtual ~EOXOver2()

virtual void operator)( EOT& _eo1, EOT& _eo2 )

virtual void applyAt( EOT& _eo, EOT& _eo2, unsigned _i, unsigned _j = 0)
applies operator to one gene in the EO


This class has no child classes.

alphabetic index hierarchy of classes


BinOp