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 Summary
Constructors Constructor Description AbstractLotteryAgent(java.lang.String name, DungTheory theory, Semantics semantics)Creates a new lottery agent 
- 
Method Summary
Modifier and Type Method Description SemanticsgetSemantics()Returns the semantics.DungTheorygetTheory()Returns the theory of this agent.abstract doublegetUtility(DungTheory theory, Semantics semantics)Returns the utility of the agent wrt.abstract ExecutableDungTheorynext(java.util.Collection<? extends Perceivable> percepts)Determines the next action of this agent wrt. 
 - 
 
- 
- 
Constructor Detail
- 
AbstractLotteryAgent
public AbstractLotteryAgent(java.lang.String name, DungTheory theory, Semantics semantics)Creates a new lottery agent- Parameters:
 name- the name of the agenttheory- some theorysemantics- the semantics underlying the theory
 
 - 
 
- 
Method Detail
- 
getTheory
public DungTheory getTheory()
Returns the theory of this agent.- Returns:
 - the theory of this agent.
 
 
- 
next
public abstract ExecutableDungTheory next(java.util.Collection<? extends Perceivable> percepts)
Description copied from class:AgentDetermines the next action of this agent wrt. the given percepts. 
- 
getUtility
public abstract double getUtility(DungTheory theory, Semantics semantics)
Returns the utility of the agent wrt. the given theory.- Parameters:
 theory- some theorysemantics- some semantics- Returns:
 - the utility of this agent wrt. the given theory.
 
 
- 
getSemantics
public Semantics getSemantics()
Returns the semantics.- Returns:
 - the semantics.
 
 
 - 
 
 -