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() ITK_OVERRIDE;
90 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
95 virtual
void GetValueAndDerivative(
ParametersType & p,
double *val,
106 FRPROptimizer(const FRPROptimizer &);
This class is a base for the CostFunctions returning a single value.
Light weight base class for most itk classes.
SingleValuedCostFunction CostFunctionType
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