Class UnivariateOptimizer

    • Method Detail

      • getGoalType

        public GoalType getGoalType()
        Get optimization type.
        Returns:
        the optimization type
      • getStartValue

        public double getStartValue()
        Get initial guess.
        Returns:
        the initial guess
      • getMin

        public double getMin()
        Get lower bounds.
        Returns:
        the lower bounds
      • getMax

        public double getMax()
        Get upper bounds.
        Returns:
        the upper bounds
      • computeObjectiveValue

        protected double computeObjectiveValue​(double x)
        Computes the objective function value. This method must be called by subclasses to enforce the evaluation counter limit.
        Parameters:
        x - Point at which the objective function must be evaluated.
        Returns:
        the objective function value at the specified point.
        Throws:
        MathIllegalStateException - if the maximal number of evaluations is exceeded.