Class IntegerLeastSquareComparator
- java.lang.Object
-
- org.orekit.estimation.measurements.gnss.IntegerLeastSquareComparator
-
- All Implemented Interfaces:
Serializable,Comparator<IntegerLeastSquareSolution>
public class IntegerLeastSquareComparator extends Object implements Comparator<IntegerLeastSquareSolution>, Serializable
Comparator forIntegerLeastSquareSolutioninstance.- Since:
- 11.0
- Author:
- Bryan Cazabonne
- See Also:
IntegerLeastSquareSolution, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegerLeastSquareComparator()Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(IntegerLeastSquareSolution ilss1, IntegerLeastSquareSolution ilss2)The comparison is based on the squared distance to the float solution.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(IntegerLeastSquareSolution ilss1, IntegerLeastSquareSolution ilss2)
The comparison is based on the squared distance to the float solution.- Specified by:
comparein interfaceComparator<IntegerLeastSquareSolution>
-
-