Class AbstractLotteryAgent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected net.sf.tweety.arg.dung.semantics.Semantics semantics
      The used semantics
      protected net.sf.tweety.arg.dung.syntax.DungTheory theory
      The theory of this agent.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractLotteryAgent​(String name, net.sf.tweety.arg.dung.syntax.DungTheory theory, net.sf.tweety.arg.dung.semantics.Semantics semantics)
      Creates a new lottery agent
    • Method Summary

      Modifier and Type Method Description
      net.sf.tweety.arg.dung.semantics.Semantics getSemantics()
      Returns the semantics.
      net.sf.tweety.arg.dung.syntax.DungTheory getTheory()
      Returns the theory of this agent.
      abstract double getUtility​(net.sf.tweety.arg.dung.syntax.DungTheory theory, net.sf.tweety.arg.dung.semantics.Semantics semantics)
      Returns the utility of the agent wrt.
      abstract ExecutableDungTheory next​(Collection<? extends net.sf.tweety.agents.Perceivable> percepts)  
      • Methods inherited from class net.sf.tweety.agents.Agent

        getName, toString
    • Field Detail

      • theory

        protected net.sf.tweety.arg.dung.syntax.DungTheory theory
        The theory of this agent.
      • semantics

        protected net.sf.tweety.arg.dung.semantics.Semantics semantics
        The used semantics
    • Constructor Detail

      • AbstractLotteryAgent

        public AbstractLotteryAgent​(String name,
                                    net.sf.tweety.arg.dung.syntax.DungTheory theory,
                                    net.sf.tweety.arg.dung.semantics.Semantics semantics)
        Creates a new lottery agent
        Parameters:
        name - the name of the agent
        theory - some theory
        semantics - the semantics underlying the theory
    • Method Detail

      • getTheory

        public net.sf.tweety.arg.dung.syntax.DungTheory getTheory()
        Returns the theory of this agent.
        Returns:
        the theory of this agent.
      • next

        public abstract ExecutableDungTheory next​(Collection<? extends net.sf.tweety.agents.Perceivable> percepts)
        Specified by:
        next in class net.sf.tweety.agents.Agent
      • getUtility

        public abstract double getUtility​(net.sf.tweety.arg.dung.syntax.DungTheory theory,
                                          net.sf.tweety.arg.dung.semantics.Semantics semantics)
        Returns the utility of the agent wrt. the given theory.
        Parameters:
        theory - some theory
        semantics - some semantics
        Returns:
        the utility of this agent wrt. the given theory.
      • getSemantics

        public net.sf.tweety.arg.dung.semantics.Semantics getSemantics()
        Returns the semantics.
        Returns:
        the semantics.