54 :
public JunctionTree<DiscreteBayesTree, DiscreteFactorGraph> {
80 void print(
const std::string& name =
"DiscreteJunctionTree: ",
Discrete Bayes Tree, the result of eliminating a DiscreteJunctionTree.
Global functions in a separate testing namespace.
Definition chartTesting.h:28
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
Definition Key.cpp:30
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Definition Key.h:35
DiscreteJunctionTree::Cluster DiscreteCluster
typedef for wrapper:
Definition DiscreteJunctionTree.h:87
Elimination tree for discrete factors.
Definition DiscreteEliminationTree.h:33
JunctionTree< DiscreteBayesTree, DiscreteFactorGraph > Base
Base class.
Definition DiscreteJunctionTree.h:57
DiscreteJunctionTree(const DiscreteEliminationTree &eliminationTree)
Build the elimination tree of a factor graph using precomputed column structure.
Definition DiscreteJunctionTree.cpp:30
void print(const std::string &name="DiscreteJunctionTree: ", const KeyFormatter &formatter=DefaultKeyFormatter) const
Print the tree to cout.
Definition DiscreteJunctionTree.cpp:35
std::shared_ptr< This > shared_ptr
Shared pointer to this class.
Definition DiscreteJunctionTree.h:59
DiscreteJunctionTree This
This class.
Definition DiscreteJunctionTree.h:58
A Cluster is just a collection of factors.
Definition ClusterTree.h:38
JunctionTree(const EliminationTree< ETREE_BAYESNET, ETREE_GRAPH > &eliminationTree)