public class UtilityFunction extends java.util.HashMap<Division,java.lang.Double>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
For serialization.
|
Constructor and Description |
---|
UtilityFunction()
Creates a new utility function.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getExpectedUtility(ArgumentationLottery lottery)
Returns the expected utility of the given lottery.
|
java.lang.Double |
getUtility(DungTheory theory,
Semantics semantics)
Gets the utility of the given theory wrt.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
private static final long serialVersionUID
public java.lang.Double getExpectedUtility(ArgumentationLottery lottery)
lottery
- some lotterypublic java.lang.Double getUtility(DungTheory theory, Semantics semantics)
theory
- some AAFsemantics
- some semantics