Public Member Functions | Protected Attributes

AgentEvalOp Class Reference

Inheritance diagram for AgentEvalOp:
EvaluateOp

List of all members.

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_

Detailed Description

Definition at line 8 of file AgentEvalOp.h.


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