|
| DiscreteJunctionTree (const DiscreteEliminationTree &eliminationTree) |
| Build the elimination tree of a factor graph using precomputed column structure. More...
|
|
std::pair< boost::shared_ptr< BayesTreeType >, boost::shared_ptr< FactorGraphType > > | eliminate (const Eliminate &function) const |
| Eliminate the factors to a Bayes tree and remaining factor graph. More...
|
|
const FastVector< sharedFactor > & | remainingFactors () const |
| Return the remaining factors that are not pulled into elimination.
|
|
| GTSAM_CONCEPT_TESTABLE_TYPE (FactorType) |
| concept check
|
|
| ClusterTree () |
| Default constructor.
|
|
void | print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const |
| Print the cluster tree.
|
|
void | addRoot (const boost::shared_ptr< Cluster > &cluster) |
|
void | addChildrenAsRoots (const boost::shared_ptr< Cluster > &cluster) |
|
size_t | nrRoots () const |
|
const FastVector< sharedNode > & | roots () const |
| Return the set of roots (one for a tree, multiple for a forest)
|
|
const Cluster & | operator[] (size_t i) const |
|
|
| JunctionTree (const EliminationTree< ETREE_BAYESNET, ETREE_GRAPH > &eliminationTree) |
| Build the junction tree from an elimination tree. More...
|
|
| EliminatableClusterTree (const This &other) |
| Copy constructor - makes a deep copy of the tree structure, but only pointers to factors are copied, factors are not cloned. More...
|
|
| EliminatableClusterTree () |
| Default constructor to be used in derived classes.
|
|
This & | operator= (const This &other) |
| Assignment operator - makes a deep copy of the tree structure, but only pointers to factors are copied, factors are not cloned. More...
|
|
| ClusterTree (const This &other) |
| Copy constructor - makes a deep copy of the tree structure, but only pointers to factors are copied, factors are not cloned. More...
|
|
This & | operator= (const This &other) |
| Assignment operator - makes a deep copy of the tree structure, but only pointers to factors are copied, factors are not cloned. More...
|
|
static This | FromEliminationTree (const ETREE &eliminationTree) |
| Build the junction tree from an elimination tree. More...
|
|
FastVector< sharedFactor > | remainingFactors_ |
|
FastVector< sharedNode > | roots_ |
|
◆ DiscreteJunctionTree()
Build the elimination tree of a factor graph using precomputed column structure.
- Parameters
-
factorGraph | The factor graph for which to build the elimination tree |
structure | The set of factors involving each variable. If this is not precomputed, you can call the Create(const FactorGraph<DERIVEDFACTOR>&) named constructor instead. |
- Returns
- The elimination tree
The documentation for this class was generated from the following files: