go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdaptiveStochasticVarianceReducedGradientOptimizer.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 __itkAdaptiveStochasticVarianceReducedGradientOptimizer_h
19  #define __itkAdaptiveStochasticVarianceReducedGradientOptimizer_h
20 
22 
23 namespace itk
24 {
72 {
73 public:
74 
78 
79  typedef SmartPointer<Self> Pointer;
80  typedef SmartPointer<const Self> ConstPointer;
81 
83  itkNewMacro( Self );
84 
88 
98 
100  itkSetMacro( UseAdaptiveStepSizes, bool );
101  itkGetConstMacro( UseAdaptiveStepSizes, bool );
102 
105  itkSetMacro( SigmoidMax, double );
106  itkGetConstMacro( SigmoidMax, double );
107 
110  itkSetMacro( SigmoidMin, double );
111  itkGetConstMacro( SigmoidMin, double );
112 
115  itkSetMacro( SigmoidScale, double );
116  itkGetConstMacro( SigmoidScale, double );
117 
118 protected:
119 
122 
130  void UpdateCurrentTime( void ) override;
131 
134 
135 private:
136 
137  AdaptiveStochasticVarianceReducedGradientOptimizer( const Self& ); // purposely not implemented
138  void operator=( const Self& ); // purposely not implemented
139 
142  double m_SigmoidMax;
143  double m_SigmoidMin;
145 
146 }; // end class AdaptiveStochasticVarianceReducedGradientOptimizer
147 
148 
149 } // end namespace itk
150 
151 
152 #endif // end #ifndef __itkAdaptiveStochasticVarianceReducedGradientOptimizer_h
This class implements a gradient descent optimizer with adaptive gain.
This class implements a gradient descent optimizer with a decaying gain.


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.9.1 elastix logo