18 #ifndef itkExhaustiveOptimizer_h
19 #define itkExhaustiveOptimizer_h
23 #include "ITKOptimizersExport.h"
98 void StartOptimization()
override;
102 void ResumeWalking();
106 itkSetMacro(StepLength,
double);
108 itkGetConstReferenceMacro(StepLength,
double);
109 itkGetConstReferenceMacro(NumberOfSteps,
StepsType);
110 itkGetConstReferenceMacro(CurrentValue, MeasureType);
111 itkGetConstReferenceMacro(MaximumMetricValue, MeasureType);
112 itkGetConstReferenceMacro(MinimumMetricValue, MeasureType);
113 itkGetConstReferenceMacro(MinimumMetricValuePosition, ParametersType);
114 itkGetConstReferenceMacro(MaximumMetricValuePosition, ParametersType);
115 itkGetConstReferenceMacro(CurrentIndex, ParametersType);
116 itkGetConstReferenceMacro(MaximumNumberOfIterations,
SizeValueType);
119 const std::string GetStopConditionDescription()
const override;
124 void PrintSelf(std::ostream & os,
Indent indent)
const override;
127 void AdvanceOneStep();
129 void IncrementIndex(ParametersType & param);
Light weight base class for most itk classes.
unsigned long SizeValueType
SizeValueType m_MaximumNumberOfIterations
This class is a base for the Optimization methods that optimize a single valued function.
SizeValueType m_CurrentIteration
StepsType m_NumberOfSteps
MeasureType m_MinimumMetricValue
MeasureType m_CurrentValue
Optimizer that fully samples a grid on the parametric space.
unsigned int m_CurrentParameter
std::ostringstream m_StopConditionDescription
Control indentation during Print() invocation.
ParametersType m_CurrentIndex
MeasureType m_MaximumMetricValue
ParametersType m_MaximumMetricValuePosition
ParametersType m_MinimumMetricValuePosition