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

A clique in a HybridBayesTree which is a HybridConditional internally. More...

#include <HybridBayesTree.h>

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

Public Types

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

Public Member Functions

 HybridBayesTreeClique ()
 
 HybridBayesTreeClique (const HybridBayesTreeClique &clique)
 
- Public Member Functions inherited from gtsam::BayesTreeCliqueBase< HybridBayesTreeClique, HybridGaussianFactorGraph >
void setEliminationResult (const typename FactorGraphType::EliminationResult &eliminationResult)
 
bool equals (const HybridBayesTreeClique &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< HybridBayesTreeClique, HybridGaussianFactorGraph >
FastVector< derived_ptrchildren
 
sharedConditional conditional_
 
bool is_root
 
derived_weak_ptr parent_
 
int problemSize_
 
- Protected Member Functions inherited from gtsam::BayesTreeCliqueBase< HybridBayesTreeClique, HybridGaussianFactorGraph >
 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< HybridBayesTreeClique, HybridGaussianFactorGraph >
std::optional< FactorGraphTypecachedSeparatorMarginal_
 This stores the Cached separator marginal P(S) More...
 
std::mutex cachedSeparatorMarginalMutex_
 

Detailed Description

A clique in a HybridBayesTree which is a HybridConditional internally.

Definition at line 44 of file HybridBayesTree.h.

Member Typedef Documentation

◆ Base

Definition at line 50 of file HybridBayesTree.h.

◆ shared_ptr

Definition at line 51 of file HybridBayesTree.h.

◆ This

Definition at line 48 of file HybridBayesTree.h.

◆ weak_ptr

Definition at line 52 of file HybridBayesTree.h.

Constructor & Destructor Documentation

◆ HybridBayesTreeClique() [1/2]

gtsam::HybridBayesTreeClique::HybridBayesTreeClique ( )
inline

Definition at line 53 of file HybridBayesTree.h.

◆ HybridBayesTreeClique() [2/2]

gtsam::HybridBayesTreeClique::HybridBayesTreeClique ( const HybridBayesTreeClique clique)
inline

Definition at line 57 of file HybridBayesTree.h.


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


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