public interface Environment
Modifier and Type | Method and Description |
---|---|
java.util.Set<Perceivable> |
execute(java.util.Collection<? extends Executable> actions)
Executes the given actions simultaneously and returns
the resulting percepts.
|
java.util.Set<Perceivable> |
execute(Executable action)
Executes the given action and returns the
resulting percepts.
|
java.util.Set<Perceivable> |
getPercepts(Agent agent)
Retrieves the current percepts for the given agent.
|
boolean |
reset()
Resets the environment, i.e.
|
java.util.Set<Perceivable> execute(Executable action)
action
- an executablejava.util.Set<Perceivable> execute(java.util.Collection<? extends Executable> actions)
actions
- a collection of executables.java.util.Set<Perceivable> getPercepts(Agent agent)
agent
- an agent.boolean reset()