Public Member Functions | |
FitnessP | evaluate (IndividualP individual) |
Evaluate a single individual. Method must create and return a Fitness object. | |
bool | initialize (StateP) |
Initialize the evaluator. Called before first evaluation occurs. | |
void | turnLeft (void) |
void | turnRight (void) |
void | stepFoward (void) |
bool | checkLeftWall (void) |
bool | checkRightWall (void) |
bool | checkFrontWall (void) |
int | checkIfVisited (void) |
Protected Attributes | |
pair< int, int > | currentPosition |
pair< int, int > | posOffset |
set< pair< int, int > > | memory |
int | direction |
int | startingDirection |
int | moves |
int | steps |
bool | isOut |
StateP | state_ |
Definition at line 8 of file AgentEvalOp.h.