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

#include <GaussianBayesTree.h>

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

Public Types

typedef BayesTreeCliqueBase< GaussianBayesTreeClique, GaussianFactorGraphBase
 
typedef std::shared_ptr< Thisshared_ptr
 
typedef GaussianBayesTreeClique This
 
typedef std::weak_ptr< Thisweak_ptr
 
- Public Types inherited from gtsam::BayesTreeCliqueBase< GaussianBayesTreeClique, GaussianFactorGraph >
typedef EliminationTraitsType::BayesNetType BayesNetType
 
typedef BayesNetType::ConditionalType ConditionalType
 
typedef FactorGraphType::Eliminate Eliminate
 
typedef GaussianFactorGraph FactorGraphType
 
typedef FactorGraphType::FactorType FactorType
 
typedef std::shared_ptr< ConditionalTypesharedConditional
 

Public Member Functions

 GaussianBayesTreeClique ()
 
 GaussianBayesTreeClique (const std::shared_ptr< GaussianConditional > &conditional)
 
- Public Member Functions inherited from gtsam::BayesTreeCliqueBase< GaussianBayesTreeClique, GaussianFactorGraph >
void setEliminationResult (const typename FactorGraphType::EliminationResult &eliminationResult)
 
bool equals (const GaussianBayesTreeClique &other, double tol=1e-9) const
 
virtual void print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
 
const sharedConditionalconditional () const
 
sharedConditionalconditional ()
 
bool isRoot () const
 Return true if this clique is the root of a Bayes tree. More...
 
size_t nrChildren () const
 Return the number of children. More...
 
const derived_ptr operator[] (size_t i) const
 Return the child at index i. More...
 
size_t treeSize () const
 
size_t numCachedSeparatorMarginals () const
 
derived_ptr parent () const
 
int problemSize () const
 
BayesNetType shortcut (const derived_ptr &root, Eliminate function=EliminationTraitsType::DefaultEliminate) const
 
FactorGraphType separatorMarginal (Eliminate function=EliminationTraitsType::DefaultEliminate) const
 
FactorGraphType marginal2 (Eliminate function=EliminationTraitsType::DefaultEliminate) const
 
void deleteCachedShortcuts ()
 
const std::optional< FactorGraphType > & cachedSeparatorMarginal () const
 

Additional Inherited Members

- Public Attributes inherited from gtsam::BayesTreeCliqueBase< GaussianBayesTreeClique, GaussianFactorGraph >
FastVector< derived_ptrchildren
 
sharedConditional conditional_
 
bool is_root
 
derived_weak_ptr parent_
 
int problemSize_
 
- Protected Member Functions inherited from gtsam::BayesTreeCliqueBase< GaussianBayesTreeClique, GaussianFactorGraph >
 BayesTreeCliqueBase ()
 Default constructor. More...
 
 BayesTreeCliqueBase (const sharedConditional &conditional)
 
 BayesTreeCliqueBase (const BayesTreeCliqueBase &c)
 Shallow copy constructor. More...
 
BayesTreeCliqueBaseoperator= (const BayesTreeCliqueBase &c)
 Shallow copy assignment constructor. More...
 
virtual ~BayesTreeCliqueBase ()
 
KeyVector separator_setminus_B (const derived_ptr &B) const
 Calculate set $ S \setminus B $ for shortcut calculations. More...
 
KeyVector shortcut_indices (const derived_ptr &B, const FactorGraphType &p_Cp_B) const
 
void deleteCachedShortcutsNonRecursive ()
 
- Protected Attributes inherited from gtsam::BayesTreeCliqueBase< GaussianBayesTreeClique, GaussianFactorGraph >
std::optional< FactorGraphTypecachedSeparatorMarginal_
 This stores the Cached separator marginal P(S) More...
 
std::mutex cachedSeparatorMarginalMutex_
 

Detailed Description

A clique in a GaussianBayesTree

Definition at line 35 of file GaussianBayesTree.h.

Member Typedef Documentation

◆ Base

Definition at line 40 of file GaussianBayesTree.h.

◆ shared_ptr

Definition at line 41 of file GaussianBayesTree.h.

◆ This

Definition at line 39 of file GaussianBayesTree.h.

◆ weak_ptr

Definition at line 42 of file GaussianBayesTree.h.

Constructor & Destructor Documentation

◆ GaussianBayesTreeClique() [1/2]

gtsam::GaussianBayesTreeClique::GaussianBayesTreeClique ( )
inline

Definition at line 43 of file GaussianBayesTree.h.

◆ GaussianBayesTreeClique() [2/2]

gtsam::GaussianBayesTreeClique::GaussianBayesTreeClique ( const std::shared_ptr< GaussianConditional > &  conditional)
inline

Definition at line 44 of file GaussianBayesTree.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:15:33