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

#include <DiscreteBayesTree.h>

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

Public Types

typedef BayesTreeCliqueBase< DiscreteBayesTreeClique, DiscreteFactorGraphBase
 
typedef boost::shared_ptr< Thisshared_ptr
 
typedef DiscreteBayesTreeClique This
 
typedef boost::weak_ptr< Thisweak_ptr
 
- Public Types inherited from gtsam::BayesTreeCliqueBase< DiscreteBayesTreeClique, DiscreteFactorGraph >
typedef EliminationTraitsType::BayesNetType BayesNetType
 
typedef BayesNetType::ConditionalType ConditionalType
 
typedef FactorGraphType::Eliminate Eliminate
 
typedef DiscreteFactorGraph FactorGraphType
 
typedef FactorGraphType::FactorType FactorType
 
typedef boost::shared_ptr< ConditionalTypesharedConditional
 

Public Member Functions

 DiscreteBayesTreeClique ()
 
 DiscreteBayesTreeClique (const boost::shared_ptr< DiscreteConditional > &conditional)
 
double evaluate (const DiscreteConditional::Values &values) const
 
void printSignature (const std::string &s="Clique: ", const KeyFormatter &formatter=DefaultKeyFormatter) const
 print index signature only More...
 
virtual ~DiscreteBayesTreeClique ()
 
- Public Member Functions inherited from gtsam::BayesTreeCliqueBase< DiscreteBayesTreeClique, DiscreteFactorGraph >
void setEliminationResult (const typename FactorGraphType::EliminationResult &eliminationResult)
 
bool equals (const DiscreteBayesTreeClique &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 boost::optional< FactorGraphType > & cachedSeparatorMarginal () const
 

Additional Inherited Members

- Public Attributes inherited from gtsam::BayesTreeCliqueBase< DiscreteBayesTreeClique, DiscreteFactorGraph >
FastVector< derived_ptrchildren
 
sharedConditional conditional_
 
bool is_root
 
derived_weak_ptr parent_
 
int problemSize_
 
- Protected Member Functions inherited from gtsam::BayesTreeCliqueBase< DiscreteBayesTreeClique, DiscreteFactorGraph >
 BayesTreeCliqueBase ()
 
 BayesTreeCliqueBase (const sharedConditional &conditional)
 
 BayesTreeCliqueBase (const BayesTreeCliqueBase &c)
 
BayesTreeCliqueBaseoperator= (const BayesTreeCliqueBase &c)
 
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< DiscreteBayesTreeClique, DiscreteFactorGraph >
boost::optional< FactorGraphTypecachedSeparatorMarginal_
 This stores the Cached separator marginal P(S) More...
 
std::mutex cachedSeparatorMarginalMutex_
 

Detailed Description

A clique in a DiscreteBayesTree

Definition at line 39 of file DiscreteBayesTree.h.

Member Typedef Documentation

Definition at line 44 of file DiscreteBayesTree.h.

Definition at line 45 of file DiscreteBayesTree.h.

Definition at line 42 of file DiscreteBayesTree.h.

Definition at line 46 of file DiscreteBayesTree.h.

Constructor & Destructor Documentation

gtsam::DiscreteBayesTreeClique::DiscreteBayesTreeClique ( )
inline

Definition at line 47 of file DiscreteBayesTree.h.

virtual gtsam::DiscreteBayesTreeClique::~DiscreteBayesTreeClique ( )
inlinevirtual

Definition at line 48 of file DiscreteBayesTree.h.

gtsam::DiscreteBayesTreeClique::DiscreteBayesTreeClique ( const boost::shared_ptr< DiscreteConditional > &  conditional)
inline

Definition at line 49 of file DiscreteBayesTree.h.

Member Function Documentation

double gtsam::DiscreteBayesTreeClique::evaluate ( const DiscreteConditional::Values values) const

Definition at line 33 of file DiscreteBayesTree.cpp.

void gtsam::DiscreteBayesTreeClique::printSignature ( const std::string &  s = "Clique: ",
const KeyFormatter formatter = DefaultKeyFormatter 
) const
inline

print index signature only

Definition at line 54 of file DiscreteBayesTree.h.


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


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