Class LdoUtilityFunction

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<net.sf.tweety.arg.dung.ldo.syntax.LdoFormula,​Double>

    public class LdoUtilityFunction
    extends HashMap<net.sf.tweety.arg.dung.ldo.syntax.LdoFormula,​Double>
    A utility function that maps LDO formulas to utilities
    Author:
    Matthias Thimm
    See Also:
    Serialized Form
    • Constructor Detail

      • LdoUtilityFunction

        public LdoUtilityFunction()
        Creates a new utility function.
    • Method Detail

      • getExpectedUtility

        public Double getExpectedUtility​(LdoArgumentationLottery lottery)
        Returns the expected utility of the given lottery.
        Parameters:
        lottery - some lottery
        Returns:
        the expected utility of the given lottery.
      • getUtility

        public Double getUtility​(net.sf.tweety.arg.dung.syntax.DungTheory theory,
                                 net.sf.tweety.arg.dung.semantics.Semantics semantics)
        Gets the utility of the given theory wrt. the given semantics.
        Parameters:
        theory - some AAF
        semantics - some semantics
        Returns:
        the utility of the theory wrt. the given semantics.