20 #ifndef MIRTK_AdaptiveLineSearch_H 21 #define MIRTK_AdaptiveLineSearch_H 23 #include "mirtk/InexactLineSearch.h" 44 mirtkPublicAttributeMacro(
double, StepLengthRise);
47 mirtkPublicAttributeMacro(
double, StepLengthDrop);
73 virtual bool Set(
const char *,
const char *);
92 #endif // MIRTK_AdaptiveLineSearch_H virtual ParameterList Parameter() const
Get parameters as key/value as string map.
virtual double Run()
Make optimal step along search direction.
Inexact line search with adaptive step length.
Array< Pair< string, string > > ParameterList
Ordered list of parameter name/value pairs.
virtual void Initialize()
Initialize optimization.
virtual ~AdaptiveLineSearch()
Destructor.
virtual ParameterList Parameter() const
Get parameters as key/value as string map.
AdaptiveLineSearch & operator=(const AdaptiveLineSearch &)
Assignment operator.
AdaptiveLineSearch(ObjectiveFunction *=NULL)
Constructor.
virtual bool Set(const char *, const char *)
Set parameter value from string.