#include <ITiglObjectiveFunction.h>
◆ ITiglObjectiveFunction()
TIGL_EXPORT tigl::ITiglObjectiveFunction::ITiglObjectiveFunction |
( |
| ) |
|
◆ ~ITiglObjectiveFunction()
virtual TIGL_EXPORT tigl::ITiglObjectiveFunction::~ITiglObjectiveFunction |
( |
| ) |
|
|
virtual |
◆ getFunctionValue()
virtual TIGL_EXPORT double tigl::ITiglObjectiveFunction::getFunctionValue |
( |
const double * |
x | ) |
const |
|
pure virtual |
◆ getGradient()
virtual TIGL_EXPORT void tigl::ITiglObjectiveFunction::getGradient |
( |
const double * |
x, |
|
|
double * |
dx |
|
) |
| const |
|
virtual |
◆ getGradientHessian()
virtual TIGL_EXPORT void tigl::ITiglObjectiveFunction::getGradientHessian |
( |
const double * |
x, |
|
|
double * |
dx, |
|
|
double * |
H |
|
) |
| const |
|
virtual |
Sometimes it is more efficient to calculate gradient and hessian at once for these cases this function is provided. In the default implementation, it calls getGradient and getHessian succesively.
Reimplemented in tigl::CTiglPointTranslator::SegmentProjection.
◆ getHessian()
virtual TIGL_EXPORT void tigl::ITiglObjectiveFunction::getHessian |
( |
const double * |
x, |
|
|
double * |
H |
|
) |
| const |
|
virtual |
◆ getNumericalGradient()
virtual TIGL_EXPORT void tigl::ITiglObjectiveFunction::getNumericalGradient |
( |
const double * |
x, |
|
|
double * |
dx |
|
) |
| const |
|
virtual |
provides a routine for the numerical gradient calculation
◆ getNumericalHessian()
virtual TIGL_EXPORT void tigl::ITiglObjectiveFunction::getNumericalHessian |
( |
const double * |
x, |
|
|
double * |
H |
|
) |
| const |
|
virtual |
provides a routine for the numerical hessian calculation
◆ getParameterCount()
virtual TIGL_EXPORT int tigl::ITiglObjectiveFunction::getParameterCount |
( |
| ) |
const |
|
pure virtual |
◆ hasAnalyticGradient()
virtual TIGL_EXPORT bool tigl::ITiglObjectiveFunction::hasAnalyticGradient |
( |
| ) |
const |
|
pure virtual |
◆ hasAnalyticHessian()
virtual TIGL_EXPORT bool tigl::ITiglObjectiveFunction::hasAnalyticHessian |
( |
| ) |
const |
|
pure virtual |
◆ setNumericalStepSize()
TIGL_EXPORT void tigl::ITiglObjectiveFunction::setNumericalStepSize |
( |
double |
h | ) |
|
double tigl::ITiglObjectiveFunction::h |
|
private |
The documentation for this class was generated from the following file: