aima.basic.vaccum
Class TrivialVaccumEnvironment
java.lang.Object
aima.basic.Environment
aima.basic.vaccum.TrivialVaccumEnvironment
public class TrivialVaccumEnvironment
- extends Environment
Methods inherited from class aima.basic.Environment |
addAgent, addObject, addObject, alreadyContains, alreadyContains, createExogenousChange, getAgents, getAllObjects, getObjects, isDone, registerView, step, step, stepUntilDone, updateViews |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrivialVaccumEnvironment
public TrivialVaccumEnvironment()
TrivialVaccumEnvironment
public TrivialVaccumEnvironment(java.lang.String loc1Status,
java.lang.String loc2Status)
executeAction
public void executeAction(Agent a,
java.lang.String agentAction)
- Specified by:
executeAction
in class Environment
getPerceptSeenBy
public Percept getPerceptSeenBy(Agent anAgent)
- Specified by:
getPerceptSeenBy
in class Environment
addAgent
public void addAgent(Agent a)
- Overrides:
addAgent
in class Environment
addAgent
public void addAgent(Agent a,
java.lang.String location)
getLocation1Status
public java.lang.String getLocation1Status()
getLocation2Status
public java.lang.String getLocation2Status()
getLocationStatus
public java.lang.String getLocationStatus(java.lang.String location)
getStatus
public java.util.Hashtable getStatus()
getAgentLocation
public java.lang.String getAgentLocation(Agent a)
getAgentperformance
public int getAgentperformance(Agent a)