31 const std::string &src) {
36 return LevenbergMarquardtParams::SILENT;
38 return LevenbergMarquardtParams::SUMMARY;
39 if (
s ==
"TERMINATION")
40 return LevenbergMarquardtParams::TERMINATION;
42 return LevenbergMarquardtParams::LAMBDA;
44 return LevenbergMarquardtParams::TRYLAMBDA;
46 return LevenbergMarquardtParams::TRYCONFIG;
48 return LevenbergMarquardtParams::TRYDELTA;
50 return LevenbergMarquardtParams::DAMPED;
53 return LevenbergMarquardtParams::SILENT;
57 std::string LevenbergMarquardtParams::verbosityLMTranslator(
61 case LevenbergMarquardtParams::SILENT:
64 case LevenbergMarquardtParams::SUMMARY:
67 case LevenbergMarquardtParams::TERMINATION:
70 case LevenbergMarquardtParams::LAMBDA:
73 case LevenbergMarquardtParams::TRYLAMBDA:
76 case LevenbergMarquardtParams::TRYCONFIG:
79 case LevenbergMarquardtParams::TRYDELTA:
82 case LevenbergMarquardtParams::DAMPED:
95 std::cout <<
" lambdaInitial: " << lambdaInitial <<
"\n";
96 std::cout <<
" lambdaFactor: " << lambdaFactor <<
"\n";
97 std::cout <<
" lambdaUpperBound: " << lambdaUpperBound <<
"\n";
98 std::cout <<
" lambdaLowerBound: " << lambdaLowerBound <<
"\n";
99 std::cout <<
" minModelFidelity: " << minModelFidelity <<
"\n";
100 std::cout <<
" diagonalDamping: " << diagonalDamping <<
"\n";
101 std::cout <<
" minDiagonal: " << minDiagonal <<
"\n";
102 std::cout <<
" maxDiagonal: " << maxDiagonal <<
"\n";
103 std::cout <<
" verbosityLM: "
104 << verbosityLMTranslator(verbosityLM) <<
"\n";