aima.search.map
Class Scenario
java.lang.Object
aima.search.map.Scenario
public class Scenario
- extends java.lang.Object
A scenario specifies an environment, the agent's knowledge about the
environment, and the agents initial location. It can be used to specify
settings for route planning agent applications.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Scenario
public Scenario(MapEnvironment env,
Map agentMap,
java.lang.String agentLoc)
- Creates a scenario.
- Parameters:
env
- a map-based environment. Note that the contained map must be
of type ExtendableMap
agentMap
- a map reflecting the knowledge of the agent about the
environmentagentLoc
- initial location of the agent
getEnv
public MapEnvironment getEnv()
getEnvMap
public Map getEnvMap()
getAgentMap
public Map getAgentMap()
getInitAgentLocation
public java.lang.String getInitAgentLocation()