Documentation of 'org.ddogleg.optimization.LineSearch' Java class
LineSearch
org.ddogleg.optimization

Interface LineSearch

    • Method Detail

      • setFunction

        void setFunction(CoupledDerivative function)
        Sets the function being optimized.
        Parameters:
        function - Line search function and derivative
      • init

        void init(double funcAtZero,
                  double derivAtZero,
                  double funcAtInit,
                  double stepInit,
                  double stepMin,
                  double stepMax)
        Initializes and resets the line search. In some implementations a reasonable minimum and maximum step bound is set here.
        Parameters:
        funcAtZero - Value of f(0)
        derivAtZero - Derivative of at f(0)
        funcAtInit - Value of f at initial value of step: f(step)
        stepInit - Initial step size
        stepMin - Minimum allowed step.
        stepMax - Maximum allowed step.
      • getStep

        double getStep()
        Returns the current approximate solution for the line search
        Returns:
        current solution
      • getFunction

        double getFunction()
        Function value at the current step

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.