Class UtilityBasedLotteryAgent

    • Constructor Detail

      • UtilityBasedLotteryAgent

        public UtilityBasedLotteryAgent​(String name,
                                        net.sf.tweety.arg.dung.syntax.DungTheory theory,
                                        net.sf.tweety.arg.prob.lotteries.UtilityFunction util,
                                        net.sf.tweety.arg.dung.semantics.Semantics semantics)
    • Method Detail

      • getUtility

        public double getUtility​(net.sf.tweety.arg.dung.syntax.DungTheory theory,
                                 net.sf.tweety.arg.dung.semantics.Semantics semantics)
        Description copied from class: AbstractLotteryAgent
        Returns the utility of the agent wrt. the given theory.
        Specified by:
        getUtility in class AbstractLotteryAgent
        Parameters:
        theory - some theory
        semantics - some semantics
        Returns:
        the utility of this agent wrt. the given theory.