18 #ifndef itkMultipleValuedNonLinearVnlOptimizer_h
19 #define itkMultipleValuedNonLinearVnlOptimizer_h
24 #include "ITKOptimizersExport.h"
70 SetUseCostFunctionGradient(
bool);
75 this->SetUseCostFunctionGradient(
true);
81 this->SetUseCostFunctionGradient(
false);
85 GetUseCostFunctionGradient()
const;
93 itkGetConstReferenceMacro(CachedValue, MeasureType);
94 itkGetConstReferenceMacro(CachedDerivative, DerivativeType);
95 itkGetConstReferenceMacro(CachedCurrentPosition, ParametersType);
103 PrintSelf(std::ostream & os,
Indent indent)
const override;
111 GetCostFunctionAdaptor()
const;
114 GetCostFunctionAdaptor();
119 GetNonConstCostFunctionAdaptor()
const;
133 bool m_UseGradient{};
138 mutable MeasureType m_CachedValue{};
139 mutable DerivativeType m_CachedDerivative{};