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