53 using Superclass::ParametersType;
54 using Superclass::DerivativeType;
55 using Superclass::CostFunctionType;
57 using Superclass::MeasureType;
66 const DerivativeType &,
67 const ParametersType &);
92 itkGetConstMacro(CurrentIteration,
unsigned long);
93 itkGetConstMacro(CurrentValue, MeasureType);
94 itkGetConstReferenceMacro(CurrentGradient, DerivativeType);
95 itkGetConstMacro(InLineSearch,
bool);
97 itkGetConstMacro(CurrentStepLength,
double);
132 itkGetConstMacro(MaxNrOfItWithoutImprovement,
unsigned long);
145 PrintSelf(std::ostream & os, Indent indent) const override;
160 itkSetMacro(InLineSearch,
bool);
195 const DerivativeType & gradient,
196 ParametersType & searchDir);
203 LineSearch(
const ParametersType searchDir,
double & step, ParametersType & x, MeasureType & f, DerivativeType & g);
215 const DerivativeType & gradient,
216 const ParametersType & previousSearchDir);
223 const DerivativeType & gradient,
224 const ParametersType & previousSearchDir);
229 const DerivativeType & gradient,
230 const ParametersType & previousSearchDir);
235 const DerivativeType & gradient,
236 const ParametersType & previousSearchDir);
241 const DerivativeType & gradient,
242 const ParametersType & previousSearchDir);
247 const DerivativeType & gradient,
248 const ParametersType & previousSearchDir);
253 const DerivativeType & gradient,
254 const ParametersType & previousSearchDir);