Inheritance: AIMA.Core.Agent.Impl.AbstractEnvironment
 public VacuumEnvironmentState(VacuumEnvironment.LocationState locAState,
         VacuumEnvironment.LocationState locBState)
 {
     this();
     state.put(VacuumEnvironment.LOCATION_A, locAState);
     state.put(VacuumEnvironment.LOCATION_B, locBState);
 }
Example #2
0
 public VacuumEnvPercept(String agentLocation,
         VacuumEnvironment.LocationState state)
 {
     setAttribute(ATTRIBUTE_AGENT_LOCATION, agentLocation);
     setAttribute(ATTRIBUTE_STATE, state);
 }
 public void setLocationState(String location,
         VacuumEnvironment.LocationState s)
 {
     state.put(location, s);
 }