18 #ifndef itkSingleValuedNonLinearVnlOptimizer_h
19 #define itkSingleValuedNonLinearVnlOptimizer_h
24 #include "ITKOptimizersExport.h"
51 SingleValueNonLinearOptimizer);
72 itkGetConstReferenceMacro(Maximize,
bool);
73 itkSetMacro(Maximize,
bool);
74 itkBooleanMacro(Maximize);
76 {
return !m_Maximize; }
78 { this->SetMaximize(!v); }
80 { this->MaximizeOff(); }
82 { this->MaximizeOn(); }
90 itkGetConstReferenceMacro(CachedValue, MeasureType);
91 itkGetConstReferenceMacro(CachedDerivative, DerivativeType);
92 itkGetConstReferenceMacro(CachedCurrentPosition, ParametersType);
112 void PrintSelf(std::ostream & os,
Indent indent)
const override;
Array class with size defined at construction time.
This class is a base for the CostFunctions returning a single value.
Light weight base class for most itk classes.
CostFunctionAdaptorType * m_CostFunctionAdaptor
CommandType::Pointer m_Command
This class is a base for the Optimization methods that optimize a single valued function.
This class is an Adaptor that allows to pass itk::SingleValuedCostFunctions to vnl_optimizers expecti...
This class is a base for the Optimization methods that optimize a single valued function.
DerivativeType m_CachedDerivative
A Command subclass that calls a pointer to a member function.
Abstraction of the Events used to communicating among filters and with GUIs.
CostFunctionType::MeasureType MeasureType
Control indentation during Print() invocation.
MeasureType m_CachedValue
ParametersType m_CachedCurrentPosition