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);
146 itkGetConstReferenceMacro(Initialized,
bool);
159 itkGetConstReferenceMacro(CatchGetValueException,
bool);
160 itkSetMacro(CatchGetValueException,
bool);
162 itkGetConstReferenceMacro(MetricWorstPossibleValue,
double);
163 itkSetMacro(MetricWorstPossibleValue,
double);
169 OnePlusOneEvolutionaryOptimizerv4(const OnePlusOneEvolutionaryOptimizerv4 &);
170 virtual ~OnePlusOneEvolutionaryOptimizerv4();
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
Light weight base class for most itk classes.
SmartPointer< Self > Pointer
SingleValuedCostFunctionv4 CostFunctionType
void Initialize(double initialRadius, double grow=-1, double shrink=-1)
OptimizerParameters< TInternalComputationValueType > ParametersType
MetricType::MeasureType MeasureType
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
virtual const MeasureType & GetValue() const ITK_OVERRIDE
Superclass::MeasureType MeasureType
CostFunctionType::Pointer CostFunctionPointer
virtual const std::string GetStopConditionDescription() const ITK_OVERRIDE
Superclass::ScalesType ScalesType
virtual void StartOptimization(bool doOnlyInitialization=false) ITK_OVERRIDE
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
Control indentation during Print() invocation.
double m_MetricWorstPossibleValue
Abstract base for object-to-object optimizers.
Superclass::ParametersType ParametersType
SmartPointer< const Self > ConstPointer
OnePlusOneEvolutionaryOptimizerv4 Self