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);
151 void StartOptimization(
bool doOnlyInitialization =
false)
override;
159 itkGetConstReferenceMacro(CatchGetValueException,
bool);
160 itkSetMacro(CatchGetValueException,
bool);
162 itkGetConstReferenceMacro(MetricWorstPossibleValue,
double);
163 itkSetMacro(MetricWorstPossibleValue,
double);
165 const std::string GetStopConditionDescription()
const override;
171 void PrintSelf(std::ostream & os,
Indent indent)
const override;
218 #ifndef ITK_MANUAL_INSTANTIATION
219 #include "itkOnePlusOneEvolutionaryOptimizerv4.hxx"
MeasureType m_CurrentCost
Light weight base class for most itk classes.
SingleValuedCostFunctionv4Template< double > SingleValuedCostFunctionv4
typename MetricType::MeasureType MeasureType
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
1+1 evolutionary strategy optimizer
std::ostringstream m_StopConditionDescription
Control indentation during Print() invocation.
double m_MetricWorstPossibleValue
Abstract base for object-to-object optimizers.