#include <SymbolicBayesTree.h>
Public Member Functions | |
bool | equals (const This &other, double tol=1e-9) const |
SymbolicBayesTree () | |
Public Member Functions inherited from gtsam::BayesTree< SymbolicBayesTreeClique > | |
size_t | size () const |
bool | empty () const |
const Nodes & | nodes () const |
sharedClique | operator[] (Key j) const |
const Roots & | roots () const |
const sharedClique & | clique (Key j) const |
BayesTreeCliqueData | getCliqueData () const |
size_t | numCachedSeparatorMarginals () const |
sharedConditional | marginalFactor (Key j, const Eliminate &function=EliminationTraitsType::DefaultEliminate) const |
sharedFactorGraph | joint (Key j1, Key j2, const Eliminate &function=EliminationTraitsType::DefaultEliminate) const |
sharedBayesNet | jointBayesNet (Key j1, Key j2, const Eliminate &function=EliminationTraitsType::DefaultEliminate) const |
void | dot (std::ostream &os, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const |
Output to graphviz format, stream version. More... | |
std::string | dot (const KeyFormatter &keyFormatter=DefaultKeyFormatter) const |
Output to graphviz format string. More... | |
void | saveGraph (const std::string &filename, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const |
output to file with graphviz format. More... | |
Key | findParentClique (const CONTAINER &parents) const |
void | clear () |
void | deleteCachedShortcuts () |
void | removePath (sharedClique clique, BayesNetType *bn, Cliques *orphans) |
void | removeTop (const KeyVector &keys, BayesNetType *bn, Cliques *orphans) |
Cliques | removeSubtree (const sharedClique &subtree) |
void | insertRoot (const sharedClique &subtree) |
void | addClique (const sharedClique &clique, const sharedClique &parent_clique=sharedClique()) |
void | addFactorsToGraph (FactorGraph< FactorType > *graph) const |
void | print (const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const |
Private Types | |
typedef BayesTree< SymbolicBayesTreeClique > | Base |
Additional Inherited Members | |
Protected Types inherited from gtsam::BayesTree< SymbolicBayesTreeClique > | |
typedef std::shared_ptr< This > | shared_ptr |
typedef BayesTree< SymbolicBayesTreeClique > | This |
Protected Member Functions inherited from gtsam::BayesTree< SymbolicBayesTreeClique > | |
This & | operator= (const This &other) |
~BayesTree () | |
BayesTree () | |
BayesTree (const This &other) | |
void | getCliqueData (sharedClique clique, BayesTreeCliqueData *stats) const |
void | dot (std::ostream &s, sharedClique clique, const KeyFormatter &keyFormatter, int parentnum=0) const |
void | removeClique (sharedClique clique) |
void | fillNodesIndex (const sharedClique &subtree) |
bool | equals (const This &other, double tol=1e-9) const |
Protected Attributes inherited from gtsam::BayesTree< SymbolicBayesTreeClique > | |
Nodes | nodes_ |
Roots | roots_ |
A Bayes tree that represents the connectivity between variables but is not associated with any probability functions.
Definition at line 48 of file SymbolicBayesTree.h.
|
private |
Definition at line 52 of file SymbolicBayesTree.h.
typedef std::shared_ptr<This> gtsam::SymbolicBayesTree::shared_ptr |
Definition at line 56 of file SymbolicBayesTree.h.
Definition at line 55 of file SymbolicBayesTree.h.
|
inline |
Default constructor, creates an empty Bayes tree
Definition at line 59 of file SymbolicBayesTree.h.
check equality
Definition at line 33 of file SymbolicBayesTree.cpp.