18 #ifndef __itkAmoebaOptimizerv4_h
19 #define __itkAmoebaOptimizerv4_h
22 #include "vnl/algo/vnl_amoeba.h"
96 itkSetMacro(AutomaticInitialSimplex,
bool);
97 itkBooleanMacro(AutomaticInitialSimplex);
98 itkGetConstMacro(AutomaticInitialSimplex,
bool);
107 itkSetMacro(OptimizeWithRestarts,
bool);
108 itkBooleanMacro(OptimizeWithRestarts);
109 itkGetConstMacro(OptimizeWithRestarts,
bool);
115 bool automaticInitialSimplex = false);
123 itkSetMacro(ParametersConvergenceTolerance,
double);
124 itkGetConstMacro(ParametersConvergenceTolerance,
double);
131 itkSetMacro(FunctionConvergenceTolerance,
double);
132 itkGetConstMacro(FunctionConvergenceTolerance,
double);
143 virtual ~AmoebaOptimizerv4();
144 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
152 AmoebaOptimizerv4(const
Self &);
154 void operator=(const Self &);
Superclass::ParametersType ParametersType
Superclass::CostFunctionAdaptorType CostFunctionAdaptorType
Light weight base class for most itk classes.
SmartPointer< const Self > ConstPointer
virtual const std::string GetStopConditionDescription() const ITK_OVERRIDE
ParametersType::ValueType m_ParametersConvergenceTolerance
bool m_OptimizeWithRestarts
std::ostringstream m_StopConditionDescription
MetricType::MeasureType MeasureType
vnl_amoeba * GetOptimizer(void) const
MeasureType m_FunctionConvergenceTolerance
Superclass::ParametersType ParametersType
Superclass::MetricType MetricType
This is a base for the ITKv4 Optimization methods using the vnl library.
bool m_AutomaticInitialSimplex
Wrap of the vnl_amoeba algorithm.
virtual void SetMetric(MetricType *metric) ITK_OVERRIDE
vnl_vector< double > InternalParametersType
ParametersType m_InitialSimplexDelta
void SetInitialSimplexDelta(ParametersType initialSimplexDelta, bool automaticInitialSimplex=false)
virtual void StartOptimization(bool doOnlyInitialization=false) ITK_OVERRIDE
vnl_amoeba * m_VnlOptimizer
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
SingleValuedNonLinearVnlOptimizerv4 Superclass