More Thuente. More...
#include <FgMoreThuenteLineSearch.h>


Public Member Functions | |
| MoreThuenteLineSearch () | |
| Default constructor. More... | |
| void | Linesearch (NonlinearObjectiveFunction< Scalar > &objFunc, Scalar &fx, af::array &x, af::array &grad, Scalar &step, const af::array &drt, const af::array &xp) override |
| Linesearches. More... | |
| ~MoreThuenteLineSearch () | |
| Destructor. More... | |
| virtual void | Linesearch (NonlinearObjectiveFunction< Scalar > &objFunc, Scalar &fx, af::array &x, af::array &grad, Scalar &step, const af::array &drt, const af::array &xp)=0 |
| Linesearches. More... | |
Private Member Functions | |
| int | cvsrch (NonlinearObjectiveFunction< Scalar > &objFunc, af::array &x, Scalar &f, af::array &g, Scalar &stp, const af::array &s) |
| int | cstep (Scalar &stx, Scalar &fx, Scalar &dx, Scalar &sty, Scalar &fy, Scalar &dy, Scalar &stp, Scalar &fp, Scalar &dp, bool &brackt, Scalar &stpmin, Scalar &stpmax, int &info) |
More Thuente.
This algorithm is taken from More' and Thuente, "Line search algorithmswith guaranteed sufficient decrease".
HmetalT, 10/06/2019.
Definition at line 42 of file FgMoreThuenteLineSearch.h.
|
inline |
|
inline |
|
overridevirtual |
Linesearches.
Hmetal T, 10/06/2019.
| x | The af::array to process. |
| searchDirection | The search direction. |
| prob | [in,out] The prob. |
| alpha0 | The alpha 0. |
Implements NeuralEngine::MachineLearning::ILineSearch< Scalar >.