|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RobotAction
Represents an action a robot can choose.
The robot move has the following constraints:
So implementing classes should provide no public constructor -- instead, a robot simply selects the appropriate static field.
Method Summary | |
---|---|
DiscreteVector |
getVector()
Returns the 2-D vector specifying the chosen motion. |
boolean |
shouldStop()
Indicates whether the robot wants to stop. |
Methods inherited from interface edu.columbia.cs.coms4701.agent.AgentAction |
---|
toString |
Method Detail |
---|
DiscreteVector getVector()
boolean shouldStop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |