18 #ifndef itkFRPROptimizer_h 19 #define itkFRPROptimizer_h 22 #include "ITKOptimizersExport.h" 73 itkSetMacro(UseUnitLengthGradient,
bool);
74 itkGetConstMacro(UseUnitLengthGradient,
bool);
78 virtual void StartOptimization() ITK_OVERRIDE;
81 void SetToFletchReeves();
84 void SetToPolakRibiere();
88 virtual ~FRPROptimizer();
90 virtual
void PrintSelf(
std::ostream & os,
Indent indent) const ITK_OVERRIDE;
95 virtual
void GetValueAndDerivative(ParametersType & p,
double *val,
98 virtual
void LineOptimize(ParametersType *p, ParametersType & xi,
101 virtual
void LineOptimize(ParametersType *p, ParametersType & xi,
103 ParametersType & tempCoord);
106 FRPROptimizer(const FRPROptimizer &);
This class is a base for the CostFunctions returning a single value.
SingleValuedCostFunction CostFunctionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
SingleValuedNonLinearOptimizer::ParametersType ParametersType
bool m_UseUnitLengthGradient
Implements Powell optimization using Brent line search.
SmartPointer< const Self > ConstPointer
Implements Fletch-Reeves & Polak-Ribiere optimization using dBrent line search.
CostFunctionType::Pointer CostFunctionPointer
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
OptimizationType m_OptimizationType
PowellOptimizer Superclass