aima.search.map
Class MapAgent
java.lang.Object
aima.basic.ObjectWithDynamicAttributes
aima.basic.Agent
aima.search.framework.SimpleProblemSolvingAgent
aima.search.map.MapAgent
public class MapAgent
- extends SimpleProblemSolvingAgent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapAgent
public MapAgent(MapEnvironment mapEnvironment,
Search search)
MapAgent
public MapAgent(MapEnvironment mapEnvironment,
Search search,
int maxGoalsToFormulate)
MapAgent
public MapAgent(MapEnvironment mapEnvironment,
Search search,
java.lang.String[] goalTests)
getHeuristicFunction
public HeuristicFunction getHeuristicFunction()
setHeuristicFunction
public void setHeuristicFunction(HeuristicFunction heuristicFunction)
updateState
protected java.lang.Object updateState(Percept p)
- Specified by:
updateState
in class SimpleProblemSolvingAgent
formulateGoal
protected java.lang.Object formulateGoal()
- Specified by:
formulateGoal
in class SimpleProblemSolvingAgent
formulateProblem
protected Problem formulateProblem(java.lang.Object goal)
- Specified by:
formulateProblem
in class SimpleProblemSolvingAgent
search
protected java.util.List<java.lang.String> search(Problem problem)
- Specified by:
search
in class SimpleProblemSolvingAgent
notifyViewOfMetrics
protected void notifyViewOfMetrics()
- Specified by:
notifyViewOfMetrics
in class SimpleProblemSolvingAgent