eoOp< EOType > Class Template Reference

Abstract data types for EO operators. More...

#include <eoOp.h>

Inheritance diagram for eoOp< EOType >:

eoBinOp< EOType > eoBinOp< eoParseTree > eoBinOp< eoVirus< eoScalarFitness > > eoGenOp< EOT > eoMonOp< EOType > eoMonOp< eoParseTree > eoMonOp< eoVirus< eoScalarFitness > > eoQuadOp< EOType > eoQuadOp< eoParseTree >

List of all members.
enum  OpType { unary = 0, binary = 1, quadratic = 2, general = 3 }
OpType opType
 OpType is the type of the operator: how many operands it takes and how many it produces.
 eoOp (OpType _type)
 Ctor.
 eoOp (const eoOp &_eop)
 Copy Ctor.
virtual ~eoOp ()
 Needed virtual destructor.
OpType getType () const
 getType: number of operands it takes and individuals it produces


Detailed Description

template<class EOType>
class eoOp< EOType >

Abstract data types for EO operators.

Genetic operators act on chromosomes, changing them. The type to use them on is problem specific. If your genotype is a std::vector<bool>, there are operators that work specifically on std::vector<bool>, but you might also find that generic operators working on std::vector<T> are what you need.

Definition at line 68 of file eoOp.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:48 2009 for EvolvingObjects by  doxygen 1.5.5