|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.awh2101.OnlineDFSAgentProgram
public class OnlineDFSAgentProgram
An implementation of Online-DFS-Agent for the Roomba environment.
Constructor Summary | |
---|---|
OnlineDFSAgentProgram()
|
Method Summary | |
---|---|
java.lang.String |
getAuthor()
Should return the UNI of the author of the program. |
java.lang.String |
getDescription()
Should return a short description of the program, used to distinguish different agent programs by the same author. |
RobotAction |
nextAction(java.util.Set<RobotPercept> thePercepts)
The essence of agent AI: Given a set of percepts, chooses an action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnlineDFSAgentProgram()
Method Detail |
---|
public RobotAction nextAction(java.util.Set<RobotPercept> thePercepts)
nextAction
in interface AgentProgram<RobotAction,RobotPercept>
thePercepts
- set of percepts from the environment
public java.lang.String getAuthor()
getAuthor
in interface AgentProgram<RobotAction,RobotPercept>
public java.lang.String getDescription()
getDescription
in interface AgentProgram<RobotAction,RobotPercept>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |