18 #ifndef itkExhaustiveOptimizerv4_h
19 #define itkExhaustiveOptimizerv4_h
77 template<
typename TInternalComputationValueType>
106 virtual void StartOptimization(
bool doOnlyInitialization =
false) ITK_OVERRIDE;
112 void ResumeWalking();
117 itkSetMacro(StepLength,
double);
119 itkGetConstReferenceMacro(StepLength,
double);
120 itkGetConstReferenceMacro(NumberOfSteps, StepsType);
121 itkGetConstReferenceMacro(CurrentValue,
MeasureType);
122 itkGetConstReferenceMacro(MaximumMetricValue, MeasureType);
123 itkGetConstReferenceMacro(MinimumMetricValue, MeasureType);
124 itkGetConstReferenceMacro(MinimumMetricValuePosition,
ParametersType);
125 itkGetConstReferenceMacro(MaximumMetricValuePosition, ParametersType);
126 itkGetConstReferenceMacro(CurrentIndex, ParametersType);
129 virtual const std::
string GetStopConditionDescription() const ITK_OVERRIDE;
132 void SetInitialPosition(const ParametersType & param);
135 ParametersType & GetInitialPosition(
void)
137 return m_InitialPosition;
143 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
146 void AdvanceOneStep();
148 void IncrementIndex(ParametersType & param);
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "itkExhaustiveOptimizerv4.hxx"
MeasureType m_MaximumMetricValue
ExhaustiveOptimizerv4 Self
Light weight base class for most itk classes.
ParametersType m_CurrentIndex
MeasureType m_CurrentValue
ParametersType m_MaximumMetricValuePosition
Superclass::ScalesType ScalesType
std::ostringstream m_StopConditionDescription
Superclass::ParametersType ParametersType
MetricType::MeasureType MeasureType
SmartPointer< Self > Pointer
Superclass::MeasureType MeasureType
SmartPointer< const Self > ConstPointer
virtual ~ExhaustiveOptimizerv4() override
MeasureType m_MinimumMetricValue
ObjectToObjectOptimizerBaseTemplate< TInternalComputationValueType > Superclass
StepsType m_NumberOfSteps
Array< SizeValueType > StepsType
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