public class IndicatorUtilityFunction extends java.lang.Object implements UtilityFunction
| Modifier and Type | Field and Description |
|---|---|
private Proposition |
focalElement
The focal element of this function.
|
| Constructor and Description |
|---|
IndicatorUtilityFunction(Proposition focalElement)
Creates a new indicator utility function for the given focal element.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
int |
rank(java.util.Collection<? extends Proposition> propositions)
Rank the given collection of propositions.
|
private Proposition focalElement
public IndicatorUtilityFunction(Proposition focalElement)
focalElement - a proposition.public int rank(java.util.Collection<? extends Proposition> propositions)
UtilityFunctionrank in interface UtilityFunctionpropositions - a collection of propositions.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object