#include <itkAdaptiveStochasticLBFGSOptimizer.h>
Definition at line 69 of file itkAdaptiveStochasticLBFGSOptimizer.h.
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual double | GetSigmoidMax () const |
virtual double | GetSigmoidMin () const |
virtual double | GetSigmoidScale () const |
virtual bool | GetUseAdaptiveStepSizes () const |
virtual bool | GetUseSearchDirForAdaptiveStepSize () const |
ITK_DISALLOW_COPY_AND_MOVE (AdaptiveStochasticLBFGSOptimizer) | |
virtual void | SetSigmoidMax (double _arg) |
virtual void | SetSigmoidMin (double _arg) |
virtual void | SetSigmoidScale (double _arg) |
virtual void | SetUseAdaptiveStepSizes (bool _arg) |
virtual void | SetUseSearchDirForAdaptiveStepSize (bool _arg) |
Public Member Functions inherited from itk::StandardStochasticGradientOptimizer | |
void | AdvanceOneStep () override |
virtual double | GetCurrentTime () const |
virtual double | GetInitialTime () const |
virtual double | GetParam_A () const |
virtual double | GetParam_a () const |
virtual double | GetParam_alpha () const |
virtual double | GetParam_beta () const |
ITK_DISALLOW_COPY_AND_MOVE (StandardStochasticGradientOptimizer) | |
virtual void | ResetCurrentTimeToInitialTime () |
virtual void | SetInitialTime (double _arg) |
virtual void | SetParam_A (double _arg) |
virtual void | SetParam_a (double _arg) |
virtual void | SetParam_alpha (double _arg) |
virtual void | SetParam_beta (double _arg) |
void | StartOptimization () override |
Public Member Functions inherited from itk::StochasticGradientDescentOptimizer | |
virtual unsigned int | GetCurrentInnerIteration () const |
virtual unsigned int | GetCurrentIteration () const |
virtual const DerivativeType & | GetGradient () |
virtual unsigned int | GetLBFGSMemory () const |
virtual const double & | GetLearningRate () |
virtual const unsigned long & | GetNumberOfInnerIterations () |
virtual const unsigned long & | GetNumberOfIterations () |
virtual const DerivativeType & | GetPreviousGradient () |
virtual const ParametersType & | GetPreviousPosition () |
virtual const DerivativeType & | GetSearchDir () |
virtual const StopConditionType & | GetStopCondition () |
virtual const double & | GetValue () |
ITK_DISALLOW_COPY_AND_MOVE (StochasticGradientDescentOptimizer) | |
virtual void | MetricErrorResponse (ExceptionObject &err) |
virtual void | ResumeOptimization () |
virtual void | SetLearningRate (double _arg) |
virtual void | SetNumberOfIterations (unsigned long _arg) |
void | SetNumberOfWorkUnits (ThreadIdType numberOfThreads) |
virtual void | SetPreviousGradient (DerivativeType _arg) |
virtual void | SetPreviousPosition (ParametersType _arg) |
virtual void | SetUseEigen (bool _arg) |
virtual void | SetUseMultiThread (bool _arg) |
void | StartOptimization () override |
virtual void | StopOptimization () |
Public Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer | |
const ParametersType & | GetCurrentPosition () const override |
virtual bool | GetMaximize () const |
virtual const ScaledCostFunctionType * | GetScaledCostFunction () |
virtual const ParametersType & | GetScaledCurrentPosition () |
bool | GetUseScales () const |
virtual void | InitializeScales () |
ITK_DISALLOW_COPY_AND_MOVE (ScaledSingleValuedNonLinearOptimizer) | |
virtual void | MaximizeOff () |
virtual void | MaximizeOn () |
void | SetCostFunction (CostFunctionType *costFunction) override |
virtual void | SetMaximize (bool _arg) |
virtual void | SetUseScales (bool arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::StandardStochasticGradientOptimizer | |
static Pointer | New () |
Static Public Member Functions inherited from itk::StochasticGradientDescentOptimizer | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer | |
static Pointer | New () |
Protected Member Functions | |
AdaptiveStochasticLBFGSOptimizer () | |
void | UpdateCurrentTime () override |
~AdaptiveStochasticLBFGSOptimizer () override=default | |
Protected Member Functions inherited from itk::StandardStochasticGradientOptimizer | |
virtual double | Compute_a (double k) const |
virtual double | Compute_beta (double k) const |
StandardStochasticGradientOptimizer () | |
~StandardStochasticGradientOptimizer () override=default | |
Protected Member Functions inherited from itk::StochasticGradientDescentOptimizer | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
StochasticGradientDescentOptimizer () | |
~StochasticGradientDescentOptimizer () override=default | |
Protected Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer | |
virtual void | GetScaledDerivative (const ParametersType ¶meters, DerivativeType &derivative) const |
virtual MeasureType | GetScaledValue (const ParametersType ¶meters) const |
virtual void | GetScaledValueAndDerivative (const ParametersType ¶meters, MeasureType &value, DerivativeType &derivative) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
ScaledSingleValuedNonLinearOptimizer () | |
void | SetCurrentPosition (const ParametersType ¶m) override |
virtual void | SetScaledCurrentPosition (const ParametersType ¶meters) |
~ScaledSingleValuedNonLinearOptimizer () override=default | |
Private Attributes | |
double | m_SigmoidMax { 1.0 } |
double | m_SigmoidMin { -0.8 } |
double | m_SigmoidScale { 1e-8 } |
Additional Inherited Members | |
Protected Types inherited from itk::StochasticGradientDescentOptimizer | |
using | ThreadInfoType = MultiThreaderBase::WorkUnitInfo |
using itk::AdaptiveStochasticLBFGSOptimizer::ConstPointer = SmartPointer<const Self> |
Definition at line 78 of file itkAdaptiveStochasticLBFGSOptimizer.h.
using itk::AdaptiveStochasticLBFGSOptimizer::Pointer = SmartPointer<Self> |
Definition at line 77 of file itkAdaptiveStochasticLBFGSOptimizer.h.
Standard ITK.
Definition at line 75 of file itkAdaptiveStochasticLBFGSOptimizer.h.
Definition at line 76 of file itkAdaptiveStochasticLBFGSOptimizer.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::StandardStochasticGradientOptimizer.
Reimplemented in elastix::AdaptiveStochasticLBFGS< TElastix >.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
itk::AdaptiveStochasticLBFGSOptimizer::ITK_DISALLOW_COPY_AND_MOVE | ( | AdaptiveStochasticLBFGSOptimizer | ) |
|
static |
Method for creation through the object factory.
|
virtual |
Set/Get the maximum of the sigmoid. Should be >0. Default: 1.0
|
virtual |
Set/Get the maximum of the sigmoid. Should be <0. Default: -0.8
|
virtual |
Set/Get the scaling of the sigmoid width. Large values cause a more wide sigmoid. Default: 1e-8. Should be >0.
|
virtual |
Set/Get whether the adaptive step size mechanism is desired. Default: true
|
virtual |
Set/Get whether the adaptive step size mechanism is desired. Default: true
|
overrideprotectedvirtual |
Function to update the current time If UseAdaptiveStepSizes is false this function just increments the CurrentTime by . Else, the CurrentTime is updated according to:
time = max[ 0, time + sigmoid( -gradient*previousgradient) ]
In that case, also the m_PreviousGradient is updated.
Reimplemented from itk::StandardStochasticGradientOptimizer.
|
protected |
Definition at line 140 of file itkAdaptiveStochasticLBFGSOptimizer.h.
|
private |
Settings
Definition at line 146 of file itkAdaptiveStochasticLBFGSOptimizer.h.
|
private |
Definition at line 147 of file itkAdaptiveStochasticLBFGSOptimizer.h.
|
private |
Definition at line 148 of file itkAdaptiveStochasticLBFGSOptimizer.h.
|
protected |
Definition at line 141 of file itkAdaptiveStochasticLBFGSOptimizer.h.
|
protected |
The PreviousGradient, necessary for the CruzAcceleration
Definition at line 137 of file itkAdaptiveStochasticLBFGSOptimizer.h.
|
protected |
Definition at line 139 of file itkAdaptiveStochasticLBFGSOptimizer.h.
|
protected |
Definition at line 138 of file itkAdaptiveStochasticLBFGSOptimizer.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |