Go to the documentation of this file.
18 #ifndef __itkGradientDescentOptimizer2_h
19 #define __itkGradientDescentOptimizer2_h
22 #include "itkMultiThreader.h"
106 itkSetMacro( LearningRate,
double );
109 itkGetConstReferenceMacro( LearningRate,
double );
112 itkSetMacro( NumberOfIterations,
unsigned long );
115 itkGetConstReferenceMacro( NumberOfIterations,
unsigned long );
118 itkGetConstMacro( CurrentIteration,
unsigned int );
121 itkGetConstReferenceMacro( Value,
double );
135 this->
m_Threader->SetNumberOfThreads( numberOfThreads );
140 itkSetMacro( UseMultiThread,
bool );
141 itkSetMacro( UseOpenMP,
bool );
142 itkSetMacro( UseEigen,
bool );
148 void PrintSelf( std::ostream & os, Indent indent )
const;
virtual void AdvanceOneStep(void)
virtual void ResumeOptimization(void)
ScaledSingleValuedCostFunction ScaledCostFunctionType
static ITK_THREAD_RETURN_TYPE AdvanceOneStepThreaderCallback(void *arg)
ScaledCostFunctionType::Pointer ScaledCostFunctionPointer
ThreaderType::Pointer m_Threader
Superclass::ScalesType ScalesType
virtual void StartOptimization(void)
DerivativeType m_Gradient
Superclass::ParametersType ParametersType
Implement a gradient descent optimizer.
void operator=(const Self &)
ScaledSingleValuedNonLinearOptimizer Superclass
void SetNumberOfThreads(ThreadIdType numberOfThreads)
@ MaximumNumberOfIterations
unsigned long m_CurrentIteration
Superclass::DerivativeType DerivativeType
virtual void StopOptimization(void)
SmartPointer< Self > Pointer
StopConditionType m_StopCondition
unsigned long m_NumberOfIterations
Superclass::ScaledCostFunctionType ScaledCostFunctionType
GradientDescentOptimizer2()
Superclass::ScaledCostFunctionPointer ScaledCostFunctionPointer
Superclass::CostFunctionType CostFunctionType
Superclass::MeasureType MeasureType
GradientDescentOptimizer2(const Self &)
Superclass::MeasureType MeasureType
void ThreadedAdvanceOneStep(ThreadIdType threadId, ParametersType &newPosition)
Superclass::ParametersType ParametersType
Superclass::DerivativeType DerivativeType
ParametersType * t_NewPosition
DerivativeType m_SearchDirection
Superclass::CostFunctionType CostFunctionType
ThreaderType::ThreadInfoStruct ThreadInfoType
SmartPointer< const Self > ConstPointer
NonLinearOptimizer::ScalesType ScalesType
itk::MultiThreader ThreaderType
virtual void MetricErrorResponse(ExceptionObject &err)
void PrintSelf(std::ostream &os, Indent indent) const
virtual ~GradientDescentOptimizer2()
GradientDescentOptimizer2 Self
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|