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

All Superinterfaces:
AgentAction
All Known Implementing Classes:
RoombaAction

public interface RobotAction
extends AgentAction

Represents an action a robot can choose.

The robot move has the following constraints:

So, rather than specifying a vector, the robot's move really comes down to a single choice between four options:
  1. North
  2. South
  3. East
  4. West

So implementing classes should provide no public constructor -- instead, a robot simply selects the appropriate static field.

Version:
0.1

User: aaron Date: Aug 25, 2006 Time: 12:31:44 PM

Author:
aaron@cs

Method Summary
 DiscreteVector getVector()
          Returns the 2-D vector specifying the chosen motion.
 
Methods inherited from interface edu.columbia.cs.coms4701.agent.AgentAction
toString
 

Method Detail

getVector

DiscreteVector getVector()
Returns the 2-D vector specifying the chosen motion.

Returns:
the vector (which should be 2D)