Added a print function to the BayesTreeCliqueWrapper that also prints out contents
parent
22dc80e4ff
commit
90ddac8fac
|
|
@ -276,6 +276,10 @@ namespace gtsam {
|
||||||
// this subtree into the elimination.
|
// this subtree into the elimination.
|
||||||
this->keys_.assign(clique->conditional()->beginParents(), clique->conditional()->endParents());
|
this->keys_.assign(clique->conditional()->beginParents(), clique->conditional()->endParents());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void print(const std::string& s="", const KeyFormatter& formatter = DefaultKeyFormatter) const {
|
||||||
|
clique->print(s + "stored clique", formatter);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
} /// namespace gtsam
|
} /// namespace gtsam
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue