diff --git a/gtsam.h b/gtsam.h index 1f07df485..540b4246c 100644 --- a/gtsam.h +++ b/gtsam.h @@ -1139,6 +1139,11 @@ virtual class GaussianBayesTree : gtsam::GaussianBayesTreeBase { GaussianBayesTree(const gtsam::GaussianBayesNet& other); }; +// namespace functions for GaussianBayesTree +gtsam::VectorValues optimize(const gtsam::GaussianBayesTree& bayesTree); +gtsam::VectorValues optimizeGradientSearch(const gtsam::GaussianBayesTree& bayesTree); +gtsam::VectorValues gradient(const gtsam::GaussianBayesTree& bayesTree, const gtsam::VectorValues& x0); + virtual class GaussianFactor { void print(string s) const; bool equals(const gtsam::GaussianFactor& lf, double tol) const;