ECF 1.5
|
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... | |
MoveP | randomMove (IndividualP) |
bool | applyMove (IndividualP &, MoveP) |
PathP | initPathTo (IndividualP, IndividualP) |
int | getPathLength (PathP) |
MoveP | nextRandomMove (PathP) |
void | populateSolutionInstance (IndividualP, struct solution *) |
void | readSolutionInstance (IndividualP, struct solution *) |
Public Member Functions inherited from Problem | |
virtual MoveP | randomMove (IndividualP) |
virtual bool | applyMove (IndividualP &, MoveP) |
virtual PathP | initPathTo (IndividualP, IndividualP) |
virtual PathP | initPathAwayFrom (IndividualP) |
virtual int | getPathLength (PathP) |
virtual MoveP | nextRandomMove (PathP) |
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_ |
struct problem * | problemInstance |
struct solution * | solutionInstance |
struct solution * | solutionInstance2 |
struct move * | moveInstance |
struct pathState * | psInstance |
Definition at line 26 of file FlowshopEvalOp.h.
|
virtual |
Reimplemented from Problem.
Definition at line 73 of file FlowshopEvalOp.cpp.
|
virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
Definition at line 108 of file FlowshopEvalOp.cpp.
|
virtual |
Reimplemented from Problem.
Definition at line 93 of file FlowshopEvalOp.cpp.
|
virtual |
Initialize the evaluator. Called before first evaluation occurs.
Reimplemented from EvaluateOp.
Definition at line 11 of file FlowshopEvalOp.cpp.
|
virtual |
Reimplemented from Problem.
Definition at line 83 of file FlowshopEvalOp.cpp.
|
virtual |
Reimplemented from Problem.
Definition at line 100 of file FlowshopEvalOp.cpp.
void FlowshopEvalOp::populateSolutionInstance | ( | IndividualP | ind, |
struct solution * | s | ||
) |
Definition at line 42 of file FlowshopEvalOp.cpp.
|
virtual |
Reimplemented from Problem.
Definition at line 64 of file FlowshopEvalOp.cpp.
void FlowshopEvalOp::readSolutionInstance | ( | IndividualP | ind, |
struct solution * | s | ||
) |
Definition at line 53 of file FlowshopEvalOp.cpp.
|
virtual |
Register evaluator parameters. Called before EvaluateOp::initialize method.
Reimplemented from EvaluateOp.
Definition at line 5 of file FlowshopEvalOp.cpp.
struct move* FlowshopEvalOp::moveInstance |
Definition at line 46 of file FlowshopEvalOp.h.
struct problem* FlowshopEvalOp::problemInstance |
Definition at line 44 of file FlowshopEvalOp.h.
struct pathState* FlowshopEvalOp::psInstance |
Definition at line 47 of file FlowshopEvalOp.h.
struct solution* FlowshopEvalOp::solutionInstance |
Definition at line 45 of file FlowshopEvalOp.h.
struct solution * FlowshopEvalOp::solutionInstance2 |
Definition at line 45 of file FlowshopEvalOp.h.
StateP FlowshopEvalOp::state_ |
Definition at line 29 of file FlowshopEvalOp.h.