Public Types | Public Member Functions | List of all members
gtsam::DiscreteJunctionTree Class Reference

#include <DiscreteJunctionTree.h>

Inheritance diagram for gtsam::DiscreteJunctionTree:
Inheritance graph
[legend]

Public Types

typedef JunctionTree< DiscreteBayesTree, DiscreteFactorGraphBase
 Base class. More...
 
typedef boost::shared_ptr< Thisshared_ptr
 Shared pointer to this class. More...
 
typedef DiscreteJunctionTree This
 This class. More...
 
- Public Types inherited from gtsam::JunctionTree< DiscreteBayesTree, DiscreteFactorGraph >
typedef EliminatableClusterTree< DiscreteBayesTree, DiscreteFactorGraphBase
 Our base class. More...
 
typedef boost::shared_ptr< Thisshared_ptr
 Shared pointer to this class. More...
 
typedef JunctionTree< DiscreteBayesTree, DiscreteFactorGraphThis
 This class. More...
 
- Public Types inherited from gtsam::EliminatableClusterTree< DiscreteBayesTree, DiscreteFactorGraph >
typedef DiscreteBayesTree BayesTreeType
 The BayesTree type produced by elimination. More...
 
typedef DiscreteBayesTree::ConditionalType ConditionalType
 The type of conditionals. More...
 
typedef DiscreteFactorGraph::Eliminate Eliminate
 Typedef for an eliminate subroutine. More...
 
typedef DiscreteFactorGraph FactorGraphType
 The factor graph type. More...
 
typedef DiscreteFactorGraph::FactorType FactorType
 The type of factors. More...
 
typedef boost::shared_ptr< Thisshared_ptr
 Shared pointer to this class. More...
 
typedef boost::shared_ptr< ConditionalTypesharedConditional
 Shared pointer to a conditional. More...
 
typedef boost::shared_ptr< FactorTypesharedFactor
 Shared pointer to a factor. More...
 
typedef EliminatableClusterTree< DiscreteBayesTree, DiscreteFactorGraphThis
 This class. More...
 
- Public Types inherited from gtsam::ClusterTree< DiscreteFactorGraph >
typedef DiscreteFactorGraph FactorGraphType
 The factor graph type. More...
 
typedef DiscreteFactorGraph::FactorType FactorType
 The type of factors. More...
 
typedef Cluster Node
 
typedef boost::shared_ptr< Thisshared_ptr
 Shared pointer to this class. More...
 
typedef boost::shared_ptr< Cluster > sharedCluster
 Shared pointer to Cluster. More...
 
typedef boost::shared_ptr< FactorTypesharedFactor
 Shared pointer to a factor. More...
 
typedef sharedCluster sharedNode
 
typedef ClusterTree< DiscreteFactorGraphThis
 This class. More...
 

Public Member Functions

 DiscreteJunctionTree (const DiscreteEliminationTree &eliminationTree)
 
- Public Member Functions inherited from gtsam::EliminatableClusterTree< DiscreteBayesTree, DiscreteFactorGraph >
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< DiscreteFactorGraph >
 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
 

Additional Inherited Members

- Protected Member Functions inherited from gtsam::JunctionTree< DiscreteBayesTree, DiscreteFactorGraph >
 JunctionTree (const EliminationTree< ETREE_BAYESNET, ETREE_GRAPH > &eliminationTree)
 
- Protected Member Functions inherited from gtsam::EliminatableClusterTree< DiscreteBayesTree, DiscreteFactorGraph >
 EliminatableClusterTree (const This &other)
 
 EliminatableClusterTree ()
 Default constructor to be used in derived classes. More...
 
Thisoperator= (const This &other)
 
- Protected Member Functions inherited from gtsam::ClusterTree< DiscreteFactorGraph >
 ClusterTree (const This &other)
 
Thisoperator= (const This &other)
 
- Static Protected Member Functions inherited from gtsam::JunctionTree< DiscreteBayesTree, DiscreteFactorGraph >
static This FromEliminationTree (const ETREE &eliminationTree)
 
- Protected Attributes inherited from gtsam::EliminatableClusterTree< DiscreteBayesTree, DiscreteFactorGraph >
FastVector< sharedFactorremainingFactors_
 
- Protected Attributes inherited from gtsam::ClusterTree< DiscreteFactorGraph >
FastVector< sharedNoderoots_
 

Detailed Description

Definition at line 48 of file DiscreteJunctionTree.h.

Member Typedef Documentation

Base class.

Definition at line 51 of file DiscreteJunctionTree.h.

typedef boost::shared_ptr<This> gtsam::DiscreteJunctionTree::shared_ptr

Shared pointer to this class.

Definition at line 53 of file DiscreteJunctionTree.h.

This class.

Definition at line 52 of file DiscreteJunctionTree.h.

Constructor & Destructor Documentation

gtsam::DiscreteJunctionTree::DiscreteJunctionTree ( const DiscreteEliminationTree eliminationTree)

Build the elimination tree of a factor graph using precomputed column structure.

Parameters
factorGraphThe factor graph for which to build the elimination tree
structureThe 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

Definition at line 30 of file DiscreteJunctionTree.cpp.


The documentation for this class was generated from the following files:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:08