All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----aima.agents.Environment
The basic environment: the world in which agents and other things exist.
public abstract class Environment extends java.lang.Object { // Methods 5 public void execute(Agent, Action); public void p(Object); public float performanceMeasure(Agent); public Environment run(int); public String toString(); }
public void p(Object x)
public Environment run(int numSteps)
Run the environment for numSteps time steps.
public void execute(Agent agent, Action action)
Execute the action chosen by the agent. Normally, an Environment designer would override this method in the new Environment class, and call super if the action can't be handled.
public float performanceMeasure(Agent agent)
Measure how well the agent is doing.
public String toString()
- Overrides:
- toString in class Object
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4