ECF 1.5
Public Member Functions | Public Attributes | List of all members
PrimeEvalOp Class Reference
Inheritance diagram for PrimeEvalOp:
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...
 
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...
 
- Public Member Functions inherited from EvaluateOp
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< long int > domain
 
std::vector< long int > codomain
 
uint nSamples
 
std::vector< int > domain
 
std::vector< int > codomain
 

Detailed Description

Definition at line 8 of file main.cpp.

Member Function Documentation

◆ evaluate() [1/2]

FitnessP PrimeEvalOp::evaluate ( IndividualP  )
virtual

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

Implements EvaluateOp.

Definition at line 51 of file main.cpp.

◆ evaluate() [2/2]

FitnessP PrimeEvalOp::evaluate ( IndividualP  )
virtual

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

Implements EvaluateOp.

◆ initialize() [1/2]

bool PrimeEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

Definition at line 20 of file main.cpp.

◆ initialize() [2/2]

bool PrimeEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

Member Data Documentation

◆ codomain [1/2]

std::vector<long int> PrimeEvalOp::codomain

Definition at line 14 of file main.cpp.

◆ codomain [2/2]

std::vector<int> PrimeEvalOp::codomain

Definition at line 14 of file main_moj.cpp.

◆ domain [1/2]

std::vector<long int> PrimeEvalOp::domain

Definition at line 13 of file main.cpp.

◆ domain [2/2]

std::vector<int> PrimeEvalOp::domain

Definition at line 13 of file main_moj.cpp.

◆ nSamples

uint PrimeEvalOp::nSamples

Definition at line 15 of file main.cpp.


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