ECF 1.5
SymbRegEvalOp.h
1#ifndef SymbRegEvalOp_h
2#define SymbRegEvalOp_h
3
4
27class SymbRegEvalOp : public EvaluateOp
28{
29public:
30 FitnessP evaluate(IndividualP individual);
31 bool initialize(StateP);
32 std::vector<double> domain;
33 std::vector<double> codomain;
34 uint nSamples;
35};
36typedef boost::shared_ptr<SymbRegEvalOp> SymbRegEvalOpP;
37
38#endif // SymbRegEvalOp_h
Evaluation base class.
Definition: EvaluateOp.h:17
Symbolic regression evaluation operator (using AP genotype).
Definition: SymbRegEvalOp.h:29
FitnessP evaluate(IndividualP individual)
Evaluate a single individual. Method must create and return a Fitness object.
bool initialize(StateP)
Initialize the evaluator. Called before first evaluation occurs.