18 #ifndef itkExhaustiveOptimizer_h
19 #define itkExhaustiveOptimizer_h
23 #include "ITKOptimizersExport.h"
96 virtual void StartOptimization(
void) ITK_OVERRIDE;
100 void ResumeWalking();
104 itkSetMacro(StepLength,
double);
106 itkGetConstReferenceMacro(StepLength,
double);
107 itkGetConstReferenceMacro(NumberOfSteps, StepsType);
108 itkGetConstReferenceMacro(CurrentValue, MeasureType);
109 itkGetConstReferenceMacro(MaximumMetricValue, MeasureType);
110 itkGetConstReferenceMacro(MinimumMetricValue, MeasureType);
111 itkGetConstReferenceMacro(MinimumMetricValuePosition, ParametersType);
112 itkGetConstReferenceMacro(MaximumMetricValuePosition, ParametersType);
113 itkGetConstReferenceMacro(CurrentIndex, ParametersType);
114 itkGetConstReferenceMacro(MaximumNumberOfIterations,
SizeValueType);
117 virtual const std::
string GetStopConditionDescription() const ITK_OVERRIDE;
121 virtual ~ExhaustiveOptimizer() {}
122 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
125 void AdvanceOneStep();
127 void IncrementIndex(ParametersType & param);
156 void operator=(const
Self &) ITK_DELETE_FUNCTION;
158 std::ostringstream m_StopConditionDescription;
Light weight base class for most itk classes.
SizeValueType m_MaximumNumberOfIterations
This class is a base for the Optimization methods that optimize a single valued function.
Array< SizeValueType > StepsType
SizeValueType m_CurrentIteration
StepsType m_NumberOfSteps
unsigned long SizeValueType
MeasureType m_MinimumMetricValue
MeasureType m_CurrentValue
Optimizer that fully samples a grid on the parametric space.
unsigned int m_CurrentParameter
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
SingleValuedNonLinearOptimizer Superclass
Control indentation during Print() invocation.
ParametersType m_CurrentIndex
MeasureType m_MaximumMetricValue
ParametersType m_MaximumMetricValuePosition
ParametersType m_MinimumMetricValuePosition