Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Agent> |
Environment.agents
The set of agents in the environment.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Environment.addAgent(Agent agent)
Add a new agent to the environment.
|
abstract State |
Action.execute(Agent a,
State s)
Return the State of the environment that results after Agent a
executes the Action in State s.
|
protected abstract Percept |
Environment.getPercept(Agent a)
Create a percept for an agent.
|
abstract int |
Environment.getPerformanceMeasure(Agent a)
Return the performance measure of a particular agent in the current
environment.
|
protected void |
Environment.updateState(Agent a,
Action action)
Execute an agent's action and update the environment's state.
|
Constructor and Description |
---|
Percept(State s,
Agent a)
Construct a percept for a state from the point of view of a
particular agent.
|