agent
Class Percept

java.lang.Object
  extended byagent.Percept
Direct Known Subclasses:
VacPercept

public abstract class Percept
extends java.lang.Object

An abstract class for things an agent can perceive. Since an agent only receives one Percept per turn, the Percept may incorporate the results of multiple sensors. This class represents the set Per.


Constructor Summary
Percept(State s, Agent a)
          Construct a percept for a state from the point of view of a particular agent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Percept

public Percept(State s,
               Agent a)
Construct a percept for a state from the point of view of a particular agent. Every subclass of Percept should overide this default constructor. This desgin allows for greater modularity in the case that different agents have different kinds of percepts.