Class DummyAgent


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

      Constructors 
      Constructor Description
      DummyAgent​(java.lang.String name)
      Creates a new dummy agent with the given name.
    • Method Summary

      Modifier and Type Method Description
      Executable next​(java.util.Collection<? extends Perceivable> percepts)
      Determines the next action of this agent wrt.
      java.lang.String toString()  
      • Methods inherited from class org.tweetyproject.agents.Agent

        getName
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DummyAgent

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

      • next

        public Executable next​(java.util.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 java.lang.String toString()
        Overrides:
        toString in class Agent