public class IntegerLeastSquareComparator extends Object implements Comparator<IntegerLeastSquareSolution>, Serializable
IntegerLeastSquareSolution instance.IntegerLeastSquareSolution,
Serialized Form| Constructor and Description |
|---|
IntegerLeastSquareComparator()
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(IntegerLeastSquareSolution ilss1,
IntegerLeastSquareSolution ilss2)
The comparison is based on the squared
distance to the float solution.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic IntegerLeastSquareComparator()
public int compare(IntegerLeastSquareSolution ilss1, IntegerLeastSquareSolution ilss2)
compare in interface Comparator<IntegerLeastSquareSolution>Copyright © 2002-2021 CS GROUP. All rights reserved.