go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
elastix::CMAEvolutionStrategy< TElastix > Class Template Reference

#include <elxCMAEvolutionStrategy.h>

Detailed Description

template<class TElastix>
class elastix::CMAEvolutionStrategy< TElastix >

An optimizer based on the itk::CMAEvolutionStrategyOptimizer.

A Covariance-Matrix-Adaptation-Evolution-Strategy optimizer.

This optimizer support the NewSamplesEveryIteration option. It requests new samples for the computation of each search direction (not during the offspring generation). The theory doesn't say anything about such a situation, so, think twice before using the NewSamplesEveryIteration option.

The parameters used in this class are:

Parameters:

Optimizer: Select this optimizer as follows:
(Optimizer "CMAEvolutionStrategy")

MaximumNumberOfIterations: The maximum number of iterations in each resolution.
example: (MaximumNumberOfIterations 100 100 50)
Default value: 500.

StepLength: Set the length of the initial step ( = Sigma0 = InitialSigma).
example: (StepLength 2.0 1.0 0.5)
Recommended value: 1/3 of the expected parameter range.
Default value: 1.0.

ValueTolerance: Stopping criterion. See the documentation of the itk::CMAEvolutionStrategyOptimizer for more information.
example: (ValueTolerance 0.001 0.0001 0.000001)
Default value: 0.00001. Can be specified for each resolution.

PositionToleranceMin: Stopping criterion. See the documentation of the itk::CMAEvolutionStrategyOptimizer for more information.
example: (PositionToleranceMin 0.001 0.0001 0.000001)
Default value: 1e-8. Can be specified for each resolution.

PositionToleranceMax: Stopping criterion. See the documentation of the itk::CMAEvolutionStrategyOptimizer for more information.
example: (PositionToleranceMax 0.001 0.0001 0.000001)
Default value: 1e8. Can be specified for each resolution.

PopulationSize: the number of parameter vectors evaluated in each iteration.
If you set it to 0, a default value is calculated by the optimizer, which is reported back to the elastix.log file.
example: (PopulationSize 0 20 20)
Default: 0 (so, automatically determined). Can be specified for each resolution.

NumberOfParents: the number of parameter vectors selected for recombination.
If you set it to 0, a default value is calculated by the optimizer, which is reported back to the elastix.log file.
example: (NumberOfParents 0 10 10)
Default: 0 (so, automatically determined). Can be specified for each resolution.
This value must be less than or equal to the PopulationSize.

MaximumDeviation: the step length is limited to this value. See the documentation of the itk::CMAEvolutionStrategyOptimizer for more information.
example: (MaximumDeviation 10.0 10.0 5.0)
Default: 10.0 * positionToleranceMax = practically infinity. Can be specified for each resolution.

MinimumDeviation: the step length is ensured to be greater than this value.
See the documentation of the itk::CMAEvolutionStrategyOptimizer for more information.
example: (MinimumDeviation 0.01 0.01 0.0001)
Default: 0.0. Can be specified for each resolution.

UseDecayingSigma: use a predefined decaying function to control the steplength sigma.
example: (UseDecayingSigma "false" "true" "false")
Default/recommended: "false". Can be specified for each resolution.
If you set it to true the SP_A and SP_alpha parameters apply.

SP_A: If UseDecayingSigma is set to "true", the steplength $sigma(k)$ at each iteration $k$ is defined by:
$sigma(k+1) = sigma(k) (SP\_A + k)^{SP\_alpha} / (SP\_A + k + 1)^{SP\_alpha}$.
where sigma(0) is set by the parameter "StepLength".
example: (SP_A 50.0 50.0 100.0)
The default value is 50.0. SP_A can be defined for each resolution.

SP_alpha: If UseDecayingSigma is set to "true", the steplength $sigma(k)$ at each iteration $k$ is defined by:
$sigma(k+1) = sigma(k) (SP\_A + k)^{SP\_alpha} / (SP\_A + k + 1)^{SP\_alpha}$.
where sigma(0) is set by the parameter "StepLength".
example: (SP_alpha 0.602 0.602 0.602)
The default value is 0.602. SP_alpha can be defined for each resolution.

