go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxCMAEvolutionStrategy.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 elxCMAEvolutionStrategy_h
19#define elxCMAEvolutionStrategy_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
114template <class TElastix>
115class ITK_TEMPLATE_EXPORT CMAEvolutionStrategy
117 , public OptimizerBase<TElastix>
118{
119public:
121
126 using Pointer = itk::SmartPointer<Self>;
127 using ConstPointer = itk::SmartPointer<const Self>;
128
130 itkNewMacro(Self);
131
134
139 elxClassNameMacro("CMAEvolutionStrategy");
140
142 using Superclass1::CostFunctionType;
143 using Superclass1::CostFunctionPointer;
145 using Superclass1::ParametersType;
146 using Superclass1::DerivativeType;
148
150 using typename Superclass2::ElastixType;
151 using typename Superclass2::RegistrationType;
153
156 void
158
161 void
163
164 void
166
167 void
169
170 void
172
173 void
175
176protected:
178 ~CMAEvolutionStrategy() override = default;
179
181 void
183
184private:
186};
187
188} // end namespace elastix
189
190#ifndef ITK_MANUAL_INSTANTIATION
191# include "elxCMAEvolutionStrategy.hxx"
192#endif
193
194#endif // end #ifndef elxCMAEvolutionStrategy_h
An optimizer based on the itk::CMAEvolutionStrategyOptimizer.
void InitializeProgressVariables() override
~CMAEvolutionStrategy() override=default
void BeforeEachResolution() override
elxClassNameMacro("CMAEvolutionStrategy")
itk::SmartPointer< const Self > ConstPointer
void AfterEachIteration() override
ITK_DISALLOW_COPY_AND_MOVE(CMAEvolutionStrategy)
void BeforeRegistration() override
void StartOptimization() override
typename Superclass2::ITKBaseType ITKBaseType
void AfterRegistration() override
void AfterEachResolution() override
This class is the elastix base class for all Optimizers.
typename ElastixType::RegistrationBaseType RegistrationType
A Covariance Matrix Adaptation Evolution Strategy Optimizer.


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo