18#ifndef itkOnePlusOneEvolutionaryOptimizerv4_h
19#define itkOnePlusOneEvolutionaryOptimizerv4_h
62template <
typename TInternalComputationValueType>
96 itkSetMacro(MaximumIteration,
unsigned int);
97 itkGetConstReferenceMacro(MaximumIteration,
unsigned int);
101 itkSetMacro(GrowthFactor,
double);
102 itkGetConstReferenceMacro(GrowthFactor,
double);
106 itkSetMacro(ShrinkFactor,
double);
107 itkGetConstReferenceMacro(ShrinkFactor,
double);
111 itkSetMacro(InitialRadius,
double);
112 itkGetConstReferenceMacro(InitialRadius,
double);
117 itkSetMacro(Epsilon,
double);
118 itkGetConstReferenceMacro(Epsilon,
double);
122 itkGetConstReferenceMacro(FrobeniusNorm,
double);
134 Initialize(
double initialRadius,
double grow = -1,
double shrink = -1);
143 itkGetConstReferenceMacro(Initialized,
bool);
160 itkGetConstReferenceMacro(CatchGetValueException,
bool);
161 itkSetMacro(CatchGetValueException,
bool);
162 itkBooleanMacro(CatchGetValueException);
164 itkGetConstReferenceMacro(MetricWorstPossibleValue,
double);
165 itkSetMacro(MetricWorstPossibleValue,
double);
221#ifndef ITK_MANUAL_INSTANTIATION
222# include "itkOnePlusOneEvolutionaryOptimizerv4.hxx"
Control indentation during Print() invocation.
OptimizerParameters< TInternalComputationValueType > ScalesType
ObjectToObjectOptimizerBaseTemplate()
OptimizerParameters< TInternalComputationValueType > ParametersType
typename MetricType::MeasureType MeasureType
void StartOptimization(bool doOnlyInitialization=false) override
bool m_CatchGetValueException
OnePlusOneEvolutionaryOptimizerv4()
OnePlusOneEvolutionaryOptimizerv4(const OnePlusOneEvolutionaryOptimizerv4 &)
typename MetricType::MeasureType MeasureType
const MeasureType & GetValue() const override
void Initialize(double initialRadius, double grow=-1, double shrink=-1)
SmartPointer< const Self > ConstPointer
std::ostringstream m_StopConditionDescription
MeasureType m_CurrentCost
void SetNormalVariateGenerator(NormalVariateGeneratorType *generator)
OnePlusOneEvolutionaryOptimizerv4 Self
double m_MetricWorstPossibleValue
Statistics::RandomVariateGeneratorBase NormalVariateGeneratorType
SmartPointer< Self > Pointer
SingleValuedCostFunctionv4 CostFunctionType
std::string GetStopConditionDescription() const override
unsigned int m_MaximumIteration
~OnePlusOneEvolutionaryOptimizerv4() override=default
ObjectToObjectOptimizerBaseTemplate< TInternalComputationValueType > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
CostFunctionType::Pointer CostFunctionPointer
NormalVariateGeneratorType::Pointer m_RandomGenerator
SmartPointer< Self > Pointer
Implements transparent reference counting.
Defines common interfaces for random variate generators.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SingleValuedCostFunctionv4Template< double > SingleValuedCostFunctionv4