34 class DiscreteConditional;
50 const boost::shared_ptr<DiscreteConditional>& conditional)
51 :
Base(conditional) {}
55 const std::string&
s =
"Clique: ",
67 :
public BayesTree<DiscreteBayesTreeClique> {
79 bool equals(
const This& other,
double tol = 1
e-9)
const;
Base class for conditional densities.
boost::shared_ptr< This > shared_ptr
DiscreteBayesTreeClique This
static const KeyFormatter DefaultKeyFormatter
const KeyFormatter & formatter
BayesTree< DiscreteBayesTreeClique > Base
DiscreteBayesTreeClique()
void printSignature(const std::string &s="Clique: ", const KeyFormatter &formatter=DefaultKeyFormatter) const
print index signature only
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
BayesTreeCliqueBase< DiscreteBayesTreeClique, DiscreteFactorGraph > Base
Bayes Tree is a tree of cliques of a Bayes Chain.
boost::shared_ptr< This > shared_ptr
DiscreteBayesTreeClique(const boost::shared_ptr< DiscreteConditional > &conditional)
Base class for cliques of a BayesTree.
boost::weak_ptr< This > weak_ptr
virtual ~DiscreteBayesTreeClique()