18#ifndef itkMultipleValuedNonLinearVnlOptimizer_h
19#define itkMultipleValuedNonLinearVnlOptimizer_h
24#include "ITKOptimizersExport.h"
75 this->SetUseCostFunctionGradient(
true);
81 this->SetUseCostFunctionGradient(
false);
133 bool m_UseGradient{};
Array2D class representing a 2D array.
Abstraction of the Events used to communicating among filters and with GUIs.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
This class is a base for the CostFunctions returning a multiple values.
This class is a base for the Optimization methods that optimize a multiple valued function.
This class is a base for the Optimization methods that optimize a multi-valued function.
bool GetUseCostFunctionGradient() const
const CostFunctionAdaptorType * GetCostFunctionAdaptor() const
void PrintSelf(std::ostream &os, Indent indent) const override
MultipleValuedNonLinearVnlOptimizer()
void UseCostFunctionGradientOff()
void SetCostFunction(MultipleValuedCostFunction *costFunction) override=0
std::unique_ptr< CostFunctionAdaptorType > m_CostFunctionAdaptor
void IterationReport(const EventObject &event)
void SetUseCostFunctionGradient(bool)
void UseCostFunctionGradientOn()
CostFunctionAdaptorType * GetCostFunctionAdaptor()
CostFunctionAdaptorType * GetNonConstCostFunctionAdaptor() const
~MultipleValuedNonLinearVnlOptimizer() override
void SetCostFunctionAdaptor(CostFunctionAdaptorType *adaptor)
This class is an Adaptor that allows to pass itk::MultipleValuedCostFunctions to vnl_optimizers expec...
A Command subclass that calls a pointer to a member function.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....