18 #ifndef itkAmoebaOptimizerv4_h
19 #define itkAmoebaOptimizerv4_h
22 #include "vnl/algo/vnl_amoeba.h"
23 #include "ITKOptimizersv4Export.h"
86 void StartOptimization(
bool doOnlyInitialization =
false)
override;
99 itkSetMacro(AutomaticInitialSimplex,
bool);
100 itkBooleanMacro(AutomaticInitialSimplex);
101 itkGetConstMacro(AutomaticInitialSimplex,
bool);
110 itkSetMacro(OptimizeWithRestarts,
bool);
111 itkBooleanMacro(OptimizeWithRestarts);
112 itkGetConstMacro(OptimizeWithRestarts,
bool);
118 bool automaticInitialSimplex =
false);
126 itkSetMacro(ParametersConvergenceTolerance,
double);
127 itkGetConstMacro(ParametersConvergenceTolerance,
double);
134 itkSetMacro(FunctionConvergenceTolerance,
double);
135 itkGetConstMacro(FunctionConvergenceTolerance,
double);
139 const std::string GetStopConditionDescription()
const override;
142 vnl_amoeba * GetOptimizer()
const;
147 void PrintSelf(std::ostream & os,
Indent indent)
const override;
153 void ValidateSettings();
Light weight base class for most itk classes.
Superclass::MetricType MetricType
Superclass::ParametersType ParametersType
ParametersType::ValueType m_ParametersConvergenceTolerance
bool m_OptimizeWithRestarts
std::ostringstream m_StopConditionDescription
MeasureType m_FunctionConvergenceTolerance
Superclass::ParametersType ParametersType
This is a base for the ITKv4 Optimization methods using the vnl library.
bool m_AutomaticInitialSimplex
Wrap of the vnl_amoeba algorithm.
vnl_vector< double > InternalParametersType
ParametersType m_InitialSimplexDelta
vnl_amoeba * m_VnlOptimizer
Superclass::CostFunctionAdaptorType CostFunctionAdaptorType
Control indentation during Print() invocation.