Lines Matching refs:summary
225 Summary* summary) { in Search() argument
226 *CHECK_NOTNULL(summary) = LineSearch::Summary(); in Search()
253 ++summary->num_function_evaluations; in Search()
255 ++summary->num_gradient_evaluations; in Search()
271 ++summary->num_iterations; in Search()
272 if (summary->num_iterations >= options().max_num_iterations) { in Search()
273 summary->error = in Search()
278 LOG_IF(WARNING, !options().is_silent) << summary->error; in Search()
292 summary->error = in Search()
296 LOG_IF(WARNING, !options().is_silent) << summary->error; in Search()
303 ++summary->num_function_evaluations; in Search()
305 ++summary->num_gradient_evaluations; in Search()
316 summary->optimal_step_size = current.x; in Search()
317 summary->success = true; in Search()
326 Summary* summary) { in Search() argument
327 *CHECK_NOTNULL(summary) = LineSearch::Summary(); in Search()
365 summary)) { in Search()
383 summary->optimal_step_size = bracket_low.x; in Search()
384 summary->success = true; in Search()
419 summary) && !solution.value_is_valid) { in Search()
433 summary->optimal_step_size = solution.x; in Search()
434 summary->success = true; in Search()
459 Summary* summary) { in BracketingPhase() argument
481 ++summary->num_function_evaluations; in BracketingPhase()
482 ++summary->num_gradient_evaluations; in BracketingPhase()
490 ++summary->num_iterations; in BracketingPhase()
562 } else if (summary->num_iterations >= options().max_num_iterations) { in BracketingPhase()
566 summary->error = in BracketingPhase()
571 LOG_IF(WARNING, !options().is_silent) << summary->error; in BracketingPhase()
606 summary->error = in BracketingPhase()
610 LOG_IF(WARNING, !options().is_silent) << summary->error; in BracketingPhase()
617 ++summary->num_function_evaluations; in BracketingPhase()
618 ++summary->num_gradient_evaluations; in BracketingPhase()
645 Summary* summary) { in ZoomPhase() argument
683 summary->error = in ZoomPhase()
694 LOG_IF(WARNING, !options().is_silent) << summary->error; in ZoomPhase()
699 const int num_bracketing_iterations = summary->num_iterations; in ZoomPhase()
708 if (summary->num_iterations >= options().max_num_iterations) { in ZoomPhase()
709 summary->error = in ZoomPhase()
715 LOG_IF(WARNING, !options().is_silent) << summary->error; in ZoomPhase()
722 summary->error = in ZoomPhase()
727 LOG_IF(WARNING, !options().is_silent) << summary->error; in ZoomPhase()
731 ++summary->num_iterations; in ZoomPhase()
764 ++summary->num_function_evaluations; in ZoomPhase()
765 ++summary->num_gradient_evaluations; in ZoomPhase()
772 summary->error = in ZoomPhase()
778 LOG_IF(WARNING, !options().is_silent) << summary->error; in ZoomPhase()
783 << summary->num_iterations - num_bracketing_iterations in ZoomPhase()