UseCovarianceMatrixAdaptation: a boolean that determines whether to use the covariance matrix adaptation scheme.
example: (UseCovarianceMatrixAdaptation "false" "true" "true")
Default: "true". This parameter may be altered by the optimizer. The actual value used is
reported back in the elastix.log file. This parameter can be specified for each resolution.

RecombinationWeightsPreset: the name of a preset for the recombination weights.
See the documentation of the itk::CMAEvolutionStrategyOptimizer for more information.
example: (UseCovarianceMatrixAdaptation "equal" "linear" "superlinear")
Default/recommended: "superlinear". Choose one of {"equal", "linear", "superlinear"}. This parameter can be specified for each resolution.

UpdateBDPeriod: the number of iterations after which the eigendecomposition of the covariance matrix is updated. If 0, the optimizer estimates a value. The actual value used is reported back in the elastix.log file. This parameter can be specified for each resolution.
example: (UpdateBDPeriod 0 0 50)
Default: 0 (so, automatically determined).

Definition at line 115 of file elxCMAEvolutionStrategy.h.

+ Inheritance diagram for elastix::CMAEvolutionStrategy< TElastix >:

Public Types

typedef Superclass2::ConfigurationPointer ConfigurationPointer
 
typedef Superclass2::ConfigurationType ConfigurationType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass1::CostFunctionPointer CostFunctionPointer
 
typedef Superclass1::CostFunctionType CostFunctionType
 
typedef Superclass1::DerivativeType DerivativeType
 
typedef Superclass2::ElastixPointer ElastixPointer
 
typedef Superclass2::ElastixType ElastixType
 
typedef Superclass2::ITKBaseType ITKBaseType
 
typedef Superclass1::ParametersType ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass2::RegistrationPointer RegistrationPointer
 
typedef Superclass2::RegistrationType RegistrationType
 
typedef Superclass1::ScalesType ScalesType
 
typedef CMAEvolutionStrategy Self
 
typedef Superclass1::StopConditionType StopConditionType
 
typedef CMAEvolutionStrategyOptimizer Superclass1
 
typedef OptimizerBase< TElastix > Superclass2
 
- Public Types inherited from itk::CMAEvolutionStrategyOptimizer
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CostFunctionType CostFunctionType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScaledCostFunctionType ScaledCostFunctionType
 
typedef Superclass::ScalesType ScalesType
 
typedef CMAEvolutionStrategyOptimizer Self
 
enum  StopConditionType {
  MetricError , MaximumNumberOfIterations , PositionToleranceMin , PositionToleranceMax ,
  ValueTolerance , ZeroStepLength , Unknown
}
 
typedef ScaledSingleValuedNonLinearOptimizer Superclass
 
- Public Types inherited from itk::ScaledSingleValuedNonLinearOptimizer
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::CostFunctionType CostFunctionType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::MeasureType MeasureType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef ScaledCostFunctionType::Pointer ScaledCostFunctionPointer
 
typedef ScaledSingleValuedCostFunction ScaledCostFunctionType
 
typedef NonLinearOptimizer::ScalesType ScalesType
 
typedef ScaledSingleValuedNonLinearOptimizer Self
 
typedef SingleValuedNonLinearOptimizer Superclass
 
- Public Types inherited from elastix::OptimizerBase< TElastix >
typedef Superclass::ConfigurationPointer ConfigurationPointer
 
typedef Superclass::ConfigurationType ConfigurationType
 
typedef Superclass::ElastixPointer ElastixPointer
 
typedef Superclass::ElastixType ElastixType
 
typedef itk::Optimizer ITKBaseType
 
typedef ITKBaseType::ParametersType ParametersType
 
typedef Superclass::RegistrationPointer RegistrationPointer
 
typedef Superclass::RegistrationType RegistrationType
 
typedef OptimizerBase Self
 
typedef BaseComponentSE< TElastix > Superclass
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
typedef Configuration::Pointer ConfigurationPointer
 
typedef Configuration ConfigurationType
 
typedef itk::WeakPointer< ElastixTypeElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

void AfterEachIteration (void) override
 
void AfterEachResolution (void) override
 
