Go to the documentation of this file.
34 class DiscreteConditional;
49 const std::shared_ptr<DiscreteConditional>& conditional)
50 :
Base(conditional) {}
54 const std::string&
s =
"Clique: ",
74 :
public BayesTree<DiscreteBayesTreeClique> {
116 :
public Testable<DiscreteBayesTreeClique> {};
string markdown(const DiscreteValues &values, const KeyFormatter &keyFormatter, const DiscreteValues::Names &names)
Free version of markdown.
BayesTreeCliqueBase< DiscreteBayesTreeClique, DiscreteFactorGraph > Base
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::shared_ptr< This > shared_ptr
DiscreteBayesTreeClique()
Bayes Tree is a tree of cliques of a Bayes Chain.
const KeyFormatter & formatter
Base class for cliques of a BayesTree.
double operator()(const DiscreteValues &values) const
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
BayesTree< DiscreteBayesTreeClique > Base
DiscreteBayesTreeClique(const std::shared_ptr< DiscreteConditional > &conditional)
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
void printSignature(const std::string &s="Clique: ", const KeyFormatter &formatter=DefaultKeyFormatter) const
print index signature only
std::weak_ptr< This > weak_ptr
DiscreteValues::Names Names
Translation table from values to strings.
A Bayes tree representing a Discrete distribution.
string html(const DiscreteValues &values, const KeyFormatter &keyFormatter, const DiscreteValues::Names &names)
Free version of html.
DiscreteBayesTreeClique This
Base class for conditional densities.
double operator()(const DiscreteValues &values) const
std::shared_ptr< This > shared_ptr
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:13