Package net.sf.tweety.arg.rankings.util
Class LexicographicIntTupleComparator
- java.lang.Object
-
- net.sf.tweety.arg.rankings.util.LexicographicIntTupleComparator
-
- All Implemented Interfaces:
java.util.Comparator<int[]>
public class LexicographicIntTupleComparator extends java.lang.Object implements java.util.Comparator<int[]>
Compares tuples of integers according to the lexicographic ordering as described in [Cayrol, Lagasquie-Schiex. Graduality in argumentation. 2005].- Author:
- Anna Gessler
-
-
Field Summary
Fields Modifier and Type Field Description static double
PRECISION
Precision for comparing values.
-
Constructor Summary
Constructors Constructor Description LexicographicIntTupleComparator()
-
Method Summary
Modifier and Type Method Description int
compare(int[] o1, int[] o2)
-
-
-
Field Detail
-
PRECISION
public static final double PRECISION
Precision for comparing values.- See Also:
- Constant Field Values
-
-