Package samer.maths.opt
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 aLineFunction
object.
-
-
Constructor Summary
Constructors Constructor and Description PolynomialLineSearch(State s)
-
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
-