public class IntegerLeastSquareSolution extends Object implements Comparable<IntegerLeastSquareSolution>
Constructor and Description |
---|
IntegerLeastSquareSolution(long[] solution,
double d2)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IntegerLeastSquareSolution other) |
long[] |
getSolution()
Get the solution array.
|
double |
getSquaredDistance()
Get the squared distance to the corresponding float solution.
|
public IntegerLeastSquareSolution(long[] solution, double d2)
solution
- solution arrayd2
- squared distance to the corresponding float solutionpublic long[] getSolution()
public double getSquaredDistance()
public int compareTo(IntegerLeastSquareSolution other)
compareTo
in interface Comparable<IntegerLeastSquareSolution>
Copyright © 2002-2019 CS Systèmes d'information. All rights reserved.