void AfterRegistration (void) override
 
void BeforeEachResolution (void) override
 
void BeforeRegistration (void) override
 
 elxClassNameMacro ("CMAEvolutionStrategy")
 
virtual const char * GetClassName () const
 
void StartOptimization (void) override
 
- Public Member Functions inherited from itk::CMAEvolutionStrategyOptimizer
virtual const char * GetClassName () const
 
virtual unsigned long GetCurrentIteration () const
 
virtual double GetCurrentMaximumD () const
 
virtual double GetCurrentMinimumD () const
 
virtual const ParametersTypeGetCurrentScaledStep ()
 
virtual double GetCurrentSigma () const
 
virtual double GetCurrentStepLength (void) const
 
virtual MeasureType GetCurrentValue () const
 
virtual double GetInitialSigma () const
 
virtual double GetMaximumDeviation () const
 
virtual unsigned long GetMaximumNumberOfIterations () const
 
virtual double GetMinimumDeviation () const
 
virtual unsigned int GetNumberOfParents () const
 
virtual unsigned int GetPopulationSize () const
 
virtual double GetPositionToleranceMax () const
 
virtual double GetPositionToleranceMin () const
 
virtual const char * GetRecombinationWeightsPreset () const
 
virtual double GetSigmaDecayA () const
 
virtual double GetSigmaDecayAlpha () const
 
virtual const StopConditionTypeGetStopCondition ()
 
virtual unsigned int GetUpdateBDPeriod () const
 
virtual bool GetUseCovarianceMatrixAdaptation () const
 
virtual bool GetUseDecayingSigma () const
 
virtual double GetValueTolerance () const
 
virtual void ResumeOptimization (void)
 
virtual void SetInitialSigma (double _arg)
 
virtual void SetMaximumDeviation (double _arg)
 
virtual void SetMaximumNumberOfIterations (unsigned long _arg)
 
virtual void SetMinimumDeviation (double _arg)
 
virtual void SetNumberOfParents (unsigned int _arg)
 
virtual void SetPopulationSize (unsigned int _arg)
 
virtual void SetPositionToleranceMax (double _arg)
 
virtual void SetPositionToleranceMin (double _arg)
 
virtual void SetRecombinationWeightsPreset (const char *_arg)
 
virtual void SetSigmaDecayA (double _arg)
 
virtual void SetSigmaDecayAlpha (double _arg)
 
virtual void SetUpdateBDPeriod (unsigned int _arg)
 
virtual void SetUseCovarianceMatrixAdaptation (bool _arg)
 
virtual void SetUseDecayingSigma (bool _arg)
 
virtual void SetValueTolerance (double _arg)
 
void StartOptimization (void) override
 
virtual void StopOptimization (void)
 
- Public Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer
virtual const char * GetClassName () const
 
const ParametersTypeGetCurrentPosition (void) const override
 
virtual bool GetMaximize () const
 
virtual const ScaledCostFunctionTypeGetScaledCostFunction ()
 
virtual const ParametersTypeGetScaledCurrentPosition ()
 
bool GetUseScales (void) const
 
virtual void InitializeScales (void)
 
virtual void MaximizeOff ()
 
virtual void MaximizeOn ()
 
void SetCostFunction (CostFunctionType *costFunction) override
 
virtual void SetMaximize (bool _arg)
 
virtual void SetUseScales (bool arg)
 
- Public Member Functions inherited from elastix::OptimizerBase< TElastix >
void AfterRegistrationBase (void) override
 
void BeforeEachResolutionBase () override
 
virtual ITKBaseTypeGetAsITKBaseType (void)
 
virtual const ITKBaseTypeGetAsITKBaseType (void) const
 
virtual const char * GetClassName () const
 
virtual void SetCurrentPositionPublic (const ParametersType &param)
 
virtual void SetSinusScales (double amplitude, double frequency, unsigned long numberOfParameters)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
ConfigurationTypeGetConfiguration (void) const
 
ElastixTypeGetElastix (void) const
 
RegistrationPointer GetRegistration (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE)
 
void SetConfiguration (ConfigurationType *_arg)
 
void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (void)
 
