18 #ifndef itkSingleValuedNonLinearVnlOptimizer_h
19 #define itkSingleValuedNonLinearVnlOptimizer_h
24 #include "ITKOptimizersExport.h"
49 SingleValueNonLinearOptimizer);
70 itkGetConstReferenceMacro(Maximize,
bool);
71 itkSetMacro(Maximize,
bool);
72 itkBooleanMacro(Maximize);
74 {
return !m_Maximize; }
76 { this->SetMaximize(!v); }
78 { this->MaximizeOff(); }
80 { this->MaximizeOn(); }
88 itkGetConstReferenceMacro(CachedValue, MeasureType);
89 itkGetConstReferenceMacro(CachedDerivative, DerivativeType);
90 itkGetConstReferenceMacro(CachedCurrentPosition, ParametersType);
99 void SetCostFunctionAdaptor(CostFunctionAdaptorType *adaptor);
101 const CostFunctionAdaptorType * GetCostFunctionAdaptor() const;
103 CostFunctionAdaptorType * GetCostFunctionAdaptor();
107 CostFunctionAdaptorType * GetNonConstCostFunctionAdaptor() const;
110 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
118 CostFunctionAdaptorType *m_CostFunctionAdaptor;
Array class with size defined at construction time.
This class is a base for the CostFunctions returning a single value.
SingleValuedNonLinearOptimizer Superclass
This class is a base for the Optimization methods that optimize a single valued function.
SingleValuedNonLinearVnlOptimizer Self
This class is an Adaptor that allows to pass itk::SingleValuedCostFunctions to vnl_optimizers expecti...
ReceptorMemberCommand< Self > CommandType
CostFunctionType::MeasureType MeasureType
This class is a base for the Optimization methods that optimize a single valued function.
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
A Command subclass that calls a pointer to a member function.
Abstraction of the Events used to communicating among filters and with GUIs.
Control indentation during Print() invocation.