ECF 1.5
Public Member Functions | List of all members
TSPEvalOp Class Reference

TSP evaluation operator. More...

#include <TSPEvalOp.h>

Inheritance diagram for TSPEvalOp:
EvaluateOp

Public Member Functions

void registerParameters (StateP)
 Register evaluator parameters. Called before EvaluateOp::initialize method. 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...
 
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...
 

Detailed Description

TSP evaluation operator.

Definition at line 32 of file TSPEvalOp.h.

Member Function Documentation

◆ evaluate()

FitnessP TSPEvalOp::evaluate ( IndividualP  )
virtual

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

Implements EvaluateOp.

Definition at line 114 of file TSPEvalOp.cpp.

◆ initialize()

bool TSPEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

Definition at line 15 of file TSPEvalOp.cpp.

◆ registerParameters()

void TSPEvalOp::registerParameters ( StateP  )
virtual

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

Reimplemented from EvaluateOp.

Definition at line 9 of file TSPEvalOp.cpp.


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