virtual void UpdateLocation(MapEnvironment *, xyLoc &l, bool, MapSimulationInfo *)
bool MakeMove(MapEnvironment *, OccupancyInterface< xyLoc, tDirection > *, MapSimulationInfo *, tDirection &dir)
make teleport move.
virtual bool MakeMove(environment *theEnv, OccupancyInterface< state, action > *, SimulationInfo< state, action, environment > *, action &a)
bool MakeMove(MapEnvironment *, OccupancyInterface< xyLoc, tDirection > *, MapSimulationInfo *, tDirection &dir)
Make a move.
bool MakeMove(MapEnvironment *, OccupancyInterface< xyLoc, tDirection > *, MapSimulationInfo *, tDirection &dir)
Make a random move.
virtual void UpdateLocation(environment *, state &newloc, bool success, SimulationInfo< state, action, environment > *)
void UpdateLocation(MapEnvironment *, xyLoc &, bool, MapSimulationInfo *)
Set location after last move.
const tDirection possibleDir[numActions]
bool fless(double a, double b)
long GetMapWidth() const
return the width of the map
long GetMapHeight() const
return the height of the map