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

A clique in a SymbolicBayesTree. More...

#include <SymbolicBayesTree.h>

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

Public Types

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

Public Member Functions

 SymbolicBayesTreeClique ()
 
 SymbolicBayesTreeClique (const std::shared_ptr< SymbolicConditional > &conditional)
 
- Public Member Functions inherited from gtsam::BayesTreeCliqueBase< SymbolicBayesTreeClique, SymbolicFactorGraph >
void setEliminationResult (const typename FactorGraphType::EliminationResult &eliminationResult)
 
bool equals (const SymbolicBayesTreeClique &other, double tol=1e-9) const
 
virtual void print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
 
const sharedConditionalconditional () const
 
bool isRoot () const
 
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< SymbolicBayesTreeClique, SymbolicFactorGraph >
FastVector< derived_ptrchildren
 
sharedConditional conditional_
 
bool is_root
 
derived_weak_ptr parent_
 
int problemSize_
 
- Protected Member Functions inherited from gtsam::BayesTreeCliqueBase< SymbolicBayesTreeClique, SymbolicFactorGraph >
 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< SymbolicBayesTreeClique, SymbolicFactorGraph >
std::optional< FactorGraphTypecachedSeparatorMarginal_
 This stores the Cached separator marginal P(S) More...
 
std::mutex cachedSeparatorMarginalMutex_
 

Detailed Description

A clique in a SymbolicBayesTree.

Definition at line 33 of file SymbolicBayesTree.h.

Member Typedef Documentation

◆ Base

Definition at line 38 of file SymbolicBayesTree.h.

◆ shared_ptr

Definition at line 39 of file SymbolicBayesTree.h.

◆ This

Definition at line 37 of file SymbolicBayesTree.h.

◆ weak_ptr

Definition at line 40 of file SymbolicBayesTree.h.

Constructor & Destructor Documentation

◆ SymbolicBayesTreeClique() [1/2]

gtsam::SymbolicBayesTreeClique::SymbolicBayesTreeClique ( )
inline

Definition at line 41 of file SymbolicBayesTree.h.

◆ SymbolicBayesTreeClique() [2/2]

gtsam::SymbolicBayesTreeClique::SymbolicBayesTreeClique ( const std::shared_ptr< SymbolicConditional > &  conditional)
inline

Definition at line 42 of file SymbolicBayesTree.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:12