Class DummyAgent

java.lang.Object
org.tweetyproject.agents.Agent
org.tweetyproject.agents.DummyAgent

public class DummyAgent extends Agent
A dummy agent is an agent that cannot act.
Author:
Matthias Thimm
  • Constructor Details

    • DummyAgent

      public DummyAgent(String name)
      Creates a new dummy agent with the given name.
      Parameters:
      name - some name.
  • Method Details

    • next

      public Executable next(Collection<? extends Perceivable> percepts)
      Description copied from class: Agent
      Determines the next action of this agent wrt. the given percepts.
      Specified by:
      next in class Agent
      Parameters:
      percepts - a collection of percepts.
      Returns:
      an action.
    • toString

      public String toString()
      Overrides:
      toString in class Agent