Class AbstractLotteryAgent
java.lang.Object
org.tweetyproject.agents.Agent
org.tweetyproject.agents.dialogues.lotteries.AbstractLotteryAgent
- Direct Known Subclasses:
DummyLotteryAgent
,ProbabilisticLotteryAgent
,RandomLotteryAgent
,UtilityBasedLotteryAgent
An agent in a game of argumentation lotteries.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionAbstractLotteryAgent
(String name, DungTheory theory, Semantics semantics) Creates a new lottery agent -
Method Summary
Modifier and TypeMethodDescriptionReturns the semantics.Returns the theory of this agent.abstract double
getUtility
(DungTheory theory, Semantics semantics) Returns the utility of the agent wrt.abstract ExecutableDungTheory
next
(Collection<? extends Perceivable> percepts) Determines the next action of this agent wrt.
-
Constructor Details
-
AbstractLotteryAgent
Creates a new lottery agent- Parameters:
name
- the name of the agenttheory
- some theorysemantics
- the semantics underlying the theory
-
-
Method Details
-
getTheory
-
next
Description copied from class:Agent
Determines the next action of this agent wrt. the given percepts. -
getUtility
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
-