public class SimpleMapAgent extends SimpleProblemSolvingAgent
| Modifier and Type | Field and Description |
|---|---|
protected Map |
map |
protected DynamicState |
state |
program| Constructor and Description |
|---|
SimpleMapAgent(Map map,
EnvironmentViewNotifier notifier,
SearchForActions search) |
SimpleMapAgent(Map map,
EnvironmentViewNotifier notifier,
SearchForActions search,
int maxGoalsToFormulate) |
SimpleMapAgent(Map map,
EnvironmentViewNotifier notifier,
SearchForActions search,
java.lang.String[] goals) |
SimpleMapAgent(Map map,
SearchForActions search,
java.lang.String[] goals) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
formulateGoal() |
protected Problem |
formulateProblem(java.lang.Object goal) |
protected void |
notifyViewOfMetrics() |
protected java.util.List<Action> |
search(Problem problem) |
protected State |
updateState(Percept p) |
executeisAlive, setAliveprotected Map map
protected DynamicState state
public SimpleMapAgent(Map map, EnvironmentViewNotifier notifier, SearchForActions search)
public SimpleMapAgent(Map map, EnvironmentViewNotifier notifier, SearchForActions search, int maxGoalsToFormulate)
public SimpleMapAgent(Map map, EnvironmentViewNotifier notifier, SearchForActions search, java.lang.String[] goals)
public SimpleMapAgent(Map map, SearchForActions search, java.lang.String[] goals)
protected State updateState(Percept p)
updateState in class SimpleProblemSolvingAgentprotected java.lang.Object formulateGoal()
formulateGoal in class SimpleProblemSolvingAgentprotected Problem formulateProblem(java.lang.Object goal)
formulateProblem in class SimpleProblemSolvingAgentprotected java.util.List<Action> search(Problem problem)
search in class SimpleProblemSolvingAgentprotected void notifyViewOfMetrics()
notifyViewOfMetrics in class SimpleProblemSolvingAgent