diff options
Diffstat (limited to 'include/ceres/iteration_callback.h')
-rw-r--r-- | include/ceres/iteration_callback.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ceres/iteration_callback.h b/include/ceres/iteration_callback.h index 57cf0a6..987c2d9 100644 --- a/include/ceres/iteration_callback.h +++ b/include/ceres/iteration_callback.h @@ -52,6 +52,10 @@ struct IterationSummary { gradient_max_norm(0.0), step_norm(0.0), eta(0.0), + step_size(0.0), + line_search_function_evaluations(0), + line_search_gradient_evaluations(0), + line_search_iterations(0), linear_solver_iterations(0), iteration_time_in_seconds(0.0), step_solver_time_in_seconds(0.0), @@ -116,10 +120,24 @@ struct IterationSummary { // ignore it. double eta; + // Step sized computed by the line search algorithm. + double step_size; + + // Number of function value evaluations used by the line search algorithm. + int line_search_function_evaluations; + + // Number of function gradient evaluations used by the line search algorithm. + int line_search_gradient_evaluations; + + // Number of iterations taken by the line search algorithm. + int line_search_iterations; + // Number of iterations taken by the linear solver to solve for the // Newton step. int linear_solver_iterations; + // All times reported below are wall times. + // Time (in seconds) spent inside the minimizer loop in the current // iteration. double iteration_time_in_seconds; |