ECF 1.5
|
Symbolic regression evaluation operator (using AP genotype). More...
#include <SymbRegEvalOp.h>
Public Member Functions | |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. More... | |
void | registerParameters (StateP stateP) |
Register evaluator parameters. Called before EvaluateOp::initialize method. More... | |
bool | initialize (StateP stateP) |
Initialize the evaluator. Called before first evaluation occurs. More... | |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. More... | |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. More... | |
double | getStdDev (vector< double > &values) |
double | getMean (vector< double > &values) |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. More... | |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. More... | |
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... | |
Public Attributes | |
std::vector< double > | domain |
std::vector< double > | codomain |
uint | nSamples |
bool | APGenotype |
std::vector< double > | x |
std::vector< double > | y |
StateP | state_ |
std::vector< double > | time |
std::vector< double > | height |
double | T |
Symbolic regression evaluation operator (using AP genotype).
Symbolic regression evaluation operator.
Definition at line 28 of file SymbRegEvalOp.h.
|
inline |
Definition at line 26 of file SymbRegEvalOp.h.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
Definition at line 26 of file SymbRegEvalOp.cpp.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
double SymbRegEvalOp::getMean | ( | vector< double > & | values | ) |
Definition at line 140 of file SymbRegEvalOp.cpp.
double SymbRegEvalOp::getStdDev | ( | vector< double > & | values | ) |
Definition at line 149 of file SymbRegEvalOp.cpp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
Definition at line 7 of file SymbRegEvalOp.cpp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
|
virtual |
Register evaluator parameters. Called before EvaluateOp::initialize method.
Reimplemented from EvaluateOp.
Definition at line 14 of file SymbRegEvalOp.cpp.
bool SymbRegEvalOp::APGenotype |
Definition at line 36 of file SymbRegEvalOp.h.
std::vector< double > SymbRegEvalOp::codomain |
Definition at line 34 of file SymbRegEvalOp.h.
std::vector< double > SymbRegEvalOp::domain |
Definition at line 33 of file SymbRegEvalOp.h.
std::vector<double> SymbRegEvalOp::height |
Definition at line 33 of file SymbRegEvalOp.h.
uint SymbRegEvalOp::nSamples |
Definition at line 35 of file SymbRegEvalOp.h.
StateP SymbRegEvalOp::state_ |
Definition at line 37 of file SymbRegEvalOp.h.
double SymbRegEvalOp::T |
Definition at line 35 of file SymbRegEvalOp.h.
std::vector<double> SymbRegEvalOp::time |
Definition at line 32 of file SymbRegEvalOp.h.
std::vector<double> SymbRegEvalOp::x |
Definition at line 35 of file SymbRegEvalOp.h.
std::vector<double> SymbRegEvalOp::y |
Definition at line 35 of file SymbRegEvalOp.h.