17 #ifndef itkIterateNeighborhoodOptimizer_h
18 #define itkIterateNeighborhoodOptimizer_h
20 #include "MinimalPathExtractionExport.h"
58 itkGetConstReferenceMacro( Maximize,
bool );
59 itkSetMacro( Maximize,
bool );
60 itkBooleanMacro( Maximize );
62 {
return !m_Maximize; }
64 { this->SetMaximize(!v); }
66 { this->MaximizeOff(); }
68 { this->MaximizeOn(); }
72 virtual void AdvanceOneStep(
void );
75 void StartOptimization(
void ) ITK_OVERRIDE;
79 void ResumeOptimization(
void );
83 void StopOptimization(
void );
89 itkSetMacro(FullyConnected,
bool);
90 itkGetConstReferenceMacro(FullyConnected,
bool);
91 itkBooleanMacro(FullyConnected);
98 itkSetMacro( NeighborhoodSize, NeighborhoodSizeType );
99 itkGetConstReferenceMacro( NeighborhoodSize, NeighborhoodSizeType );
103 itkGetConstMacro( CurrentIteration,
unsigned int );
106 itkGetConstReferenceMacro( CurrentValue,
double );
110 virtual ~IterateNeighborhoodOptimizer() {};
111 void PrintSelf(std::ostream& os,
Indent indent)
const ITK_OVERRIDE;
Array class with size defined at construction time.
IterateNeighborhoodOptimizer Self
Light weight base class for most itk classes.
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...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
SingleValuedNonLinearOptimizer Superclass
Control indentation during Print() invocation.