/** * @file BayesTree * @brief Bayes Tree is a tree of cliques of a Bayes Chain * @author Frank Dellaert */ // \callgraph #pragma once #include #include #include #include "Testable.h" #include "BayesChain.h" namespace gtsam { /** * Bayes tree * Templated on the Conditional class, the type of node in the underlying Bayes chain. * This could be a ConditionalProbabilityTable, a ConditionalGaussian, or a SymbolicConditional */ template class BayesTree : public Testable > { public: /** Create a Bayes Tree from a SymbolicBayesChain */ BayesTree(BayesChain& bayesChain) {} /** Destructor */ virtual ~BayesTree() {} /** print */ void print(const std::string& s = "") const {} /** check equality */ bool equals(const BayesTree& other, double tol = 1e-9) const { return false; } }; // BayesTree } /// namespace gtsam