public abstract class Environment
extends java.lang.Object
Constructor and Description |
---|
Environment()
Construct a new environment.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
addAgent(Agent agent)
Add a new agent to the environment.
|
abstract int |
getPerformanceMeasure(Agent a)
Return the performance measure of a particular agent in the current
environment.
|
abstract int |
getTeamPerformanceMeasure()
Return the performance measure of a team of agents in a
cooperative environment.
|
void |
start(State initState)
Run the simulation starting from a given state.
|
public Environment()
public abstract void addAgent(Agent agent)
public void start(State initState)
public abstract int getTeamPerformanceMeasure()
public abstract int getPerformanceMeasure(Agent a)