18#ifndef itkAmoebaOptimizerv4_h
19#define itkAmoebaOptimizerv4_h
22#include "vnl/algo/vnl_amoeba.h"
23#include "ITKOptimizersv4Export.h"
102 itkSetMacro(AutomaticInitialSimplex,
bool);
103 itkBooleanMacro(AutomaticInitialSimplex);
104 itkGetConstMacro(AutomaticInitialSimplex,
bool);
113 itkSetMacro(OptimizeWithRestarts,
bool);
114 itkBooleanMacro(OptimizeWithRestarts);
115 itkGetConstMacro(OptimizeWithRestarts,
bool);
129 itkSetMacro(ParametersConvergenceTolerance,
double);
130 itkGetConstMacro(ParametersConvergenceTolerance,
double);
137 itkSetMacro(FunctionConvergenceTolerance,
double);
138 itkGetConstMacro(FunctionConvergenceTolerance,
double);
162 ParametersType::ValueType m_ParametersConvergenceTolerance{};
164 bool m_AutomaticInitialSimplex{};
166 bool m_OptimizeWithRestarts{};
169 std::ostringstream m_StopConditionDescription{};
Wrap of the vnl_amoeba algorithm.
Superclass::CostFunctionAdaptorType CostFunctionAdaptorType
void PrintSelf(std::ostream &os, Indent indent) const override
~AmoebaOptimizerv4() override
void SetInitialSimplexDelta(ParametersType initialSimplexDelta, bool automaticInitialSimplex=false)
vnl_amoeba * GetOptimizer() const
std::unique_ptr< vnl_amoeba > m_VnlOptimizer
vnl_vector< double > InternalParametersType
void SetMetric(MetricType *metric) override
std::string GetStopConditionDescription() const override
void StartOptimization(bool doOnlyInitialization=false) override
Superclass::ParametersType ParametersType
Control indentation during Print() invocation.
Light weight base class for most itk classes.
typename MetricType::MeasureType MeasureType
This is a base for the ITKv4 Optimization methods using the vnl library.
Superclass::ParametersType ParametersType
Superclass::MetricType MetricType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....