27 #ifndef G2O_BATCH_STATS_H_ 28 #define G2O_BATCH_STATS_H_ statistics about the optimization
int numVertices
how many vertices are involved
static G2OBatchStatistics * _globalStats
double timeIteration
total time;
std::ostream & operator<<(std::ostream &os, const G2OBatchStatistics &st)
double timeResiduals
residuals
int levenbergIterations
number of iterations performed by LM
int iteration
which iteration
size_t choleskyNNZ
number of non-zeros in the cholesky factor
size_t hessianPoseDimension
dimension of the pose matrix in Schur
int iterationsLinearSolver
iterations of PCG, (0 if not used, i.e., Cholesky)
size_t hessianLandmarkDimension
dimension of the landmark matrix in Schur
int numEdges
how many edges
static G2OBatchStatistics * globalStats()
double timeNumericDecomposition
numeric decomposition (0 if not done)
double timeUpdate
time to apply the update
size_t hessianDimension
rows / cols of the Hessian
double timeSchurComplement
compute schur complement (0 if not done)
double timeSymbolicDecomposition
symbolic decomposition (0 if not done)
double timeQuadraticForm
construct the quadratic form in the graph
double timeLinearize
jacobians
double timeLinearSolution
total time for solving Ax=b (including detup for schur)
std::vector< G2OBatchStatistics > BatchStatisticsContainer
double timeLinearSolver
time for solving, excluding Schur setup
static void setGlobalStats(G2OBatchStatistics *b)
double timeMarginals
computing the inverse elements (solve blocks) and thus the marginal covariances