30template <
class BAYESTREE>
31class ISAM :
public BAYESTREE {
33 typedef BAYESTREE Base;
34 typedef typename Base::BayesNetType BayesNetType;
35 typedef typename Base::FactorGraphType FactorGraphType;
36 typedef typename Base::Clique Clique;
37 typedef typename Base::sharedClique sharedClique;
38 typedef typename Base::Cliques Cliques;
41 typedef typename Base::Eliminate Eliminate;
42 typedef typename Base::EliminationTraitsType EliminationTraitsType;
52 explicit ISAM(
const Base& bayesTree) : Base(bayesTree) {}
65 const FactorGraphType& newFactors,
66 const Eliminate& function = EliminationTraitsType::DefaultEliminate);
71 const FactorGraphType& newFactors, Cliques* orphans,
72 const Eliminate& function = EliminationTraitsType::DefaultEliminate);
Included from all GTSAM files.
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
A Bayes tree with an update methods that implements the iSAM algorithm.
Definition: ISAM.h:31
void update(const FactorGraphType &newFactors, const Eliminate &function=EliminationTraitsType::DefaultEliminate)
update the Bayes tree with a set of new factors, typically derived from measurements
Definition: ISAM-inst.h:62
ISAM(const Base &bayesTree)
Copy constructor.
Definition: ISAM.h:52
ISAM()
Create an empty Bayes Tree.
Definition: ISAM.h:49
void updateInternal(const FactorGraphType &newFactors, Cliques *orphans, const Eliminate &function=EliminationTraitsType::DefaultEliminate)
updateInternal provides access to list of orphans for drawing purposes
Definition: ISAM-inst.h:27