struct mp2p_icp::GaussNewtonDiagnostics

Overview

Read-only statistics of the optimal_tf_gauss_newton() calls made by the calling thread since the last gauss_newton_diagnostics_reset(). Meant for diagnostics: how much the Birge ratio rescales the cov2cov block against the prior, which is not observable from the solution. Collecting them never changes a solve.

#include <optimal_tf_gauss_newton.h>

struct GaussNewtonDiagnostics
{
    // fields

    size_t calls = 0;
    size_t inner_iterations = 0;
    size_t birge_active_iterations = 0;
    size_t birge_above_one_iterations = 0;
    double first_kappa = 1.0;
    double last_kappa = 1.0;
    double max_kappa = 1.0;
    double last_chi2_cov2cov = 0;
    double last_dof_cov2cov = 0;
    size_t last_n_cov2cov = 0;
};

Fields

size_t calls = 0

Number of optimal_tf_gauss_newton() calls.

size_t inner_iterations = 0

Number of inner Gauss-Newton iterations, over all calls.

size_t birge_active_iterations = 0

Inner iterations where the Birge ratio was active (prior present).

size_t birge_above_one_iterations = 0

Inner iterations where the Birge ratio was active and above 1.

double first_kappa = 1.0

Birge ratio of the first and the last inner iteration (1 if inactive).

double max_kappa = 1.0

Largest Birge ratio over all inner iterations.

double last_chi2_cov2cov = 0

Robust-weighted chi-square of the cov2cov block, its degrees of freedom and pairing count, on the last inner iteration.