Class UnivariatePointValuePair
- java.lang.Object
-
- org.apache.commons.math3.optim.univariate.UnivariatePointValuePair
-
- All Implemented Interfaces:
java.io.Serializable
public class UnivariatePointValuePair extends java.lang.Object implements java.io.SerializableThis class holds a point and the value of an objective function at this point. This is a simple immutable container.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private doublepointPoint.private static longserialVersionUIDSerializable version identifier.private doublevalueValue of the objective function at the point.
-
Constructor Summary
Constructors Constructor Description UnivariatePointValuePair(double point, double value)Build a point/objective function value pair.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetPoint()Get the point.doublegetValue()Get the value of the objective function.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serializable version identifier.- See Also:
- Constant Field Values
-
point
private final double point
Point.
-
value
private final double value
Value of the objective function at the point.
-
-