go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdaptiveStepsizeOptimizer.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 __itkAdaptiveStepsizeOptimizer_h
19 #define __itkAdaptiveStepsizeOptimizer_h
20 
21 #include "../StandardGradientDescent/itkStandardGradientDescentOptimizer.h"
22 
23 namespace itk
24 {
25 
73 {
74 public:
75 
79  typedef SmartPointer< Self > Pointer;
80  typedef SmartPointer< const Self > ConstPointer;
81 
83  itkNewMacro( Self );
84 
86  itkTypeMacro( AdaptiveStepsizeOptimizer,
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 
119  itkGetConstReferenceMacro( PreconditionVector, ParametersType );
120 
121 protected:
122 
125 
133  void UpdateCurrentTime( void ) override;
134 
138  std::string m_StepSizeStrategy;
139 
140 private:
141 
142  AdaptiveStepsizeOptimizer( const Self & ); // purposely not implemented
143  void operator=( const Self & ); // purposely not implemented
144 
147  double m_SigmoidMax;
148  double m_SigmoidMin;
150 
151 };
152 
153 } // end namespace itk
154 
155 #endif
This class implements a gradient descent optimizer with adaptive gain.
StandardGradientDescentOptimizer Superclass
void operator=(const Self &)
Superclass::CostFunctionType CostFunctionType
void UpdateCurrentTime(void) override
Superclass::DerivativeType DerivativeType
AdaptiveStepsizeOptimizer(const Self &)
Superclass::ScaledCostFunctionPointer ScaledCostFunctionPointer
Superclass::StopConditionType StopConditionType
Superclass::ScaledCostFunctionType ScaledCostFunctionType
Superclass::ParametersType ParametersType
This class implements a gradient descent optimizer with a decaying gain.
Superclass::ScaledCostFunctionType ScaledCostFunctionType
Superclass::ScaledCostFunctionPointer ScaledCostFunctionPointer


Generated on 1652341256 for elastix by doxygen 1.9.1 elastix logo