18 #ifndef itkOnePlusOneEvolutionaryOptimizerv4_h 19 #define itkOnePlusOneEvolutionaryOptimizerv4_h 68 template<
typename TInternalComputationValueType>
102 itkSetMacro(MaximumIteration,
unsigned int);
103 itkGetConstReferenceMacro(MaximumIteration,
unsigned int);
107 itkSetMacro(GrowthFactor,
double);
108 itkGetConstReferenceMacro(GrowthFactor,
double);
112 itkSetMacro(ShrinkFactor,
double);
113 itkGetConstReferenceMacro(ShrinkFactor,
double);
117 itkSetMacro(InitialRadius,
double);
118 itkGetConstReferenceMacro(InitialRadius,
double);
123 itkSetMacro(Epsilon,
double);
124 itkGetConstReferenceMacro(Epsilon,
double);
128 itkGetConstReferenceMacro(FrobeniusNorm,
double);
138 void Initialize(
double initialRadius,
double grow = -1,
double shrink = -1);
141 itkGetConstReferenceMacro(CurrentCost, MeasureType);
142 virtual const MeasureType &
GetValue() const ITK_OVERRIDE;
146 itkGetConstReferenceMacro(Initialized,
bool);
159 itkGetConstReferenceMacro(CatchGetValueException,
bool);
160 itkSetMacro(CatchGetValueException,
bool);
162 itkGetConstReferenceMacro(MetricWorstPossibleValue,
double);
163 itkSetMacro(MetricWorstPossibleValue,
double);
171 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
218 #ifndef ITK_MANUAL_INSTANTIATION 219 #include "itkOnePlusOneEvolutionaryOptimizerv4.hxx" Statistics::RandomVariateGeneratorBase NormalVariateGeneratorType
OptimizerParameters< TInternalComputationValueType > ScalesType
MeasureType m_CurrentCost
virtual void StartOptimization(bool doOnlyInitialization=false) override
SmartPointer< Self > Pointer
SingleValuedCostFunctionv4 CostFunctionType
void Initialize(double initialRadius, double grow=-1, double shrink=-1)
OptimizerParameters< TInternalComputationValueType > ParametersType
MetricType::MeasureType MeasureType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Superclass::MeasureType MeasureType
CostFunctionType::Pointer CostFunctionPointer
OnePlusOneEvolutionaryOptimizerv4()
virtual const std::string GetStopConditionDescription() const override
Superclass::ScalesType ScalesType
ObjectToObjectOptimizerBaseTemplate< TInternalComputationValueType > Superclass
bool m_CatchGetValueException
unsigned int m_MaximumIteration
Defines common interfaces for random variate generators.
This class is a base for a CostFunction that returns a single value.
NormalVariateGeneratorType::Pointer m_RandomGenerator
void SetNormalVariateGenerator(NormalVariateGeneratorType *generator)
1+1 evolutionary strategy optimizer
std::ostringstream m_StopConditionDescription
virtual ~OnePlusOneEvolutionaryOptimizerv4()
Control indentation during Print() invocation.
virtual const MeasureType & GetValue() const override
double m_MetricWorstPossibleValue
Abstract base for object-to-object optimizers.
Superclass::ParametersType ParametersType
SmartPointer< const Self > ConstPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const override
OnePlusOneEvolutionaryOptimizerv4 Self