Class AbstractLotteryAgent

java.lang.Object
org.tweetyproject.agents.Agent
org.tweetyproject.agents.dialogues.lotteries.AbstractLotteryAgent
Direct Known Subclasses:
DummyLotteryAgent, ProbabilisticLotteryAgent, RandomLotteryAgent, UtilityBasedLotteryAgent

public abstract class AbstractLotteryAgent extends Agent
An agent in a game of argumentation lotteries.
Author:
Matthias Thimm
  • Constructor Details

    • AbstractLotteryAgent

      public AbstractLotteryAgent(String name, DungTheory theory, Semantics semantics)
      Creates a new lottery agent
      Parameters:
      name - the name of the agent
      theory - some theory
      semantics - the semantics underlying the theory
  • Method Details

    • getTheory

      public DungTheory getTheory()
      Returns the theory of this agent.
      Returns:
      the theory of this agent.
    • next

      public abstract ExecutableDungTheory 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.
    • getUtility

      public abstract double getUtility(DungTheory theory, Semantics semantics)
      Returns the utility of the agent wrt. the given theory.
      Parameters:
      theory - some theory
      semantics - some semantics
      Returns:
      the utility of this agent wrt. the given theory.
    • getSemantics

      public Semantics getSemantics()
      Returns the semantics.
      Returns:
      the semantics.