70 using Superclass::MeasureType;
71 using Superclass::ParametersType;
72 using Superclass::DerivativeType;
73 using Superclass::CostFunctionType;
114 itkSetMacro(LearningRate,
double);
117 itkGetConstReferenceMacro(LearningRate,
double);
120 itkSetMacro(NumberOfIterations,
unsigned long);
123 itkGetConstMacro(LBFGSMemory,
unsigned int);
126 itkGetConstReferenceMacro(NumberOfIterations,
unsigned long);
129 itkGetConstReferenceMacro(NumberOfInnerIterations,
unsigned long);
132 itkGetConstMacro(CurrentIteration,
unsigned int);
135 itkGetConstMacro(CurrentInnerIteration,
unsigned int);
138 itkGetConstReferenceMacro(Value,
double);
144 itkGetConstReferenceMacro(Gradient, DerivativeType);
147 itkGetConstReferenceMacro(SearchDir, DerivativeType);
150 itkSetMacro(PreviousPosition, ParametersType);
153 itkGetConstReferenceMacro(PreviousPosition, ParametersType);
156 itkSetMacro(PreviousGradient, DerivativeType);
159 itkGetConstReferenceMacro(PreviousGradient, DerivativeType);
165 this->
m_Threader->SetNumberOfWorkUnits(numberOfThreads);
168 itkSetMacro(UseMultiThread,
bool);
169 itkSetMacro(UseEigen,
bool);
175 PrintSelf(std::ostream & os, Indent indent)
const override;
192 MultiThreaderBase::Pointer
m_Threader{ MultiThreaderBase::New() };
213 static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION