ECF 1.5
Public Member Functions | Public Attributes | List of all members

Symbolic regression evaluation operator (using AP genotype). More...

#include <SymbRegEvalOp.h>

Inheritance diagram for SymbRegEvalOp:
EvaluateOp EvaluateOp EvaluateOp EvaluateOp EvaluateOp EvaluateOp

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
 

Detailed Description

Symbolic regression evaluation operator (using AP genotype).

Symbolic regression evaluation operator.

Definition at line 28 of file SymbRegEvalOp.h.

Constructor & Destructor Documentation

◆ SymbRegEvalOp()

SymbRegEvalOp::SymbRegEvalOp ( )
inline

Definition at line 26 of file SymbRegEvalOp.h.

Member Function Documentation

◆ evaluate() [1/6]

FitnessP SymbRegEvalOp::evaluate ( IndividualP  )
virtual

Evaluate a single individual. Method must create and return a Fitness object.

Implements EvaluateOp.

Definition at line 26 of file SymbRegEvalOp.cpp.

◆ evaluate() [2/6]

FitnessP SymbRegEvalOp::evaluate ( IndividualP  )
virtual

Evaluate a single individual. Method must create and return a Fitness object.

Implements EvaluateOp.

◆ evaluate() [3/6]

FitnessP SymbRegEvalOp::evaluate ( IndividualP  )
virtual

Evaluate a single individual. Method must create and return a Fitness object.

Implements EvaluateOp.

◆ evaluate() [4/6]

FitnessP SymbRegEvalOp::evaluate ( IndividualP  )
virtual

Evaluate a single individual. Method must create and return a Fitness object.

Implements EvaluateOp.

◆ evaluate() [5/6]

FitnessP SymbRegEvalOp::evaluate ( IndividualP  )
virtual

Evaluate a single individual. Method must create and return a Fitness object.

Implements EvaluateOp.

◆ evaluate() [6/6]

FitnessP SymbRegEvalOp::evaluate ( IndividualP  )
virtual

Evaluate a single individual. Method must create and return a Fitness object.

Implements EvaluateOp.

◆ getMean()

double SymbRegEvalOp::getMean ( vector< double > &  values)

Definition at line 140 of file SymbRegEvalOp.cpp.

◆ getStdDev()

double SymbRegEvalOp::getStdDev ( vector< double > &  values)

Definition at line 149 of file SymbRegEvalOp.cpp.

◆ initialize() [1/6]

bool SymbRegEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

◆ initialize() [2/6]

bool SymbRegEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

Definition at line 7 of file SymbRegEvalOp.cpp.

◆ initialize() [3/6]

bool SymbRegEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

◆ initialize() [4/6]

bool SymbRegEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

◆ initialize() [5/6]

bool SymbRegEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

◆ initialize() [6/6]

bool SymbRegEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

◆ registerParameters()

void SymbRegEvalOp::registerParameters ( StateP  )
virtual

Register evaluator parameters. Called before EvaluateOp::initialize method.

Reimplemented from EvaluateOp.

Definition at line 14 of file SymbRegEvalOp.cpp.

Member Data Documentation

◆ APGenotype

bool SymbRegEvalOp::APGenotype

Definition at line 36 of file SymbRegEvalOp.h.

◆ codomain

std::vector< double > SymbRegEvalOp::codomain

Definition at line 34 of file SymbRegEvalOp.h.

◆ domain

std::vector< double > SymbRegEvalOp::domain

Definition at line 33 of file SymbRegEvalOp.h.

◆ height

std::vector<double> SymbRegEvalOp::height

Definition at line 33 of file SymbRegEvalOp.h.

◆ nSamples

uint SymbRegEvalOp::nSamples

Definition at line 35 of file SymbRegEvalOp.h.

◆ state_

StateP SymbRegEvalOp::state_

Definition at line 37 of file SymbRegEvalOp.h.

◆ T

double SymbRegEvalOp::T

Definition at line 35 of file SymbRegEvalOp.h.

◆ time

std::vector<double> SymbRegEvalOp::time

Definition at line 32 of file SymbRegEvalOp.h.

◆ x

std::vector<double> SymbRegEvalOp::x

Definition at line 35 of file SymbRegEvalOp.h.

◆ y

std::vector<double> SymbRegEvalOp::y

Definition at line 35 of file SymbRegEvalOp.h.


The documentation for this class was generated from the following files: