edu.columbia.cs.coms4701.agent.environments.grid
Interface GridEnvironment<K extends AgentAction,P extends AgentPercept,A extends Agent<K,P>>

All Superinterfaces:
Environment<K,P,A>
All Known Implementing Classes:
AbstractGridEnvironment, PenteEnvironment, RoombaEnvironment

public interface GridEnvironment<K extends AgentAction,P extends AgentPercept,A extends Agent<K,P>>
extends Environment<K,P,A>

An environment in which (some) objects are located on a 2-dimensional grid.

The addEnvironmentObject method should be modified to update the grid as appropriate, and also to keep track of one GridMap object.

Version:
0.1

User: aaron Date: Aug 28, 2006 Time: 12:42:22 PM

Author:
aaron@cs

Method Summary
 GridMap getMap()
          Fetches the (first?) GridMap that was added to the environment.
 
Methods inherited from interface edu.columbia.cs.coms4701.agent.Environment
addAgent, addEnvironmentObject, addEnvironmentObserver, agentDrivenChange, dynamicChange, executeStep, getAgents, getCounter, getEnvironmentObjects, initialSetup, isDone, perceptsForAgent, run, startingToRunSetup
 

Method Detail

getMap

GridMap getMap()
Fetches the (first?) GridMap that was added to the environment.

Returns:
a GridMap, which should be the first added to the environment.