go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdaptiveStochasticPreconditionedGradientDescentOptimizer.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __itkAdaptiveStochasticPreconditionedGradientDescentOptimizer_h
19 #define __itkAdaptiveStochasticPreconditionedGradientDescentOptimizer_h
20 
22 
23 #include "vnl/vnl_math.h"
24 #include "itkSigmoidImageFilter.h"
25 
26 namespace itk
27 {
80 {
81 public:
82 
86 
87  typedef SmartPointer<Self> Pointer;
88  typedef SmartPointer<const Self> ConstPointer;
89 
91  itkNewMacro( Self );
92 
96 
106 
110  //typedef Superclass::EigenSystemType EigenSystemType;
111 
113  itkSetMacro( UseAdaptiveStepSizes, bool );
114  itkGetConstMacro( UseAdaptiveStepSizes, bool );
115 
118  itkSetMacro( SigmoidMax, double );
119  itkGetConstMacro( SigmoidMax, double );
120 
123  itkSetMacro( SigmoidMin, double );
124  itkGetConstMacro( SigmoidMin, double );
125 
128  itkSetMacro( SigmoidScale, double );
129  itkGetConstMacro( SigmoidScale, double );
130 
131 protected:
132 
135 
143  virtual void UpdateCurrentTime( void );
144 
147 
148 private:
149 
150  AdaptiveStochasticPreconditionedGradientDescentOptimizer( const Self& ); // purposely not implemented
151  void operator=( const Self& ); // purposely not implemented
152 
155  double m_SigmoidMax;
156  double m_SigmoidMin;
158 
159 }; // end class AdaptiveStochasticPreconditionedGradientDescentOptimizer
160 
161 
162 } // end namespace itk
163 
164 
165 #endif // end #ifndef __itkAdaptiveStochasticPreconditionedGradientDescentOptimizer_h
This class implements a gradient descent optimizer with a decaying gain and preconditioning.


Generated on 1641078589 for elastix by doxygen 1.9.1 elastix logo