Class UnivariatePointValuePair

  • All Implemented Interfaces:
    Serializable

    public class UnivariatePointValuePair
    extends Object
    implements Serializable
    This class holds a point and the value of an objective function at this point. This is a simple immutable container.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnivariatePointValuePair

        public UnivariatePointValuePair​(double point,
                                        double value)
        Build a point/objective function value pair.
        Parameters:
        point - Point.
        value - Value of an objective function at the point
    • Method Detail

      • getPoint

        public double getPoint()
        Get the point.
        Returns:
        the point.
      • getValue

        public double getValue()
        Get the value of the objective function.
        Returns:
        the stored value of the objective function.