#include <BayesTree.h>
Public Types | |
typedef BAYESTREE | BayesTreeType |
The BayesTree type produced by elimination. More... | |
typedef BAYESTREE::ConditionalType | ConditionalType |
The type of conditionals. More... | |
typedef GRAPH::Eliminate | Eliminate |
Typedef for an eliminate subroutine. More... | |
typedef GRAPH | FactorGraphType |
The factor graph type. More... | |
typedef GRAPH::FactorType | FactorType |
The type of factors. More... | |
typedef std::shared_ptr< This > | shared_ptr |
Shared pointer to this class. More... | |
typedef std::shared_ptr< ConditionalType > | sharedConditional |
Shared pointer to a conditional. More... | |
typedef std::shared_ptr< FactorType > | sharedFactor |
Shared pointer to a factor. More... | |
typedef EliminatableClusterTree< BAYESTREE, GRAPH > | This |
This class. More... | |
Public Member Functions | |
Standard Interface | |
std::pair< std::shared_ptr< BayesTreeType >, std::shared_ptr< FactorGraphType > > | eliminate (const Eliminate &function) const |
Advanced Interface | |
const FastVector< sharedFactor > & | remainingFactors () const |
Protected Member Functions | |
Standard Constructors | |
EliminatableClusterTree (const This &other) | |
Details | |
This & | operator= (const This &other) |
EliminatableClusterTree () | |
Default constructor to be used in derived classes. More... | |
Protected Attributes | |
FastVector< sharedFactor > | remainingFactors_ |
A cluster-tree that eliminates to a Bayes tree.
Definition at line 35 of file BayesTree.h.
typedef BAYESTREE gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::BayesTreeType |
The BayesTree type produced by elimination.
Definition at line 188 of file ClusterTree.h.
typedef BAYESTREE::ConditionalType gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::ConditionalType |
The type of conditionals.
Definition at line 193 of file ClusterTree.h.
typedef GRAPH::Eliminate gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::Eliminate |
Typedef for an eliminate subroutine.
Definition at line 197 of file ClusterTree.h.
typedef GRAPH gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::FactorGraphType |
The factor graph type.
Definition at line 189 of file ClusterTree.h.
typedef GRAPH::FactorType gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::FactorType |
The type of factors.
Definition at line 198 of file ClusterTree.h.
typedef std::shared_ptr<This> gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::shared_ptr |
Shared pointer to this class.
Definition at line 191 of file ClusterTree.h.
typedef std::shared_ptr<ConditionalType> gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::sharedConditional |
Shared pointer to a conditional.
Definition at line 195 of file ClusterTree.h.
typedef std::shared_ptr<FactorType> gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::sharedFactor |
Shared pointer to a factor.
Definition at line 199 of file ClusterTree.h.
typedef EliminatableClusterTree<BAYESTREE, GRAPH> gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::This |
This class.
Definition at line 190 of file ClusterTree.h.
|
inlineprotected |
Copy constructor - makes a deep copy of the tree structure, but only pointers to factors are copied, factors are not cloned.
Definition at line 209 of file ClusterTree.h.
|
inlineprotected |
Default constructor to be used in derived classes.
Definition at line 248 of file ClusterTree.h.
std::pair< std::shared_ptr< BAYESTREE >, std::shared_ptr< GRAPH > > gtsam::EliminatableClusterTree< BAYESTREE, GRAPH >::eliminate | ( | const Eliminate & | function | ) | const |
Eliminate the factors to a Bayes tree and remaining factor graph
function | The function to use to eliminate, see the namespace functions in GaussianFactorGraph.h |
Definition at line 285 of file ClusterTree-inst.h.
|
protected |
Assignment operator - makes a deep copy of the tree structure, but only pointers to factors are copied, factors are not cloned.
Definition at line 271 of file ClusterTree-inst.h.
|
inline |
Return the remaining factors that are not pulled into elimination
Definition at line 233 of file ClusterTree.h.
|
protected |
Definition at line 202 of file ClusterTree.h.