18 #ifndef __itkAmoebaOptimizer_h
19 #define __itkAmoebaOptimizer_h
22 #include "vnl/algo/vnl_amoeba.h"
95 itkGetConstMacro( MaximumNumberOfIterations, NumberOfIterationsType );
106 itkSetMacro(AutomaticInitialSimplex,
bool);
107 itkBooleanMacro(AutomaticInitialSimplex);
108 itkGetConstMacro(AutomaticInitialSimplex,
bool);
117 itkSetMacro(OptimizeWithRestarts,
bool);
118 itkBooleanMacro(OptimizeWithRestarts);
119 itkGetConstMacro(OptimizeWithRestarts,
bool);
125 bool automaticInitialSimplex = false);
133 itkSetMacro(ParametersConvergenceTolerance,
double);
134 itkGetConstMacro(ParametersConvergenceTolerance,
double);
141 itkSetMacro(FunctionConvergenceTolerance,
double);
142 itkGetConstMacro(FunctionConvergenceTolerance,
double);
156 virtual ~AmoebaOptimizer();
157 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
165 AmoebaOptimizer(const
Self &);
167 void operator=(const Self &);
unsigned int NumberOfIterationsType
This class is a base for the CostFunctions returning a single value.
vnl_amoeba * m_VnlOptimizer
Light weight base class for most itk classes.
Superclass::ParametersType ParametersType
SmartPointer< Self > Pointer
virtual void StartOptimization(void) ITK_OVERRIDE
CostFunctionType::MeasureType m_FunctionConvergenceTolerance
NumberOfIterationsType m_MaximumNumberOfIterations
Superclass::CostFunctionAdaptorType CostFunctionAdaptorType
SmartPointer< const Self > ConstPointer
vnl_vector< double > InternalParametersType
CostFunctionType::MeasureType MeasureType
virtual const std::string GetStopConditionDescription() const ITK_OVERRIDE
This class is a base for the Optimization methods that optimize a single valued function.
vnl_amoeba * GetOptimizer(void) const
SingleValuedNonLinearVnlOptimizer Superclass
virtual void SetCostFunction(SingleValuedCostFunction *costFunction) ITK_OVERRIDE
bool m_OptimizeWithRestarts
Superclass::ParametersType ParametersType
Wrap of the vnl_amoeba algorithm.
void SetInitialSimplexDelta(ParametersType initialSimplexDelta, bool automaticInitialSimplex=false)
MeasureType GetValue() const
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
Control indentation during Print() invocation.
ParametersType::ValueType m_ParametersConvergenceTolerance
bool m_AutomaticInitialSimplex
std::ostringstream m_StopConditionDescription
ParametersType m_InitialSimplexDelta