virtual void BeforeRegistrationBase (void)
 
virtual const char * elxGetClassName (void) const
 
const char * GetComponentLabel (void) const
 
 ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent)
 
 itkTypeMacroNoParent (BaseComponent)
 
void SetComponentLabel (const char *label, unsigned int idx)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::CMAEvolutionStrategyOptimizer
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer
static Pointer New ()
 
- Static Public Member Functions inherited from elastix::BaseComponent
static std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision)
 
static void InitializeElastixExecutable ()
 
static bool IsElastixLibrary ()
 

Protected Member Functions

 CMAEvolutionStrategy ()
 
void InitializeProgressVariables (void) override
 
 ~CMAEvolutionStrategy () override
 
- Protected Member Functions inherited from itk::CMAEvolutionStrategyOptimizer
virtual void AdvanceOneStep (void)
 
 CMAEvolutionStrategyOptimizer ()
 
virtual void FixNumericalErrors (void)
 
virtual void GenerateOffspring (void)
 
virtual void InitializeBCD (void)
 
virtual void InitializeConstants (void)
 
virtual void InitializeProgressVariables (void)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SortCostFunctionValues (void)
 
virtual bool TestConvergence (bool firstCheck)
 
virtual void UpdateBD (void)
 
virtual void UpdateC (void)
 
virtual void UpdateConjugateEvolutionPath (void)
 
virtual void UpdateEvolutionPath (void)
 
virtual void UpdateHeaviside (void)
 
virtual void UpdateSigma (void)
 
 ~CMAEvolutionStrategyOptimizer () override
 
- Protected Member Functions inherited from itk::ScaledSingleValuedNonLinearOptimizer
virtual void GetScaledDerivative (const ParametersType &parameters, DerivativeType &derivative) const
 
virtual MeasureType GetScaledValue (const ParametersType &parameters) const
 
virtual void GetScaledValueAndDerivative (const ParametersType &parameters, MeasureType &value, DerivativeType &derivative) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ScaledSingleValuedNonLinearOptimizer ()
 
void SetCurrentPosition (const ParametersType &param) override
 
virtual void SetScaledCurrentPosition (const ParametersType &parameters)
 
 ~ScaledSingleValuedNonLinearOptimizer () override
 
- Protected Member Functions inherited from elastix::OptimizerBase< TElastix >
virtual bool GetNewSamplesEveryIteration (void) const
 
 OptimizerBase ()
 
virtual void SelectNewSamples (void)
 
 ~OptimizerBase () override
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()=default
 
 ~BaseComponentSE () override=default
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()=default
 
virtual ~BaseComponent ()=default
 

Private Member Functions

 CMAEvolutionStrategy (const Self &)
 
