|
Interior-point-optimisation
1.0-1
Interior-pointoptimisationlibrary
|
This class allows us to test suitable stopping conditions. More...
#include <NewtonDescent.hpp>

Public Member Functions | |
| Stopping (NewtonDescent const &newtonDescent) | |
| Constructor. More... | |
| bool | operator() (size_t const iteration, double const fValue, gsl::vector const &gradient, gsl::vector const &vector, gsl::vector const &lastVector) const |
| Test the stopping conditions. More... | |
Private Attributes | |
| NewtonDescent const & | newtonDescent |
This class allows us to test suitable stopping conditions.
In particular it tests three:
Definition at line 342 of file NewtonDescent.hpp.
| NewtonDescent::Stopping::Stopping | ( | NewtonDescent const & | newtonDescent | ) |
Constructor.
| newtonDescent | Designed to be constructed from *this |
Definition at line 235 of file NewtonDescent.cc.
| bool NewtonDescent::Stopping::operator() | ( | size_t const | iteration, |
| double const | fValue, | ||
| gsl::vector const & | gradient, | ||
| gsl::vector const & | vector, | ||
| gsl::vector const & | lastVector | ||
| ) | const |
Test the stopping conditions.
| iteration | The iteration number |
| fValue | The function value |
| gradient | The gradient |
| vector | The vector function was evaluated at |
| lastVector | The previous vector function was evaluated at (may evaluate to false) |
Definition at line 240 of file NewtonDescent.cc.
References ipo::detail::NewtonDescent::Parameters::getf_typ(), ipo::detail::NewtonDescent::Parameters::getGradTol(), ipo::detail::NewtonDescent::getParameters(), ipo::detail::NewtonDescent::Parameters::getx_typ(), ipo::detail::NewtonDescent::gradTol, ipo::detail::NewtonDescent::iterMax, and ipo::detail::NewtonDescent::stepTol.
|
private |
Definition at line 364 of file NewtonDescent.hpp.