18 #ifndef itkExhaustiveOptimizerv4_h
19 #define itkExhaustiveOptimizerv4_h
83 template <
typename TInternalComputationValueType>
107 using typename Superclass::MeasureType;
110 using typename Superclass::ParametersType;
113 using typename Superclass::ScalesType;
116 StartOptimization(
bool doOnlyInitialization =
false)
override;
130 itkSetMacro(StepLength,
double);
132 itkGetConstReferenceMacro(StepLength,
double);
133 itkGetConstReferenceMacro(NumberOfSteps,
StepsType);
134 itkGetConstReferenceMacro(CurrentValue,
MeasureType);
135 itkGetConstReferenceMacro(MaximumMetricValue,
MeasureType);
136 itkGetConstReferenceMacro(MinimumMetricValue,
MeasureType);
137 itkGetConstReferenceMacro(MinimumMetricValuePosition,
ParametersType);
138 itkGetConstReferenceMacro(MaximumMetricValuePosition,
ParametersType);
143 GetStopConditionDescription()
const override;
153 return m_InitialPosition;
160 PrintSelf(std::ostream & os,
Indent indent)
const override;
167 IncrementIndex(ParametersType & newPosition);
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"