18#ifndef itkFRPROptimizer_h
19#define itkFRPROptimizer_h
22#include "ITKOptimizersExport.h"
43extern ITKOptimizers_EXPORT std::ostream &
93 itkSetMacro(UseUnitLengthGradient,
bool);
94 itkGetConstMacro(UseUnitLengthGradient,
bool);
95 itkBooleanMacro(UseUnitLengthGradient);
131#if !defined(ITK_LEGACY_REMOVE)
133 static constexpr OptimizationEnum FletchReeves = OptimizationEnum::FletchReeves;
134 static constexpr OptimizationEnum PolakRibiere = OptimizationEnum::PolakRibiere;
139 bool m_UseUnitLengthGradient{};
Contains enum classes used by FRPROptimizer class.
Implements Fletch-Reeves & Polak-Ribiere optimization using dBrent line search.
virtual void GetValueAndDerivative(ParametersType &p, double *val, ParametersType *xi)
~FRPROptimizer() override
void StartOptimization() override
virtual void LineOptimize(ParametersType *p, ParametersType &xi, double *val)
virtual void LineOptimize(ParametersType *p, ParametersType &xi, double *val, ParametersType &tempCoord)
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Implements Powell optimization using Brent line search.
This class is a base for the CostFunctions returning a single value.
Superclass::ParametersType ParametersType
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ITKCommon_EXPORT std::ostream & operator<<(std::ostream &out, typename AnatomicalOrientation::CoordinateEnum value)