#include <JunctionTree.h>
Public Types | |
typedef EliminatableClusterTree< BAYESTREE, GRAPH > | Base |
Our base class. More... | |
typedef boost::shared_ptr< This > | shared_ptr |
Shared pointer to this class. More... | |
typedef JunctionTree< BAYESTREE, GRAPH > | This |
This class. More... | |
Public Types inherited from gtsam::EliminatableClusterTree< BAYESTREE, GRAPH > | |
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 boost::shared_ptr< This > | shared_ptr |
Shared pointer to this class. More... | |
typedef boost::shared_ptr< ConditionalType > | sharedConditional |
Shared pointer to a conditional. More... | |
typedef boost::shared_ptr< FactorType > | sharedFactor |
Shared pointer to a factor. More... | |
typedef EliminatableClusterTree< BAYESTREE, GRAPH > | This |
This class. More... | |
Public Types inherited from gtsam::ClusterTree< GRAPH > | |
typedef GRAPH | FactorGraphType |
The factor graph type. More... | |
typedef GRAPH::FactorType | FactorType |
The type of factors. More... | |
typedef Cluster | Node |
typedef boost::shared_ptr< This > | shared_ptr |
Shared pointer to this class. More... | |
typedef boost::shared_ptr< Cluster > | sharedCluster |
Shared pointer to Cluster. More... | |
typedef boost::shared_ptr< FactorType > | sharedFactor |
Shared pointer to a factor. More... | |
typedef sharedCluster | sharedNode |
typedef ClusterTree< GRAPH > | This |
This class. More... | |
Private Member Functions | |
JunctionTree () | |
Standard Constructors | |
template<class ETREE > | |
static This | FromEliminationTree (const ETREE &eliminationTree) |
template<class ETREE_BAYESNET , class ETREE_GRAPH > | |
JunctionTree (const EliminationTree< ETREE_BAYESNET, ETREE_GRAPH > &eliminationTree) | |
Additional Inherited Members | |
Public Member Functions inherited from gtsam::EliminatableClusterTree< BAYESTREE, GRAPH > | |
std::pair< boost::shared_ptr< BayesTreeType >, boost::shared_ptr< FactorGraphType > > | eliminate (const Eliminate &function) const |
const FastVector< sharedFactor > & | remainingFactors () const |
Public Member Functions inherited from gtsam::ClusterTree< GRAPH > | |
ClusterTree () | |
Default constructor. More... | |
GTSAM_CONCEPT_TESTABLE_TYPE (FactorType) | |
void | print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const |
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 |
const Cluster & | operator[] (size_t i) const |
Protected Member Functions inherited from gtsam::EliminatableClusterTree< BAYESTREE, GRAPH > | |
EliminatableClusterTree (const This &other) | |
This & | operator= (const This &other) |
EliminatableClusterTree () | |
Default constructor to be used in derived classes. More... | |
Protected Member Functions inherited from gtsam::ClusterTree< GRAPH > | |
ClusterTree (const This &other) | |
This & | operator= (const This &other) |
Protected Attributes inherited from gtsam::EliminatableClusterTree< BAYESTREE, GRAPH > | |
FastVector< sharedFactor > | remainingFactors_ |
Protected Attributes inherited from gtsam::ClusterTree< GRAPH > | |
FastVector< sharedNode > | roots_ |
Definition at line 50 of file JunctionTree.h.
typedef EliminatableClusterTree<BAYESTREE, GRAPH> gtsam::JunctionTree< BAYESTREE, GRAPH >::Base |
Our base class.
Definition at line 56 of file JunctionTree.h.
typedef boost::shared_ptr<This> gtsam::JunctionTree< BAYESTREE, GRAPH >::shared_ptr |
Shared pointer to this class.
Definition at line 55 of file JunctionTree.h.
typedef JunctionTree<BAYESTREE, GRAPH> gtsam::JunctionTree< BAYESTREE, GRAPH >::This |
This class.
Definition at line 54 of file JunctionTree.h.
|
protected |
Build the junction tree from an elimination tree.
Definition at line 126 of file JunctionTree-inst.h.
|
inlineprivate |
Definition at line 76 of file JunctionTree.h.
|
inlinestaticprotected |
Build the junction tree from an elimination tree.
Definition at line 65 of file JunctionTree.h.