Go to the documentation of this file.
34 template <
class CONDITIONAL>
40 typedef typename std::shared_ptr<CONDITIONAL>
51 template <
typename ITERATOR>
52 BayesNet(ITERATOR firstConditional, ITERATOR lastConditional)
53 :
Base(firstConditional, lastConditional) {}
71 const std::string&
s =
"BayesNet",
79 void dot(std::ostream&
os,
void print(const std::string &s="BayesNet", const KeyFormatter &formatter=DefaultKeyFormatter) const override
double evaluate(const HybridValues &c) const
void dot(std::ostream &os, const KeyFormatter &keyFormatter=DefaultKeyFormatter, const DotWriter &writer=DotWriter()) const
Output to graphviz format, stream version.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
const KeyFormatter & formatter
ofstream os("timeSchurFactors.csv")
BayesNet(std::initializer_list< sharedConditional > conditionals)
const std::vector< GaussianConditional::shared_ptr > conditionals
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
FactorGraph< CONDITIONAL > Base
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
BayesNet(ITERATOR firstConditional, ITERATOR lastConditional)
void saveGraph(const std::string &filename, const KeyFormatter &keyFormatter=DefaultKeyFormatter, const DotWriter &writer=DotWriter()) const
output to file with graphviz format.
double logProbability(const HybridValues &x) const
std::shared_ptr< CONDITIONAL > sharedConditional
A shared pointer to a conditional.
DotWriter is a helper class for writing graphviz .dot files.
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:32:00