18 #ifndef itkMultipleValuedNonLinearVnlOptimizer_h
19 #define itkMultipleValuedNonLinearVnlOptimizer_h
24 #include "ITKOptimizersExport.h"
49 MultipleValueNonLinearOptimizer);
66 void SetUseCostFunctionGradient(
bool);
70 this->SetUseCostFunctionGradient(
true);
75 this->SetUseCostFunctionGradient(
false);
78 bool GetUseCostFunctionGradient()
const;
86 itkGetConstReferenceMacro(CachedValue, MeasureType);
87 itkGetConstReferenceMacro(CachedDerivative, DerivativeType);
88 itkGetConstReferenceMacro(CachedCurrentPosition, ParametersType);
95 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
99 void SetCostFunctionAdaptor(CostFunctionAdaptorType *adaptor);
101 const CostFunctionAdaptorType * GetCostFunctionAdaptor() const;
103 CostFunctionAdaptorType * GetCostFunctionAdaptor();
107 CostFunctionAdaptorType * GetNonConstCostFunctionAdaptor() const;
121 CostFunctionAdaptorType *m_CostFunctionAdaptor;
Light weight base class for most itk classes.
This class is a base for the Optimization methods that optimize a multi-valued function.
Superclass::ParametersType ParametersType
This class is a base for the CostFunctions returning a multiple values.
void UseCostFunctionGradientOff()
Array2D class representing a 2D array with size defined at construction time.
SmartPointer< const Self > ConstPointer
This class is a base for the Optimization methods that optimize a multiple valued function...
A Command subclass that calls a pointer to a member function.
Abstraction of the Events used to communicating among filters and with GUIs.
MultipleValuedNonLinearOptimizer Superclass
void UseCostFunctionGradientOn()
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
This class is an Adaptor that allows to pass itk::MultipleValuedCostFunctions to vnl_optimizers expec...
MultipleValuedNonLinearVnlOptimizer Self