18 #ifndef __itkOnePlusOneEvolutionaryOptimizer_h
19 #define __itkOnePlusOneEvolutionaryOptimizer_h
94 itkSetMacro(Maximize,
bool);
95 itkBooleanMacro(Maximize);
96 itkGetConstReferenceMacro(Maximize,
bool);
99 bool GetMinimize()
const
100 {
return !m_Maximize; }
101 void SetMinimize(
bool v)
102 { this->SetMaximize(!v); }
103 void MinimizeOn(
void)
104 { SetMaximize(
false); }
105 void MinimizeOff(
void)
106 { SetMaximize(
true); }
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);
137 void SetNormalVariateGenerator(NormalVariateGeneratorType *generator);
145 void Initialize(
double initialRadius,
double grow = -1,
double shrink = -1);
148 itkGetConstReferenceMacro(CurrentCost, MeasureType);
153 itkGetConstReferenceMacro(CurrentIteration,
unsigned int);
156 itkGetConstReferenceMacro(Initialized,
bool);
161 void StartOptimization();
166 void StopOptimization()
169 itkGetConstReferenceMacro(CatchGetValueException,
bool);
170 itkSetMacro(CatchGetValueException,
bool);
172 itkGetConstReferenceMacro(MetricWorstPossibleValue,
double);
173 itkSetMacro(MetricWorstPossibleValue,
double);
175 const std::string GetStopConditionDescription()
const;
181 void PrintSelf(std::ostream & os,
Indent indent)
const;