Class BackTrackLineSearch

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double optimize​(double[] line, double initialStep)
      Returns the last step size used.
      void setAbsTolx​(double tolx)
      Sets the tolerance of absolute diff in function value.
      void setRelTolx​(double tolx)
      Sets the tolerance of relative diff in function value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setRelTolx

        public void setRelTolx​(double tolx)
        Sets the tolerance of relative diff in function value. Line search converges if abs(delta x / x) < tolx for all coordinates.
      • setAbsTolx

        public void setAbsTolx​(double tolx)
        Sets the tolerance of absolute diff in function value. Line search converges if abs(delta x) < tolx for all coordinates.