Class RankingFunction<T>

java.lang.Object
java.util.AbstractMap<T,Integer>
java.util.HashMap<T,Integer>
org.tweetyproject.preferences.ranking.Functions<T>
org.tweetyproject.preferences.ranking.RankingFunction<T>
Type Parameters:
T - generic preference order type
All Implemented Interfaces:
Serializable, Cloneable, Map<T,Integer>

public class RankingFunction<T> extends Functions<T>
This class is meant to provide ranking functions to given preference orders and vice versa. To be implemented. A ranking function characterizes a preference order uniquely as: 1.: rank: O -> N+ where O is the set of elements in the preference order. 2.: the sum of all ranks for each element in O is minimal TODO exception handling for invalid preference orders (total preorder)
Author:
Bastian Wolf
See Also: