Documentation of 'org.apache.commons.math3.optimization.univariate.BaseAbstractUnivariateOptimizer' Java class
BaseAbstractUnivariateOptimizer
org.apache.commons.math3.optimization.univariate

Class BaseAbstractUnivariateOptimizer

    • Method Detail

      • getEvaluations

        public int getEvaluations()
        Deprecated. 
        Get the number of evaluations of the objective function. The number of evaluations corresponds to the last call to the optimize method. It is 0 if the method has not been called yet.
        Specified by:
        getEvaluations in interface BaseOptimizer<UnivariatePointValuePair>
        Returns:
        the number of evaluations of the objective function.
      • getGoalType

        public GoalType getGoalType()
        Deprecated. 
        Returns:
        the optimization type.
      • getMin

        public double getMin()
        Deprecated. 
        Returns:
        the lower end of the search interval.
      • getMax

        public double getMax()
        Deprecated. 
        Returns:
        the higher end of the search interval.
      • getStartValue

        public double getStartValue()
        Deprecated. 
        Returns:
        the initial guess.
      • optimize

        public UnivariatePointValuePair optimize(int maxEval,
                                                 UnivariateFunction f,
                                                 GoalType goalType,
                                                 double min,
                                                 double max,
                                                 double startValue)
        Deprecated. 
        Find an optimum in the given interval, start at startValue. An optimizer may require that the interval brackets a single optimum.
        Specified by:
        optimize in interface BaseUnivariateOptimizer<UnivariateFunction>
        Parameters:
        maxEval - Maximum number of function evaluations.
        f - Function to optimize.
        goalType - Type of optimization goal: either GoalType.MAXIMIZE or GoalType.MINIMIZE.
        min - Lower bound for the interval.
        max - Upper bound for the interval.
        startValue - Start value to use.
        Returns:
        a (point, value) pair where the function is optimum.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.