18 #ifndef __itkOnePlusOneEvolutionaryOptimizer_h
19 #define __itkOnePlusOneEvolutionaryOptimizer_h
94 itkSetMacro(Maximize,
bool);
95 itkBooleanMacro(Maximize);
96 itkGetConstReferenceMacro(Maximize,
bool);
109 itkSetMacro(MaximumIteration,
unsigned int);
110 itkGetConstReferenceMacro(MaximumIteration,
unsigned int);
114 itkSetMacro(GrowthFactor,
double);
115 itkGetConstReferenceMacro(GrowthFactor,
double);
119 itkSetMacro(ShrinkFactor,
double);
120 itkGetConstReferenceMacro(ShrinkFactor,
double);
124 itkSetMacro(InitialRadius,
double);
125 itkGetConstReferenceMacro(InitialRadius,
double);
130 itkSetMacro(Epsilon,
double);
131 itkGetConstReferenceMacro(Epsilon,
double);
135 itkGetConstReferenceMacro(FrobeniusNorm,
double);
145 void Initialize(
double initialRadius,
double grow = -1,
double shrink = -1);
148 itkGetConstReferenceMacro(CurrentCost,
MeasureType);
153 itkGetConstReferenceMacro(CurrentIteration,
unsigned int);
156 itkGetConstReferenceMacro(Initialized,
bool);
169 itkGetConstReferenceMacro(CatchGetValueException,
bool);
170 itkSetMacro(CatchGetValueException,
bool);
172 itkGetConstReferenceMacro(MetricWorstPossibleValue,
double);
173 itkSetMacro(MetricWorstPossibleValue,
double);
179 OnePlusOneEvolutionaryOptimizer(const OnePlusOneEvolutionaryOptimizer &);
180 virtual ~OnePlusOneEvolutionaryOptimizer();
181 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
Statistics::RandomVariateGeneratorBase NormalVariateGeneratorType
This class is a base for the CostFunctions returning a single value.
Light weight base class for most itk classes.
SingleValuedCostFunction CostFunctionType
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
virtual void StartOptimization() ITK_OVERRIDE
SmartPointer< const Self > ConstPointer
This class is a base for the Optimization methods that optimize a single valued function.
virtual void SetMaximize(bool _arg)
double m_MetricWorstPossibleValue
CostFunctionType::MeasureType MeasureType
void SetNormalVariateGenerator(NormalVariateGeneratorType *generator)
unsigned int m_MaximumIteration
bool m_CatchGetValueException
CostFunctionType::Pointer CostFunctionPointer
MeasureType m_CurrentCost
MeasureType GetValue() const
SingleValuedNonLinearOptimizer Superclass
SmartPointer< Self > Pointer
virtual const MeasureType & GetCurrentCost() const
Defines common interfaces for random variate generators.
void Initialize(double initialRadius, double grow=-1, double shrink=-1)
std::ostringstream m_StopConditionDescription
1+1 evolutionary strategy optimizer
NormalVariateGeneratorType::Pointer m_RandomGenerator
Control indentation during Print() invocation.
virtual const std::string GetStopConditionDescription() const ITK_OVERRIDE
unsigned int m_CurrentIteration
OnePlusOneEvolutionaryOptimizer Self