docs update

release/4.3a0
Varun Agrawal 2022-05-27 16:14:39 -04:00
parent adcbb65e5c
commit 5d3ffb7fe8
1 changed files with 10 additions and 2 deletions

View File

@ -281,10 +281,18 @@ namespace gtsam {
boost::shared_ptr<CliqueType> clique;
/**
* @brief Construct a new Bayes Tree Orphan Wrapper object
*
* This object stores parent keys in our base type factor so that
* eliminating those parent keys will pull this subtree into the
* elimination.
*
* @param clique Orphan clique to add for further consideration in
* elimination.
*/
BayesTreeOrphanWrapper(const boost::shared_ptr<CliqueType>& clique)
: clique(clique) {
// Store parent keys in our base type factor so that eliminating those
// parent keys will pull this subtree into the elimination.
this->keys_.assign(clique->conditional()->beginParents(),
clique->conditional()->endParents());
}