StupidLineSearch Type

This function increments x by direction*step as long as the function gets smaller. If it gets bigger, step is multiplied by -0.5. The method ends if two successive function evaluations give the same result.

Constructors

Constructor Description

StupidLineSearch(cost)

Full Usage: StupidLineSearch(cost)

Parameters:

cost : ICostFunction

Instance members

Instance member Description

this.Search

Full Usage: this.Search

Parameters:
Returns: DoubleVector
Modifiers: abstract

x : DoubleVector
direction : DoubleVector
step : float
Returns: DoubleVector