Class PolynomialLineSearch

  • java.lang.Object
    • samer.maths.opt.PolynomialLineSearch


  • public class PolynomialLineSearch
    extends java.lang.Object
    Line search from Numerical Recipes in C, pretty much as supplied. I removed the max step and slope checking and made it the responsibility of the calling code to check these. Also, this works with ONE-DIMENSIONAL functions: the stuff about vectors can be handled by a LineFunction object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void run(Condition termination)
      This assumes that the initial step has already been taken
      • Methods inherited from class java.lang.Object

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

      • PolynomialLineSearch

        public PolynomialLineSearch(State s)
    • Method Detail

      • run

        public void run(Condition termination)
        This assumes that the initial step has already been taken
        Parameters:
        alamin - minimum step size