public class IntegerLeastSquareComparator extends Object implements Comparator<IntegerLeastSquareSolution>, Serializable
IntegerLeastSquareSolution
, Serialized Form
Constructor and Description |
---|
IntegerLeastSquareComparator()
简单构造函数。
|
Modifier and Type | Method and Description |
---|---|
int |
compare(IntegerLeastSquareSolution ilss1, IntegerLeastSquareSolution ilss2)
比较基于到浮点解的距离的平方。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(IntegerLeastSquareSolution ilss1, IntegerLeastSquareSolution ilss2)
compare
在接口 Comparator<IntegerLeastSquareSolution>
Copyright © 2002-2023 CS GROUP. All rights reserved.