Glue class for function and gradient evaluation. More...
Public Types | |
typedef InverseInterpolationVolumeReconstruction < TInterpolator > | FunctionType |
Function class type. | |
Public Member Functions | |
FunctionAndGradient (FunctionType *function) | |
Constructor. | |
virtual void | Evaluate (const ap::real_1d_array &x, ap::real_value_type &f, ap::real_1d_array &g) |
Evaluate function and gradient. | |
virtual void | NextIteration (const int iteration) |
Get notified when L-BFGS-B goes into next iteration. | |
Private Attributes | |
FunctionType * | m_Function |
Pointer to actual function class. |
Glue class for function and gradient evaluation.
Definition at line 112 of file cmtkInverseInterpolationVolumeReconstruction.h.
typedef InverseInterpolationVolumeReconstruction<TInterpolator> cmtk::InverseInterpolationVolumeReconstruction< TInterpolator >::FunctionAndGradient::FunctionType |
Function class type.
Definition at line 118 of file cmtkInverseInterpolationVolumeReconstruction.h.
cmtk::InverseInterpolationVolumeReconstruction< TInterpolator >::FunctionAndGradient::FunctionAndGradient | ( | FunctionType * | function ) | [inline] |
Constructor.
Definition at line 121 of file cmtkInverseInterpolationVolumeReconstruction.h.
void cmtk::InverseInterpolationVolumeReconstruction< TInterpolator >::FunctionAndGradient::Evaluate | ( | const ap::real_1d_array & | x, |
ap::real_value_type & | f, | ||
ap::real_1d_array & | g | ||
) | [virtual] |
Evaluate function and gradient.
Definition at line 287 of file cmtkInverseInterpolationVolumeReconstruction.txx.
References cmtk::InverseInterpolationVolumeReconstruction< TInterpolator >::Interpolation().
virtual void cmtk::InverseInterpolationVolumeReconstruction< TInterpolator >::FunctionAndGradient::NextIteration | ( | const int | iteration ) | [inline, virtual] |
Get notified when L-BFGS-B goes into next iteration.
Definition at line 130 of file cmtkInverseInterpolationVolumeReconstruction.h.
FunctionType* cmtk::InverseInterpolationVolumeReconstruction< TInterpolator >::FunctionAndGradient::m_Function [private] |
Pointer to actual function class.
Definition at line 137 of file cmtkInverseInterpolationVolumeReconstruction.h.