Functions | |
template<class TREE , class RESULT > | |
FastVector< typename TREE::sharedFactor > | EliminateTree (RESULT &result, const TREE &tree, const typename TREE::Eliminate &function) |
FastVector<typename TREE::sharedFactor> gtsam::inference::EliminateTree | ( | RESULT & | result, |
const TREE & | tree, | ||
const typename TREE::Eliminate & | function | ||
) |
Eliminate an elimination tree or a Bayes tree (used internally). Requires TREE::BayesNetType, TREE::FactorGraphType, TREE::sharedConditional, TREE::sharedFactor, TREE::Node, TREE::sharedNode, TREE::Node::factors, TREE::Node::children.
Definition at line 74 of file inference-inst.h.