go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdaptiveStochasticGradientDescentOptimizer.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __itkAdaptiveStochasticGradientDescentOptimizer_h
16 #define __itkAdaptiveStochasticGradientDescentOptimizer_h
17 
18 #include "../StandardGradientDescent/itkStandardGradientDescentOptimizer.h"
19 
20 namespace itk
21 {
22 
70 {
71 public:
72 
76 
77  typedef SmartPointer< Self > Pointer;
78  typedef SmartPointer< const Self > ConstPointer;
79 
81  itkNewMacro( Self );
82 
86 
96 
98  itkSetMacro( UseAdaptiveStepSizes, bool );
99  itkGetConstMacro( UseAdaptiveStepSizes, bool );
100 
103  itkSetMacro( SigmoidMax, double );
104  itkGetConstMacro( SigmoidMax, double );
105 
108  itkSetMacro( SigmoidMin, double );
109  itkGetConstMacro( SigmoidMin, double );
110 
113  itkSetMacro( SigmoidScale, double );
114  itkGetConstMacro( SigmoidScale, double );
115 
116 protected:
117 
120 
128  virtual void UpdateCurrentTime( void );
129 
132 
133 private:
134 
135  AdaptiveStochasticGradientDescentOptimizer( const Self & ); // purposely not implemented
136  void operator=( const Self & ); // purposely not implemented
137 
140  double m_SigmoidMax;
141  double m_SigmoidMin;
143 
144 };
145 
146 } // end namespace itk
147 
148 #endif // end #ifndef __itkAdaptiveStochasticGradientDescentOptimizer_h
This class implements a gradient descent optimizer with a decaying gain.
Superclass::ScaledCostFunctionPointer ScaledCostFunctionPointer
This class implements a gradient descent optimizer with adaptive gain.
Superclass::ScaledCostFunctionType ScaledCostFunctionType


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo