Printing
parent
4ed447ca8e
commit
14f119a787
|
|
@ -49,7 +49,7 @@ namespace gtsam {
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
void DecisionTreeFactor::print(const string& s) const {
|
void DecisionTreeFactor::print(const string& s) const {
|
||||||
cout << s << ":\n";
|
cout << s;
|
||||||
IndexFactor::print("IndexFactor:");
|
IndexFactor::print("IndexFactor:");
|
||||||
Potentials::print("Potentials:");
|
Potentials::print("Potentials:");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ namespace gtsam {
|
||||||
bool equals(const DecisionTreeFactor& other, double tol = 1e-9) const;
|
bool equals(const DecisionTreeFactor& other, double tol = 1e-9) const;
|
||||||
|
|
||||||
// print
|
// print
|
||||||
void print(const std::string& s = "DecisionTreeFactor: ") const;
|
void print(const std::string& s = "DecisionTreeFactor:\n") const;
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Standard Interface
|
/// @name Standard Interface
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ namespace gtsam {
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
// print
|
// print
|
||||||
virtual void print(const std::string& s = "DiscreteFactor") const {
|
virtual void print(const std::string& s = "DiscreteFactor\n") const {
|
||||||
IndexFactor::print(s);
|
IndexFactor::print(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue