In file EO++.h:

template <class EOType> class EOOp

Abstract data types for EO operators

Inheritance:


Public Methods

EOOp( const EOOp& _eop )
Copy Ctor
EOOp( Arity _arity = unary, float _priority = 0 )
Ctor
float Priority()
Priority: relative rate at which it is applied. This one returns priority
void Priority( unsigned _priority )
Write priority
Arity readArity()
Arity: number of operands
virtual ~EOOp()
Needed virtual destructor

Private Fields

Arity arity
arity is the number of operator it takes
float priority
priority of the operator, or rate

Documentation

Abstract data types for EO operators. Genetic operators act on chromosomes, changing them
EOOp( Arity _arity = unary, float _priority = 0 )
Ctor

EOOp( const EOOp& _eop )
Copy Ctor

virtual ~EOOp()
Needed virtual destructor

Arity readArity()
Arity: number of operands

float Priority()
Priority: relative rate at which it is applied. This one returns priority

void Priority( unsigned _priority )
Write priority

Arity arity
arity is the number of operator it takes

float priority
priority of the operator, or rate


Direct child classes:
NaryOp
MonOp
BinOp

alphabetic index hierarchy of classes


BinOp