Top Description Fields Constructors Methods
org.apache.commons.math3.optimization.univariate

public Class UnivariatePointValuePair

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@Deprecated
Imports
java.io.Serializable

Deprecated

As of 3.1 (to be removed in 4.0).

This class holds a point and the value of an objective function at this point. This is a simple immutable container.
Since
3.0

Field Summary

Modifier and TypeField and Description
private final double
point

Point.

private static final long
serialVersionUID

Serializable version identifier.

private final double
value

Value of the objective function at the point.

Constructor Summary

AccessConstructor and Description
public
UnivariatePointValuePair(final double
Point.
point
,
final double
Value of an objective function at the point
value
)

Build a point/objective function value pair.

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the point.
getPoint
()

Get the point.

public double

Returns:

the stored value of the objective function.
getValue
()

Get the value of the objective function.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

pointback to summary
private final double point

Point.

serialVersionUIDback to summary
private static final long serialVersionUID

Serializable version identifier.

valueback to summary
private final double value

Value of the objective function at the point.

Constructor Detail

UnivariatePointValuePairback to summary
public UnivariatePointValuePair(final double point, final double value)

Build a point/objective function value pair.

Parameters
point:double

Point.

value:double

Value of an objective function at the point

Method Detail

getPointback to summary
public double getPoint()

Get the point.

Returns:double

the point.

getValueback to summary
public double getValue()

Get the value of the objective function.

Returns:double

the stored value of the objective function.