mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Add an example for EvaluationCallback
Change-Id: Ia488f8b181118c8d07861149c4bd52f7217336ce
This commit is contained in:
@@ -66,8 +66,12 @@ class CERES_EXPORT EvaluationCallback {
|
||||
|
||||
// Called before Ceres requests residuals or jacobians for a given setting of
|
||||
// the parameters. User parameters (the double* values provided to the cost
|
||||
// functions) are fixed until the next call to PrepareForEvaluation(). If
|
||||
// new_evaluation_point == true, then this is a new point that is different
|
||||
// functions) are fixed until the next call to PrepareForEvaluation().
|
||||
//
|
||||
// If evaluate_jacobians == true, then the user provided CostFunctions will be
|
||||
// asked to evaluate one or more of their Jacobians.
|
||||
//
|
||||
// If new_evaluation_point == true, then this is a new point that is different
|
||||
// from the last evaluated point. Otherwise, it is the same point that was
|
||||
// evaluated previously (either jacobian or residual) and the user can use
|
||||
// cached results from previous evaluations.
|
||||
|
||||
Reference in New Issue
Block a user