#include <DiscreteBayesTree.h>
Public Types | |
typedef BayesTreeCliqueBase< DiscreteBayesTreeClique, DiscreteFactorGraph > | Base |
typedef std::shared_ptr< This > | shared_ptr |
typedef DiscreteBayesTreeClique | This |
typedef std::weak_ptr< This > | weak_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 std::shared_ptr< ConditionalType > | sharedConditional |
Public Member Functions | |
DiscreteBayesTreeClique () | |
DiscreteBayesTreeClique (const std::shared_ptr< DiscreteConditional > &conditional) | |
double | evaluate (const DiscreteValues &values) const |
void | printSignature (const std::string &s="Clique: ", const KeyFormatter &formatter=DefaultKeyFormatter) const |
print index signature only More... | |
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 sharedConditional & | conditional () 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 |
A clique in a DiscreteBayesTree
Definition at line 39 of file DiscreteBayesTree.h.
typedef BayesTreeCliqueBase<DiscreteBayesTreeClique, DiscreteFactorGraph> gtsam::DiscreteBayesTreeClique::Base |
Definition at line 44 of file DiscreteBayesTree.h.
typedef std::shared_ptr<This> gtsam::DiscreteBayesTreeClique::shared_ptr |
Definition at line 45 of file DiscreteBayesTree.h.
Definition at line 42 of file DiscreteBayesTree.h.
typedef std::weak_ptr<This> gtsam::DiscreteBayesTreeClique::weak_ptr |
Definition at line 46 of file DiscreteBayesTree.h.
|
inline |
Definition at line 47 of file DiscreteBayesTree.h.
|
inline |
Definition at line 48 of file DiscreteBayesTree.h.
double gtsam::DiscreteBayesTreeClique::evaluate | ( | const DiscreteValues & | values | ) | const |
Definition at line 33 of file DiscreteBayesTree.cpp.
|
inline |
print index signature only
Definition at line 53 of file DiscreteBayesTree.h.