#include <eoEvalFuncPtr.h>
Inheritance diagram for eoEvalFuncPtr< EOT, FitT, FunctionArg >:

Public Member Functions | |
| eoEvalFuncPtr (FitT(*_eval)(FunctionArg)) | |
| Applies the function to the chromosome and sets the fitness of the Chrom. | |
| virtual void | operator() (EOT &_eo) |
| Effectively applies the evaluation function to an EO. | |
Private Attributes | |
| FitT(* | evalFunc )(FunctionArg) |
That way, old style C or C++ functions can be adapted to EO function classes.
Definition at line 43 of file eoEvalFuncPtr.h.
|
||||||||||
|
Applies the function to the chromosome and sets the fitness of the Chrom. Thus, the evaluation function need not be worried about that.
Definition at line 51 of file eoEvalFuncPtr.h. |
1.3.9.1