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 
24 namespace elastix
25 {
26 
114 template< class TElastix >
116  public
118  public
119  OptimizerBase< TElastix >
120 {
121 public:
122 
127  typedef itk::SmartPointer< Self > Pointer;
128  typedef itk::SmartPointer< const Self > ConstPointer;
129 
131  itkNewMacro( Self );
132 
135 
140  elxClassNameMacro( "CMAEvolutionStrategy" );
141 
144  typedef Superclass1::CostFunctionPointer CostFunctionPointer;
149 
158 
161  void StartOptimization( void ) override;
162 
165  void BeforeRegistration( void ) override;
166 
167  void BeforeEachResolution( void ) override;
168 
169  void AfterEachResolution( void ) override;
170 
171  void AfterEachIteration( void ) override;
172 
173  void AfterRegistration( void ) override;
174 
175 protected:
176 
178  ~CMAEvolutionStrategy() override {}
179 
181  void InitializeProgressVariables( void ) override;
182 
183 private:
184 
185  CMAEvolutionStrategy( const Self & ); // purposely not implemented
186  void operator=( const Self & ); // purposely not implemented
187 
188 };
189 
190 } // end namespace elastix
191 
192 #ifndef ITK_MANUAL_INSTANTIATION
193 #include "elxCMAEvolutionStrategy.hxx"
194 #endif
195 
196 #endif // end #ifndef __elxCMAEvolutionStrategy_h
An optimizer based on the itk::CMAEvolutionStrategyOptimizer.
void BeforeEachResolution(void) override
void AfterEachIteration(void) override
itk::SmartPointer< Self > Pointer
Superclass1::DerivativeType DerivativeType
Superclass1::CostFunctionPointer CostFunctionPointer
OptimizerBase< TElastix > Superclass2
Superclass2::ElastixPointer ElastixPointer
elxClassNameMacro("CMAEvolutionStrategy")
void BeforeRegistration(void) override
void AfterEachResolution(void) override
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::ConfigurationType ConfigurationType
Superclass2::ITKBaseType ITKBaseType
Superclass2::RegistrationPointer RegistrationPointer
void AfterRegistration(void) override
Superclass1::StopConditionType StopConditionType
Superclass1::ParametersType ParametersType
void StartOptimization(void) override
CMAEvolutionStrategyOptimizer Superclass1
Superclass2::ElastixType ElastixType
CMAEvolutionStrategy(const Self &)
itk::SmartPointer< const Self > ConstPointer
void InitializeProgressVariables(void) override
void operator=(const Self &)
Superclass2::RegistrationType RegistrationType
Superclass1::CostFunctionType CostFunctionType
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Optimizers.
Superclass::ConfigurationPointer ConfigurationPointer
itk::Optimizer ITKBaseType
Superclass::ElastixType ElastixType
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationPointer RegistrationPointer
Superclass::RegistrationType RegistrationType
A Covariance Matrix Adaptation Evolution Strategy Optimizer.


Generated on 1667476801 for elastix by doxygen 1.9.1 elastix logo