71 using Superclass::MeasureType;
72 using Superclass::ParametersType;
73 using Superclass::DerivativeType;
74 using Superclass::CostFunctionType;
115 itkSetMacro(LearningRate,
double);
118 itkGetConstReferenceMacro(LearningRate,
double);
121 itkSetMacro(NumberOfIterations,
unsigned long);
124 itkGetConstMacro(LBFGSMemory,
unsigned int);
127 itkGetConstReferenceMacro(NumberOfIterations,
unsigned long);
130 itkGetConstReferenceMacro(NumberOfInnerIterations,
unsigned long);
133 itkGetConstMacro(CurrentIteration,
unsigned int);
136 itkGetConstMacro(CurrentInnerIteration,
unsigned int);
139 itkGetConstReferenceMacro(Value,
double);
145 itkGetConstReferenceMacro(Gradient, DerivativeType);
148 itkGetConstReferenceMacro(SearchDir, DerivativeType);
151 itkSetMacro(PreviousPosition, ParametersType);
154 itkGetConstReferenceMacro(PreviousPosition, ParametersType);
157 itkSetMacro(PreviousGradient, DerivativeType);
160 itkGetConstReferenceMacro(PreviousGradient, DerivativeType);
166 this->
m_Threader->SetNumberOfWorkUnits(numberOfThreads);
169 itkSetMacro(UseMultiThread,
bool);
170 itkSetMacro(UseEigen,
bool);
176 PrintSelf(std::ostream & os, Indent indent)
const override;
193 MultiThreaderBase::Pointer
m_Threader{ MultiThreaderBase::New() };
214 static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION