Public Types | Public Member Functions | Private Types | Private Member Functions | Friends | List of all members
gtsam::SymbolicBayesTree Class Reference

#include <SymbolicBayesTree.h>

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

Public Types

typedef boost::shared_ptr< Thisshared_ptr
 
typedef SymbolicBayesTree This
 
- Public Types inherited from gtsam::BayesTree< SymbolicBayesTreeClique >
typedef SymbolicBayesTreeClique::BayesNetType BayesNetType
 
typedef SymbolicBayesTreeClique Clique
 The clique type, normally BayesTreeClique. More...
 
typedef FastList< sharedCliqueCliques
 
typedef SymbolicBayesTreeClique::ConditionalType ConditionalType
 
typedef FactorGraphType::Eliminate Eliminate
 
typedef SymbolicBayesTreeClique::EliminationTraitsType EliminationTraitsType
 
typedef SymbolicBayesTreeClique::FactorGraphType FactorGraphType
 
typedef SymbolicBayesTreeClique::FactorType FactorType
 
typedef Clique Node
 Synonym for Clique (TODO: remove) More...
 
typedef ConcurrentMap< Key, sharedCliqueNodes
 
typedef FastVector< sharedCliqueRoots
 
typedef boost::shared_ptr< BayesNetTypesharedBayesNet
 
typedef boost::shared_ptr< CliquesharedClique
 Shared pointer to a clique. More...
 
typedef boost::shared_ptr< ConditionalTypesharedConditional
 
typedef boost::shared_ptr< FactorTypesharedFactor
 
typedef boost::shared_ptr< FactorGraphTypesharedFactorGraph
 
typedef sharedClique sharedNode
 Synonym for sharedClique (TODO: remove) More...
 

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 Nodesnodes () const
 
const sharedNode operator[] (Key j) const
 
const Rootsroots () const
 
const sharedCliqueclique (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 saveGraph (const std::string &s, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
 
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< SymbolicBayesTreeCliqueBase
 

Private Member Functions

template<class ARCHIVE >
void serialize (ARCHIVE &ar, const unsigned int)
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Types inherited from gtsam::BayesTree< SymbolicBayesTreeClique >
typedef boost::shared_ptr< Thisshared_ptr
 
typedef BayesTree< SymbolicBayesTreeCliqueThis
 
- Protected Member Functions inherited from gtsam::BayesTree< SymbolicBayesTreeClique >
Thisoperator= (const This &other)
 
 BayesTree ()
 
 BayesTree (const This &other)
 
void getCliqueData (sharedClique clique, BayesTreeCliqueData *stats) const
 
void saveGraph (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_
 

Detailed Description

A Bayes tree that represents the connectivity between variables but is not associated with any probability functions.

Definition at line 49 of file SymbolicBayesTree.h.

Member Typedef Documentation

Definition at line 53 of file SymbolicBayesTree.h.

typedef boost::shared_ptr<This> gtsam::SymbolicBayesTree::shared_ptr

Definition at line 57 of file SymbolicBayesTree.h.

Definition at line 56 of file SymbolicBayesTree.h.

Constructor & Destructor Documentation

gtsam::SymbolicBayesTree::SymbolicBayesTree ( )
inline

Default constructor, creates an empty Bayes tree

Definition at line 60 of file SymbolicBayesTree.h.

Member Function Documentation

bool gtsam::SymbolicBayesTree::equals ( const This other,
double  tol = 1e-9 
) const

check equality

Definition at line 33 of file SymbolicBayesTree.cpp.

template<class ARCHIVE >
void gtsam::SymbolicBayesTree::serialize ( ARCHIVE &  ar,
const unsigned  int 
)
inlineprivate

Definition at line 69 of file SymbolicBayesTree.h.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Serialization function

Definition at line 67 of file SymbolicBayesTree.h.


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


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