Class UtilityBasedLotteryAgent

    • Method Detail

      • next

        public ExecutableDungTheory next​(java.util.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 AbstractLotteryAgent
        Parameters:
        percepts - a collection of percepts.
        Returns:
        an action.
      • getUtility

        public double getUtility​(DungTheory theory,
                                 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.