ECF 1.5
Public Member Functions | Public Attributes | Protected Attributes | List of all members
EvalOp Class Reference
Inheritance diagram for EvalOp:
EvaluateOp EvaluateOp

Public Member Functions

void registerParameters (StateP)
 Register evaluator parameters. Called before EvaluateOp::initialize method. 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...
 
uint showTree (string &output, Tree::Tree *tree, uint iNode=0, uint prefix=0)
 
void registerParameters (StateP)
 Register evaluator parameters. Called before EvaluateOp::initialize method. 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

uint nVariables
 
int varijanta
 
int targetNl
 
std::vector< std::vector< bool > > inputMap
 
std::vector< std::string > inputNames
 
std::vector< bool > results
 
std::vector< int > tt
 
std::vector< uint > anfPos
 
bool showTruth
 
bool zadano
 

Protected Attributes

StateP state_
 

Detailed Description

Definition at line 5 of file EvalOp.h.

Member Function Documentation

◆ evaluate()

FitnessP EvalOp::evaluate ( IndividualP  )
virtual

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

Implements EvaluateOp.

Definition at line 165 of file EvalOp.cpp.

◆ initialize()

bool EvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

Definition at line 111 of file EvalOp.cpp.

◆ registerParameters() [1/2]

void EvalOp::registerParameters ( StateP  )
virtual

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

Reimplemented from EvaluateOp.

Definition at line 103 of file EvalOp.cpp.

◆ registerParameters() [2/2]

void EvalOp::registerParameters ( StateP  )
virtual

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

Reimplemented from EvaluateOp.

◆ showTree()

uint EvalOp::showTree ( string &  output,
Tree::Tree tree,
uint  iNode = 0,
uint  prefix = 0 
)

Definition at line 19 of file EvalOp.cpp.

Member Data Documentation

◆ anfPos

std::vector<uint> EvalOp::anfPos

Definition at line 22 of file EvalOp.h.

◆ inputMap

std::vector< std::vector< bool > > EvalOp::inputMap

Definition at line 18 of file EvalOp.h.

◆ inputNames

std::vector< std::string > EvalOp::inputNames

Definition at line 19 of file EvalOp.h.

◆ nVariables

uint EvalOp::nVariables

Definition at line 15 of file EvalOp.h.

◆ results

std::vector< bool > EvalOp::results

Definition at line 20 of file EvalOp.h.

◆ showTruth

bool EvalOp::showTruth

Definition at line 23 of file EvalOp.h.

◆ state_

StateP EvalOp::state_
protected

Definition at line 8 of file EvalOp.h.

◆ targetNl

int EvalOp::targetNl

Definition at line 17 of file EvalOp.h.

◆ tt

std::vector< int > EvalOp::tt

Definition at line 21 of file EvalOp.h.

◆ varijanta

int EvalOp::varijanta

Definition at line 16 of file EvalOp.h.

◆ zadano

bool EvalOp::zadano

Definition at line 22 of file glavni.cpp.


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