18#ifndef itkExhaustiveOptimizerv4_h
19#define itkExhaustiveOptimizerv4_h
83template <
typename TInternalComputationValueType>
107 using typename Superclass::MeasureType;
110 using typename Superclass::ParametersType;
113 using typename Superclass::ScalesType;
130 itkSetMacro(StepLength,
double);
132 itkGetConstReferenceMacro(StepLength,
double);
153 return m_InitialPosition;
173 bool m_Stop{
false };
174 double m_StepLength{ 1.0 };
182 std::ostringstream m_StopConditionDescription{
"" };
186#ifndef ITK_MANUAL_INSTANTIATION
187# include "itkExhaustiveOptimizerv4.hxx"
Optimizer that fully samples a grid on the parametric space.
void SetInitialPosition(const ParametersType ¶m)
ParametersType & GetInitialPosition()
std::string GetStopConditionDescription() const override
void StartOptimization(bool doOnlyInitialization=false) override
~ExhaustiveOptimizerv4() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
void IncrementIndex(ParametersType &newPosition)
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Abstract base for object-to-object optimizers.
typename MetricType::MeasureType MeasureType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....