Interface Environment

All Known Implementing Classes:
ArgumentationEnvironment, DeductiveEnvironment, LotteryArgumentationEnvironment

public interface Environment
This interface models an environment for agents, i.e. an entity that reacts on actions with percepts.
Author:
Matthias Thimm
  • Method Details

    • execute

      Set<Perceivable> execute(Executable action)
      Executes the given action and returns the resulting percepts.
      Parameters:
      action - an executable
      Returns:
      a set of percepts.
    • execute

      Set<Perceivable> execute(Collection<? extends Executable> actions)
      Executes the given actions simultaneously and returns the resulting percepts.
      Parameters:
      actions - a collection of executables.
      Returns:
      a set of percepts.
    • getPercepts

      Set<Perceivable> getPercepts(Agent agent)
      Retrieves the current percepts for the given agent.
      Parameters:
      agent - an agent.
      Returns:
      a set of percepts perceivable for the given agent.
    • reset

      boolean reset()
      Resets the environment, i.e. brings it to its initialization state.
      Returns:
      "true" iff reset was successful.