void operator= (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::CMAEvolutionStrategyOptimizer
typedef Array2D< doubleCovarianceMatrixType
 
typedef vnl_diag_matrix< doubleEigenValueMatrixType
 
typedef std::vector< MeasureIndexPairTypeMeasureContainerType
 
typedef std::deque< MeasureTypeMeasureHistoryType
 
typedef std::pair< MeasureType, unsigned intMeasureIndexPairType
 
typedef std::vector< ParametersTypeParameterContainerType
 
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType
 
typedef Array< doubleRecombinationWeightsType
 
- Protected Attributes inherited from itk::CMAEvolutionStrategyOptimizer
CovarianceMatrixType m_B
 
CovarianceMatrixType m_C
 
ParametersType m_ConjugateEvolutionPath
 
double m_ConjugateEvolutionPathConstant
 
MeasureContainerType m_CostFunctionValues
 
double m_CovarianceMatrixAdaptationConstant
 
double m_CovarianceMatrixAdaptationWeight
 
unsigned long m_CurrentIteration
 
double m_CurrentMaximumD
 
double m_CurrentMinimumD
 
ParametersType m_CurrentNormalizedStep
 
ParametersType m_CurrentScaledStep
 
double m_CurrentSigma
 
MeasureType m_CurrentValue
 
EigenValueMatrixType m_D
 
double m_EffectiveMu
 
ParametersType m_EvolutionPath
 
double m_EvolutionPathConstant
 
double m_ExpectationNormNormalDistribution
 
bool m_Heaviside
 
unsigned long m_HistoryLength
 
MeasureHistoryType m_MeasureHistory
 
ParameterContainerType m_NormalizedSearchDirs
 
unsigned int m_NumberOfParents
 
unsigned int m_PopulationSize
 
RandomGeneratorType::Pointer m_RandomGenerator
 
RecombinationWeightsType m_RecombinationWeights
 
ParameterContainerType m_SearchDirs
 
double m_SigmaDampingConstant
 
bool m_Stop
 
StopConditionType m_StopCondition
 
unsigned int m_UpdateBDPeriod
 
bool m_UseCovarianceMatrixAdaptation
 
- Protected Attributes inherited from itk::ScaledSingleValuedNonLinearOptimizer
ScaledCostFunctionPointer m_ScaledCostFunction
 
ParametersType m_ScaledCurrentPosition
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
ElastixPointer m_Elastix {}
 
RegistrationPointer m_Registration {}
 

Member Typedef Documentation

◆ ConfigurationPointer

template<class TElastix >
typedef Superclass2::ConfigurationPointer elastix::CMAEvolutionStrategy< TElastix >::ConfigurationPointer

Definition at line 154 of file elxCMAEvolutionStrategy.h.

◆ ConfigurationType

template<class TElastix >
typedef Superclass2::ConfigurationType elastix::CMAEvolutionStrategy< TElastix >::ConfigurationType

Definition at line 153 of file elxCMAEvolutionStrategy.h.

◆ ConstPointer

template<class TElastix >
typedef itk::SmartPointer< const Self > elastix::CMAEvolutionStrategy< TElastix >::ConstPointer

Definition at line 128 of file elxCMAEvolutionStrategy.h.

◆ CostFunctionPointer

template<class TElastix >
typedef Superclass1::CostFunctionPointer elastix::CMAEvolutionStrategy< TElastix >::CostFunctionPointer

Definition at line 144 of file elxCMAEvolutionStrategy.h.

◆ CostFunctionType

template<class TElastix >
typedef Superclass1::CostFunctionType elastix::CMAEvolutionStrategy< TElastix >::CostFunctionType

Typedef's inherited from Superclass1.

Definition at line 143 of file elxCMAEvolutionStrategy.h.

◆ DerivativeType

template<class TElastix >
typedef Superclass1::DerivativeType elastix::CMAEvolutionStrategy< TElastix >::DerivativeType

Definition at line 147 of file elxCMAEvolutionStrategy.h.

◆ ElastixPointer

template<class TElastix >
typedef Superclass2::ElastixPointer elastix::CMAEvolutionStrategy< TElastix >::ElastixPointer

Definition at line 152 of file elxCMAEvolutionStrategy.h.

◆ ElastixType

template<class TElastix >
typedef Superclass2::ElastixType elastix::CMAEvolutionStrategy< TElastix >::ElastixType

Typedef's inherited from Elastix.

Definition at line 151 of file elxCMAEvolutionStrategy.h.

◆ ITKBaseType

template<class TElastix >
typedef Superclass2::ITKBaseType elastix::CMAEvolutionStrategy< TElastix >::ITKBaseType

Definition at line 157 of file elxCMAEvolutionStrategy.h.

◆ ParametersType

template<class TElastix >
typedef Superclass1::ParametersType elastix::CMAEvolutionStrategy< TElastix >::ParametersType

Definition at line 146 of file elxCMAEvolutionStrategy.h.

◆ Pointer

template<class TElastix >
typedef itk::SmartPointer< Self > elastix::CMAEvolutionStrategy< TElastix >::Pointer

Definition at line 127 of file elxCMAEvolutionStrategy.h.

◆ RegistrationPointer

template<class TElastix >
typedef Superclass2::RegistrationPointer elastix::CMAEvolutionStrategy< TElastix >::RegistrationPointer

Definition at line 156 of file elxCMAEvolutionStrategy.h.

◆ RegistrationType

template<class TElastix >
typedef Superclass2::RegistrationType elastix::CMAEvolutionStrategy< TElastix >::RegistrationType

Definition at line 155 of file elxCMAEvolutionStrategy.h.

◆ ScalesType

template<class TElastix >
typedef Superclass1::ScalesType elastix::CMAEvolutionStrategy< TElastix >::ScalesType

Definition at line 148 of file elxCMAEvolutionStrategy.h.

◆ Self

template<class TElastix >
typedef CMAEvolutionStrategy elastix::CMAEvolutionStrategy< TElastix >::Self

Standard ITK.

Definition at line 124 of file elxCMAEvolutionStrategy.h.

◆ StopConditionType

template<class TElastix >
typedef Superclass1::StopConditionType elastix::CMAEvolutionStrategy< TElastix >::StopConditionType

Definition at line 145 of file elxCMAEvolutionStrategy.h.

◆ Superclass1

template<class TElastix >
typedef CMAEvolutionStrategyOptimizer elastix::CMAEvolutionStrategy< TElastix >::Superclass1

Definition at line 125 of file elxCMAEvolutionStrategy.h.

◆ Superclass2

template<class TElastix >
typedef OptimizerBase< TElastix > elastix::CMAEvolutionStrategy< TElastix >::Superclass2

Definition at line 126 of file elxCMAEvolutionStrategy.h.

Constructor & Destructor Documentation

◆ CMAEvolutionStrategy() [1/2]

template<class TElastix >
elastix::CMAEvolutionStrategy< TElastix >::CMAEvolutionStrategy ( )
inlineprotected

Definition at line 177 of file elxCMAEvolutionStrategy.h.

◆ ~CMAEvolutionStrategy()

template<class TElastix >
elastix::CMAEvolutionStrategy< TElastix >::~CMAEvolutionStrategy ( )
inlineoverrideprotected

Definition at line 178 of file elxCMAEvolutionStrategy.h.

◆ CMAEvolutionStrategy() [2/2]

template<class TElastix >
elastix::CMAEvolutionStrategy< TElastix >::CMAEvolutionStrategy ( const Self )
private

Member Function Documentation

◆ AfterEachIteration()

template<class TElastix >
void elastix::CMAEvolutionStrategy< TElastix >::AfterEachIteration ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ AfterEachResolution()

template<class TElastix >
void elastix::CMAEvolutionStrategy< TElastix >::AfterEachResolution ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ AfterRegistration()

template<class TElastix >
void elastix::CMAEvolutionStrategy< TElastix >::AfterRegistration ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ BeforeEachResolution()

template<class TElastix >
void elastix::CMAEvolutionStrategy< TElastix >::BeforeEachResolution ( void  )
overridevirtual

Reimplemented from elastix::BaseComponent.

◆ BeforeRegistration()

template<class TElastix >
void elastix::CMAEvolutionStrategy< TElastix >::BeforeRegistration ( void  )
overridevirtual

Methods to set parameters and print output at different stages in the registration process.

Reimplemented from elastix::BaseComponent.

◆ elxClassNameMacro()

template<class TElastix >
elastix::CMAEvolutionStrategy< TElastix >::elxClassNameMacro ( "CMAEvolutionStrategy< TElastix >"  )

Name of this class. Use this name in the parameter file to select this specific optimizer.
example: (Optimizer "CMAEvolutionStrategy")

◆ GetClassName()

template<class TElastix >
virtual const char * elastix::CMAEvolutionStrategy< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::CMAEvolutionStrategyOptimizer.

◆ InitializeProgressVariables()

template<class TElastix >
void elastix::CMAEvolutionStrategy< TElastix >::InitializeProgressVariables ( void  )
overrideprotectedvirtual

Call the superclass' implementation and print the value of some variables

Reimplemented from itk::CMAEvolutionStrategyOptimizer.

◆ New()

template<class TElastix >
static Pointer elastix::CMAEvolutionStrategy< TElastix >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TElastix >
void elastix::CMAEvolutionStrategy< TElastix >::operator= ( const Self )
private

◆ StartOptimization()

template<class TElastix >
void elastix::CMAEvolutionStrategy< TElastix >::StartOptimization ( void  )
override

Check if any scales are set, and set the UseScales flag on or off; after that call the superclass' implementation



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo