NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Implement a Regular Step Size optimizer. More...
Public Types | |
enum | StopConditionType { StepTooSmall = 1, ImageNotAvailable = 2, CostFunctionError = 3, MaximumNumberOfIterations = 4, Unknown = 5 } |
typedef UCLRegularStepOptimizer | Self |
typedef SingleValuedNonLinearOptimizer | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | SetMaximize (bool _arg) |
virtual const bool & | GetMaximize () |
virtual void | MaximizeOn () |
virtual void | MaximizeOff () |
bool | GetMinimize () const |
void | SetMinimize (bool v) |
void | MinimizeOn (void) |
void | MinimizeOff (void) |
void | StartOptimization (void) override |
void | ResumeOptimization (void) |
void | StopOptimization (void) |
virtual void | SetMaximumStepLength (double _arg) |
virtual void | SetMinimumStepLength (double _arg) |
virtual void | SetRelaxationFactor (double _arg) |
virtual void | SetNumberOfIterations (unsigned long _arg) |
virtual const double & | GetCurrentStepLength () |
virtual const double & | GetMaximumStepLength () |
virtual const double & | GetMinimumStepLength () |
virtual const double & | GetRelaxationFactor () |
virtual const unsigned long & | GetNumberOfIterations () |
virtual unsigned int | GetCurrentIteration () const |
virtual const StopConditionType & | GetStopCondition () |
virtual const MeasureType & | GetValue () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
UCLRegularStepOptimizer () | |
virtual | ~UCLRegularStepOptimizer () |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Protected Attributes | |
bool | m_Stop |
bool | m_Maximize |
MeasureType | m_Value |
MeasureType | m_BestSoFarValue |
ParametersType | m_BestSoFarParameters |
double | m_MaximumStepLength |
double | m_MinimumStepLength |
double | m_CurrentStepLength |
double | m_RelaxationFactor |
StopConditionType | m_StopCondition |
unsigned long | m_NumberOfIterations |
unsigned long | m_CurrentIteration |
Implement a Regular Step Size optimizer.
typedef SmartPointer<const Self> itk::UCLRegularStepOptimizer::ConstPointer |
typedef SmartPointer<Self> itk::UCLRegularStepOptimizer::Pointer |
Standard "Self" typedef.
typedef SingleValuedNonLinearOptimizer itk::UCLRegularStepOptimizer::Superclass |
|
protected |
Constructor
|
inlineprotectedvirtual |
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
overrideprotected |
Resume previously stopped optimization with current parameters.
Resume the optimization
|
virtual |
Specify whether to minimize or maximize the cost function.
|
virtual |
Set/Get parameters to control the optimization process.
|
inline |
|
virtual |
|
virtual |
|
virtual |
Start optimization.
Start the optimization
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |