ECF 1.5
|
Public Member Functions | |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
void | registerParameters (StateP) |
Register evaluator parameters. Called before EvaluateOp::initialize method. More... | |
bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. More... | |
void | write (std::string &output) |
void | ReadTerminals (TreeP) |
void | ReadTerminals (StateP) |
void | DefineNodeNames (void) |
void | ReadConstraints (Matrica &Constraints, int set, int jobs, Matrica &Precedence) |
void | MakeSetup (Matrica &Duration, int set, int jobs, double faktor, Matrica &Setup) |
double | NodeLevel (int set, int node) |
void | ReadIndividual (IndividualP individual) |
void | CalcTimedTerminals (uint &nNiz, uint &nPoslova, uint &nJob, double &dClock, uint nMachine=0, uint nMachines=1) |
void | EvaluateSingle (double &dRawFitness) |
void | EvaluateUniform (double &dRawFitness) |
void | EvaluateUnrelated (double &dRawFitness) |
void | EvaluateUnrelatedPermutation (IndividualP individual, double &dRawFitness) |
void | EvaluateUnrelatedFP (FloatingPointP fp, double &dRawFitness) |
void | EvaluateJobShop (double &dRawFitness) |
int | Before (const void *arg1, const void *arg2) |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. More... | |
void | registerParameters (StateP) |
Register evaluator parameters. Called before EvaluateOp::initialize method. 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 | |
StateP | state_ |
unsigned int | edited |
unsigned int | total |
unsigned int | nItems |
RPN | Evaluator |
std::string | in_file |
Protected Member Functions | |
void | ReadConstraints (Matrica &Constraints, int set, int jobs, Matrica &Precedence) |
void | MakeSetup (Matrica &Duration, int set, int jobs, double faktor, Matrica &Setup) |
double | NodeLevel (int set, int node) |
double | EvaluateSingle (TreeP) |
Definition at line 12 of file fitnes.hpp.
|
protected |
Definition at line 48 of file fitnes.hpp.
|
protected |
Definition at line 16 of file SchedulingEvalOp.h.
SchedulingEvalOp::SchedulingEvalOp | ( | ) |
Definition at line 50 of file fitnes.cpp.
SchedulingEvalOp::~SchedulingEvalOp | ( | ) |
Definition at line 127 of file fitnes.cpp.
void SchedulingEvalOp::CalcTimedTerminals | ( | uint & | nNiz, |
uint & | nPoslova, | ||
uint & | nJob, | ||
double & | dClock, | ||
uint | nMachine = 0 , |
||
uint | nMachines = 1 |
||
) |
Definition at line 815 of file fitnes.cpp.
void SchedulingEvalOp::DefineNodeNames | ( | void | ) |
Definition at line 466 of file fitnes.cpp.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
Definition at line 571 of file fitnes.cpp.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
void SchedulingEvalOp::EvaluateJobShop | ( | double & | dRawFitness | ) |
Definition at line 2170 of file fitnes.cpp.
void SchedulingEvalOp::EvaluateSingle | ( | double & | dRawFitness | ) |
Definition at line 860 of file fitnes.cpp.
|
protected |
Definition at line 485 of file SchedulingEvalOp.cpp.
void SchedulingEvalOp::EvaluateUniform | ( | double & | dRawFitness | ) |
Definition at line 1126 of file fitnes.cpp.
void SchedulingEvalOp::EvaluateUnrelated | ( | double & | dRawFitness | ) |
Definition at line 1363 of file fitnes.cpp.
void SchedulingEvalOp::EvaluateUnrelatedFP | ( | FloatingPointP | fp, |
double & | dRawFitness | ||
) |
Definition at line 2004 of file fitnes.cpp.
void SchedulingEvalOp::EvaluateUnrelatedPermutation | ( | IndividualP | individual, |
double & | dRawFitness | ||
) |
Definition at line 1758 of file fitnes.cpp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
Definition at line 165 of file fitnes.cpp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
void SchedulingEvalOp::MakeSetup | ( | Matrica & | Duration, |
int | set, | ||
int | jobs, | ||
double | faktor, | ||
Matrica & | Setup | ||
) |
Definition at line 715 of file fitnes.cpp.
double SchedulingEvalOp::NodeLevel | ( | int | set, |
int | node | ||
) |
Definition at line 794 of file fitnes.cpp.
void SchedulingEvalOp::ReadConstraints | ( | Matrica & | Constraints, |
int | set, | ||
int | jobs, | ||
Matrica & | Precedence | ||
) |
Definition at line 685 of file fitnes.cpp.
void SchedulingEvalOp::ReadIndividual | ( | IndividualP | individual | ) |
Definition at line 751 of file fitnes.cpp.
void SchedulingEvalOp::ReadTerminals | ( | StateP | state | ) |
Definition at line 499 of file fitnes.cpp.
void SchedulingEvalOp::ReadTerminals | ( | TreeP | tree | ) |
Definition at line 474 of file fitnes.cpp.
|
virtual |
Register evaluator parameters. Called before EvaluateOp::initialize method.
Reimplemented from EvaluateOp.
Definition at line 154 of file fitnes.cpp.
|
virtual |
Register evaluator parameters. Called before EvaluateOp::initialize method.
Reimplemented from EvaluateOp.
void SchedulingEvalOp::write | ( | std::string & | output | ) |
Definition at line 679 of file fitnes.cpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 91 of file fitnes.hpp.
unsigned int SchedulingEvalOp::edited |
Definition at line 23 of file fitnes.hpp.
RPN SchedulingEvalOp::Evaluator |
Definition at line 24 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
std::string SchedulingEvalOp::in_file |
Definition at line 44 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 59 of file fitnes.hpp.
|
protected |
Definition at line 64 of file fitnes.hpp.
|
protected |
Definition at line 78 of file fitnes.hpp.
|
protected |
Definition at line 77 of file fitnes.hpp.
|
protected |
Definition at line 72 of file fitnes.hpp.
|
protected |
Definition at line 65 of file fitnes.hpp.
|
protected |
Definition at line 70 of file fitnes.hpp.
|
protected |
Definition at line 56 of file fitnes.hpp.
|
protected |
Definition at line 57 of file fitnes.hpp.
|
protected |
Definition at line 82 of file fitnes.hpp.
|
protected |
Definition at line 61 of file fitnes.hpp.
|
protected |
Definition at line 73 of file fitnes.hpp.
|
protected |
Definition at line 74 of file fitnes.hpp.
|
protected |
Definition at line 69 of file fitnes.hpp.
|
protected |
Definition at line 67 of file fitnes.hpp.
|
protected |
Definition at line 58 of file fitnes.hpp.
|
protected |
Definition at line 80 of file fitnes.hpp.
|
protected |
Definition at line 75 of file fitnes.hpp.
|
protected |
Definition at line 76 of file fitnes.hpp.
|
protected |
Definition at line 66 of file fitnes.hpp.
|
protected |
Definition at line 79 of file fitnes.hpp.
|
protected |
Definition at line 60 of file fitnes.hpp.
|
protected |
Definition at line 71 of file fitnes.hpp.
|
protected |
Definition at line 62 of file fitnes.hpp.
|
protected |
Definition at line 63 of file fitnes.hpp.
|
protected |
Definition at line 91 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 55 of file fitnes.hpp.
|
protected |
Definition at line 55 of file fitnes.hpp.
|
protected |
Definition at line 55 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
unsigned int SchedulingEvalOp::nItems |
Definition at line 23 of file fitnes.hpp.
|
protected |
Definition at line 84 of file fitnes.hpp.
|
protected |
Definition at line 84 of file fitnes.hpp.
|
protected |
Definition at line 87 of file fitnes.hpp.
|
protected |
Definition at line 85 of file fitnes.hpp.
|
protected |
Definition at line 87 of file fitnes.hpp.
|
protected |
Definition at line 84 of file fitnes.hpp.
|
protected |
Definition at line 87 of file fitnes.hpp.
|
protected |
Definition at line 86 of file fitnes.hpp.
|
protected |
Definition at line 86 of file fitnes.hpp.
|
protected |
Definition at line 85 of file fitnes.hpp.
|
protected |
Definition at line 87 of file fitnes.hpp.
|
protected |
Definition at line 88 of file fitnes.hpp.
|
protected |
Definition at line 87 of file fitnes.hpp.
|
protected |
Definition at line 83 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 81 of file fitnes.hpp.
|
protected |
Definition at line 84 of file fitnes.hpp.
|
protected |
Definition at line 84 of file fitnes.hpp.
|
protected |
Definition at line 84 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 85 of file fitnes.hpp.
|
protected |
Definition at line 85 of file fitnes.hpp.
|
protected |
Definition at line 85 of file fitnes.hpp.
|
protected |
Definition at line 87 of file fitnes.hpp.
|
protected |
Definition at line 84 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 55 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 91 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
StateP SchedulingEvalOp::state_ |
Definition at line 21 of file fitnes.hpp.
|
protected |
Definition at line 90 of file fitnes.hpp.
unsigned int SchedulingEvalOp::total |
Definition at line 23 of file fitnes.hpp.
|
protected |
Definition at line 55 of file fitnes.hpp.
|
protected |
Definition at line 91 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.
|
protected |
Definition at line 89 of file fitnes.hpp.