18 #ifndef itkExhaustiveOptimizerv4_h
19 #define itkExhaustiveOptimizerv4_h
77 template<
typename TInternalComputationValueType>
108 void StartOptimization(
bool doOnlyInitialization =
false)
override;
114 void ResumeWalking();
119 itkSetMacro(StepLength,
double);
121 itkGetConstReferenceMacro(StepLength,
double);
122 itkGetConstReferenceMacro(NumberOfSteps,
StepsType);
123 itkGetConstReferenceMacro(CurrentValue,
MeasureType);
124 itkGetConstReferenceMacro(MaximumMetricValue,
MeasureType);
125 itkGetConstReferenceMacro(MinimumMetricValue,
MeasureType);
126 itkGetConstReferenceMacro(MinimumMetricValuePosition,
ParametersType);
127 itkGetConstReferenceMacro(MaximumMetricValuePosition,
ParametersType);
131 const std::string GetStopConditionDescription()
const override;
139 return m_InitialPosition;
145 void PrintSelf(std::ostream & os,
Indent indent)
const override;
148 void AdvanceOneStep();
150 void IncrementIndex(ParametersType & param);
157 double m_StepLength{1.0};
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "itkExhaustiveOptimizerv4.hxx"
MeasureType m_MaximumMetricValue
Light weight base class for most itk classes.
ParametersType m_CurrentIndex
MeasureType m_CurrentValue
ParametersType m_MaximumMetricValuePosition
std::ostringstream m_StopConditionDescription
typename Superclass::MeasureType MeasureType
typename MetricType::MeasureType MeasureType
ParametersType & GetInitialPosition()
typename Superclass::ParametersType ParametersType
MeasureType m_MinimumMetricValue
typename Superclass::ScalesType ScalesType
StepsType m_NumberOfSteps
Optimizer that fully samples a grid on the parametric space.
Control indentation during Print() invocation.
ParametersType m_InitialPosition
Abstract base for object-to-object optimizers.
ParametersType m_MinimumMetricValuePosition