From 9882d8b34e6e2f99e5532a2756e030dd4e8eec6f Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Mon, 24 Jun 2013 19:30:15 +0000 Subject: [PATCH] public addClique function --- gtsam/inference/BayesTreeUnordered.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtsam/inference/BayesTreeUnordered.h b/gtsam/inference/BayesTreeUnordered.h index c5557a49f..83474f501 100644 --- a/gtsam/inference/BayesTreeUnordered.h +++ b/gtsam/inference/BayesTreeUnordered.h @@ -230,6 +230,9 @@ namespace gtsam { * structures associated with adding a subtree, such as populating the nodes index. */ void insertRoot(const sharedClique& subtree); + /** add a clique (top down) */ + void addClique(const sharedClique& clique, const sharedClique& parent_clique = sharedClique()); + /** * Create a clone of this object as a shared pointer * Necessary for inheritance in matlab interface @@ -250,9 +253,6 @@ namespace gtsam { /** remove a clique: warning, can result in a forest */ void removeClique(sharedClique clique); - /** add a clique (top down) */ - void addClique(const sharedClique& clique, const sharedClique& parent_clique = sharedClique()); - /** add a clique (bottom up) */ sharedClique addClique(const sharedConditional& conditional, std::list& child_cliques);