@Deprecated public class PointValuePair extends Pair<double[],Double> implements Serializable
PointVectorValuePair
,
MultivariateFunction
,
Serialized FormConstructor and Description |
---|
PointValuePair(double[] point,
double value)
Deprecated.
Builds a point/objective function value pair.
|
PointValuePair(double[] point,
double value,
boolean copyArray)
Deprecated.
Builds a point/objective function value pair.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getPoint()
Deprecated.
Gets the point.
|
double[] |
getPointRef()
Deprecated.
Gets a reference to the point.
|
public PointValuePair(double[] point, double value)
point
- Point coordinates. This instance will store
a copy of the array, not the array passed as argument.value
- Value of the objective function at the point.public PointValuePair(double[] point, double value, boolean copyArray)
point
- Point coordinates.value
- Value of the objective function at the point.copyArray
- if true
, the input array will be copied,
otherwise it will be referenced.public double[] getPoint()
public double[] getPointRef()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.