ECF 1.5
|
Evaluation base class. More...
#include <EvaluateOp.h>
Public Member Functions | |
virtual FitnessP | evaluate (IndividualP)=0 |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
virtual void | registerParameters (StateP) |
Register evaluator parameters. Called before EvaluateOp::initialize method. More... | |
virtual bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. More... | |
Evaluation base class.
The user must inherit and implement a problem specific evaluation operator. The operator must implement EvaluateOp::evaluate method. Optional methods are: EvaluateOp::registerParameters (to define user parameters in conf. file) and EvaluateOp::initialize (to read paramaters and/or perform evaluator initialization).
Definition at line 16 of file EvaluateOp.h.
|
inlinevirtual |
Definition at line 35 of file EvaluateOp.h.
|
pure virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implemented in Environment, SymbRegEvalOp, FunctionMinEvalOp, MultipleClassEvalOp, SymbRegEvalOp, FunctionMinEvalOp, FlowshopEvalOp, FunctionMaxEvalOp, FunctionMinEvalOp, FunctionMaxEvalOp, FunctionMinEvalOp, OneMaxEvalOp, TSPEvalOp, AntEvalOp, EvalOp, SymbRegEvalOp, SymbRegEvalOp, SymbRegEvalOp, SymbRegEvalOp, SchedulingEvalOp, SchedulingEvalOp, KnapsackEvalOp, NQueensEvalOp, OneMaxEvalOp, PrimeEvalOp, PrimeEvalOp, QuantumEvalOp, GEPSymbRegEvalOp, and GPSymbRegEvalOp.
|
inlinevirtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented in MultipleClassEvalOp, SymbRegEvalOp, SymbRegEvalOp, FunctionMinEvalOp, FunctionMinEvalOp, FlowshopEvalOp, FunctionMinEvalOp, FunctionMinEvalOp, TSPEvalOp, AntEvalOp, EvalOp, SymbRegEvalOp, SymbRegEvalOp, SymbRegEvalOp, SymbRegEvalOp, SchedulingEvalOp, SchedulingEvalOp, KnapsackEvalOp, NQueensEvalOp, OneMaxEvalOp, PrimeEvalOp, PrimeEvalOp, QuantumEvalOp, GEPSymbRegEvalOp, and GPSymbRegEvalOp.
Definition at line 32 of file EvaluateOp.h.
|
inlinevirtual |
Register evaluator parameters. Called before EvaluateOp::initialize method.
Reimplemented in MultipleClassEvalOp, SymbRegEvalOp, FunctionMinEvalOp, FunctionMinEvalOp, FlowshopEvalOp, FunctionMinEvalOp, FunctionMinEvalOp, TSPEvalOp, AntEvalOp, EvalOp, EvalOp, SchedulingEvalOp, SchedulingEvalOp, KnapsackEvalOp, OneMaxEvalOp, QuantumEvalOp, GEPSymbRegEvalOp, and GPSymbRegEvalOp.
Definition at line 27 of file EvaluateOp.h.