EvolvingObjects
eoEvalFunc< EOT > Class Template Reference

Evaluate: takes one EO and sets its "fitness" property returning this fitness also. More...

#include <eoEvalFunc.h>

Inheritance diagram for eoEvalFunc< EOT >:
eoUF< EOT &, void > eoFunctorBase unary_function eoEasyEA< EOT >::eoDummyEval eoEvalFuncCounter< EOT > eoEvalFuncPtr< EOT, FitT, FunctionArg > eoEvalCounterThrowException< EOT > eoEvalFuncCounterBounder< EOT > eoEvalTimeThrowException< EOT >

List of all members.

Public Types

typedef EOT EOType
typedef EOT::Fitness EOFitT

Detailed Description

template<class EOT>
class eoEvalFunc< EOT >

Evaluate: takes one EO and sets its "fitness" property returning this fitness also.

That is why EOT is passed by non-const reference: it must be altered within evaluate.\

The requirements on the types with which this class is to be instantiated with are null, or else, they depend on the particular class it's going to be applied to; EO does not impose any requirement on it. If you subclass this abstract class, and use it to evaluate an EO, the requirements on this EO will depend on the evaluator.

Examples:
t-eoFitnessAssembledEA.cpp, t-eoSSGA.cpp, and t-eoSymreg.cpp.

Definition at line 47 of file eoEvalFunc.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends