Artificial ant example. More...
#include <EvalOp.h>
Public Member Functions | |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. | |
void | registerParameters (StateP) |
Register evaluator parameters. Called before EvaluateOp::initialize method. | |
bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. | |
void | readClasses (std::string, uint, uint) |
void | readLandscape (std::string, uint) |
bool | isAtr (Atribut *) |
Public Attributes | |
std::vector< std::vector < std::vector< uint > > > | classes |
std::vector< std::vector< uint > > | operators |
std::vector< uint > | functions |
uint | operatorId |
std::vector< double > | diameter |
std::vector< double > | distance |
std::vector< double > | delta |
std::vector< double > | ampl |
std::vector< double > | length |
std::vector< double > | acc |
std::vector< double > | ampl_var |
std::vector< double > | ac |
std::vector< double > | ac_len |
std::vector< bool > | terminals |
Protected Attributes | |
StateP | state_ |
Artificial ant example.
Definition at line 11 of file EvalOp.h.