18 #ifndef itkExhaustiveOptimizer_h
19 #define itkExhaustiveOptimizer_h
23 #include "ITKOptimizersExport.h"
108 StartOptimization()
override;
121 itkSetMacro(StepLength,
double);
123 itkGetConstReferenceMacro(StepLength,
double);
124 itkGetConstReferenceMacro(NumberOfSteps,
StepsType);
125 itkGetConstReferenceMacro(CurrentValue, MeasureType);
126 itkGetConstReferenceMacro(MaximumMetricValue, MeasureType);
127 itkGetConstReferenceMacro(MinimumMetricValue, MeasureType);
128 itkGetConstReferenceMacro(MinimumMetricValuePosition, ParametersType);
129 itkGetConstReferenceMacro(MaximumMetricValuePosition, ParametersType);
130 itkGetConstReferenceMacro(CurrentIndex, ParametersType);
131 itkGetConstReferenceMacro(MaximumNumberOfIterations,
SizeValueType);
135 GetStopConditionDescription()
const override;
141 PrintSelf(std::ostream & os,
Indent indent)
const override;
148 IncrementIndex(ParametersType & newPosition);
151 MeasureType m_CurrentValue{ 0 };
157 bool m_Stop{
false };
159 unsigned int m_CurrentParameter{ 0 };
161 double m_StepLength{ 1.0 };
163 ParametersType m_CurrentIndex{};
171 ParametersType m_MinimumMetricValuePosition{};
173 ParametersType m_MaximumMetricValuePosition{};
176 std::ostringstream m_StopConditionDescription{};