Lines Matching refs:summary
39 void SetSummaryFinalCost(Solver::Summary* summary) {
40 summary->final_cost = summary->initial_cost;
43 for (int i = 0; i < summary->iterations.size(); ++i) {
44 const IterationSummary& iteration_summary = summary->iterations[i];
45 summary->final_cost = min(iteration_summary.cost, summary->final_cost);
49 void SummarizeGivenProgram(const Program& program, Solver::Summary* summary) {
50 summary->num_parameter_blocks = program.NumParameterBlocks();
51 summary->num_parameters = program.NumParameters();
52 summary->num_effective_parameters = program.NumEffectiveParameters();
53 summary->num_residual_blocks = program.NumResidualBlocks();
54 summary->num_residuals = program.NumResiduals();
57 void SummarizeReducedProgram(const Program& program, Solver::Summary* summary) {
58 summary->num_parameter_blocks_reduced = program.NumParameterBlocks();
59 summary->num_parameters_reduced = program.NumParameters();
60 summary->num_effective_parameters_reduced = program.NumEffectiveParameters();
61 summary->num_residual_blocks_reduced = program.NumResidualBlocks();
62 summary->num_residuals_reduced = program.NumResiduals();