edu.columbia.cs.coms4701.agent.environments.robot
Interface RobotAgent

All Superinterfaces:
Agent<RobotAction,RobotPercept>, EnvironmentObject, GridObject
All Known Implementing Classes:
RoombaAgent

public interface RobotAgent
extends Agent<RobotAction,RobotPercept>, GridObject

An Agent in the RoombaEnvironment. Basically an Agent that is a GridObject, and also has a count of cleaned-up squares.

Version:
0.1

User: aaron Date: Aug 25, 2006 Time: 9:15:12 AM

Author:
aaron@cs

Method Summary
 java.lang.Integer getCleanedDirtCount()
          Returns how many pieces of dirt this agent has picked up.
 void incrementCleanedDirtCount()
          Convenience method for incrementing the cleaned dirt count by 1.
 void setCleanedDirtCount(java.lang.Integer theCount)
          Sets the count of how many pieces of dirt this agent has picked up.
 
Methods inherited from interface edu.columbia.cs.coms4701.agent.Agent
getAgentProgram, getAuthor, getDescription, getPerformanceMeasure, nextAction, setAgentProgram, setPerformanceMeasure
 
Methods inherited from interface edu.columbia.cs.coms4701.agent.EnvironmentObject
addPropertyChangeListener, isAlive, removePropertyChangeListener, setAlive
 
Methods inherited from interface edu.columbia.cs.coms4701.agent.environments.grid.GridObject
getLocation, setLocation
 
Methods inherited from interface edu.columbia.cs.coms4701.agent.EnvironmentObject
addPropertyChangeListener, isAlive, removePropertyChangeListener, setAlive
 

Method Detail

getCleanedDirtCount

java.lang.Integer getCleanedDirtCount()
Returns how many pieces of dirt this agent has picked up.

Returns:
an integer between 0 and the area of the grid

setCleanedDirtCount

void setCleanedDirtCount(java.lang.Integer theCount)
Sets the count of how many pieces of dirt this agent has picked up.

Parameters:
theCount -

incrementCleanedDirtCount

void incrementCleanedDirtCount()
Convenience method for incrementing the cleaned dirt count by 1.