aima.search.map
Class Scenario

java.lang.Object
  extended by 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.


Constructor Summary
Scenario(MapEnvironment env, Map agentMap, java.lang.String agentLoc)
          Creates a scenario.
 
Method Summary
 Map getAgentMap()
           
 MapEnvironment getEnv()
           
 Map getEnvMap()
           
 java.lang.String getInitAgentLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 environment
agentLoc - initial location of the agent
Method Detail

getEnv

public MapEnvironment getEnv()

getEnvMap

public Map getEnvMap()

getAgentMap

public Map getAgentMap()

getInitAgentLocation

public java.lang.String getInitAgentLocation()