revise msg printing
parent
96b20487a9
commit
472e433c3e
|
|
@ -63,13 +63,12 @@ public:
|
||||||
|
|
||||||
virtual void print(const std::string &s="") const {
|
virtual void print(const std::string &s="") const {
|
||||||
Base::print();
|
Base::print();
|
||||||
std::cout << "ConjugateGradientParameters: "
|
std::cout << "ConjugateGradientParameters" << std::endl
|
||||||
<< "minIter = " << minIterations_
|
<< "minIter: " << minIterations_ << std::endl
|
||||||
<< ", maxIter = " << maxIterations_
|
<< "maxIter: " << maxIterations_ << std::endl
|
||||||
<< ", resetIter = " << reset_
|
<< "resetIter: " << reset_ << std::endl
|
||||||
<< ", eps_rel = " << epsilon_rel_
|
<< "eps_rel: " << epsilon_rel_ << std::endl
|
||||||
<< ", eps_abs = " << epsilon_abs_
|
<< "eps_abs: " << epsilon_abs_ << std::endl;
|
||||||
<< std::endl;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,10 @@ namespace gtsam {
|
||||||
void setVerbosity(const std::string &s) ;
|
void setVerbosity(const std::string &s) ;
|
||||||
|
|
||||||
void print() const {
|
void print() const {
|
||||||
std::cout << "IterativeOptimizationParameters: "
|
std::cout << "IterativeOptimizationParameters" << std::endl
|
||||||
<< "kernel = " << kernelTranslator(kernel_)
|
<< "kernel: " << kernelTranslator(kernel_) << std::endl
|
||||||
<< ", verbosity = " << verbosityTranslator(verbosity_) << std::endl;
|
<< "verbosity: " << verbosityTranslator(verbosity_) << std::endl
|
||||||
|
<< std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Kernel kernelTranslator(const std::string &s);
|
static Kernel kernelTranslator(const std::string &s);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue