17 #ifndef itkIterateNeighborhoodOptimizer_h
18 #define itkIterateNeighborhoodOptimizer_h
20 #include "MinimalPathExtractionExport.h"
60 itkGetConstReferenceMacro( Maximize,
bool );
61 itkSetMacro( Maximize,
bool );
62 itkBooleanMacro( Maximize );
64 {
return !m_Maximize; }
66 { this->SetMaximize(!v); }
68 { this->MaximizeOff(); }
70 { this->MaximizeOn(); }
74 virtual void AdvanceOneStep(
void );
77 void StartOptimization(
void )
override;
81 void ResumeOptimization(
void );
85 void StopOptimization(
void );
91 itkSetMacro(FullyConnected,
bool);
92 itkGetConstReferenceMacro(FullyConnected,
bool);
93 itkBooleanMacro(FullyConnected);
105 itkGetConstMacro( CurrentIteration,
unsigned int );
108 itkGetConstReferenceMacro( CurrentValue,
double );
113 void PrintSelf(std::ostream& os,
Indent indent)
const override;
Light weight base class for most itk classes.
~IterateNeighborhoodOptimizer() override
unsigned long m_CurrentIteration
This class is a base for the Optimization methods that optimize a single valued function.
NeighborhoodSizeType m_NeighborhoodSize
Finds the local minima/maxima by iteratively choosing the minimum/maximum value in a neighborhood...
Control indentation during Print() invocation.