default string for AlgebraicDecisionTree::print
parent
c41b58fc98
commit
aa1c65d0dc
|
@ -156,9 +156,9 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// print method customized to value type `double`.
|
/// print method customized to value type `double`.
|
||||||
void print(const std::string& s,
|
void print(const std::string& s = "",
|
||||||
const typename Base::LabelFormatter& labelFormatter =
|
const typename Base::LabelFormatter& labelFormatter =
|
||||||
&DefaultFormatter) const {
|
&DefaultFormatter) const {
|
||||||
auto valueFormatter = [](const double& v) {
|
auto valueFormatter = [](const double& v) {
|
||||||
return (boost::format("%4.8g") % v).str();
|
return (boost::format("%4.8g") % v).str();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue