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);
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;
117 void operator=(const Self &) ITK_DELETE_FUNCTION;
119 CostFunctionAdaptorType *m_CostFunctionAdaptor;
123 CommandType::Pointer m_Command;
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
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
This class is an Adaptor that allows to pass itk::SingleValuedCostFunctions to vnl_optimizers expecti...
ReceptorMemberCommand< Self > CommandType
SingleValuedVnlCostFunctionAdaptor CostFunctionAdaptorType
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.