Class UtilityBasedLotteryAgent
java.lang.Object
org.tweetyproject.agents.Agent
org.tweetyproject.agents.dialogues.lotteries.AbstractLotteryAgent
org.tweetyproject.agents.dialogues.lotteries.UtilityBasedLotteryAgent
-
Constructor Summary
ConstructorDescriptionUtilityBasedLotteryAgent
(String name, DungTheory theory, UtilityFunction util, Semantics semantics) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getUtility
(DungTheory theory, Semantics semantics) Returns the utility of the agent wrt.next
(Collection<? extends Perceivable> percepts) Determines the next action of this agent wrt.Methods inherited from class org.tweetyproject.agents.dialogues.lotteries.AbstractLotteryAgent
getSemantics, getTheory
-
Constructor Details
-
UtilityBasedLotteryAgent
public UtilityBasedLotteryAgent(String name, DungTheory theory, UtilityFunction util, Semantics semantics)
-
-
Method Details
-
next
Description copied from class:Agent
Determines the next action of this agent wrt. the given percepts.- Specified by:
next
in classAbstractLotteryAgent
- Parameters:
percepts
- a collection of percepts.- Returns:
- an action.
-
getUtility
Description copied from class:AbstractLotteryAgent
Returns the utility of the agent wrt. the given theory.- Specified by:
getUtility
in classAbstractLotteryAgent
- Parameters:
theory
- some theorysemantics
- some semantics- Returns:
- the utility of this agent wrt. the given theory.
-