class LineSearch an abstract class of 1-D line searches
| LineSearch ( ObjectiveFunction * f, Vector <double>* interval) a constructor with pointer to the objective function
| |||||
| LineSearch ( ObjectiveFunction * f) a constructor with a pointer to objective function | |||||
| gradient ( Model <double>& m) compute the gradient Vector for Model $m$ | |||||
| evaluate ( Model <double>& m) evaluate the objective function for Model $m$; | |||||
| gradient ( Model <long>& m) compute the gradient Vector for Model $m$ | |||||
| evaluate ( Model <long>& m) evaluate the objective function for Model $m$; | |||||
| allSearchIterations () number of iterations for all line searches. | |||||
| searchIterations () number of iterations in the current line search; | |||||
| currentValue () value of the objective function for the current Model | |||||
| objName () the class name of the objective function |
| iterMax maxinum number of iterations allowed; | |
| iterNum the number iterations so far | |
| iterHistory the history of number of iteration of iteration | |
| value the value at the minimum | |
| fp pointer to the objective function | |
| appendSearchNumber () |
This is the base class for one dimensional line search algorithms. Some optimization algorithms need to find the optimimal point on one searching directions. Classes derived from this class inherit features of LineSearch. This class cannot be used directly.LineSearch currently only takes Models either double or long integer. It is mostly because I tried to avoid using templates, due to the guliness of template features in G++. Hopefully, this could be changed soon.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling