ISAM.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
18 // \callgraph
19 #pragma once
20 
21 #include <gtsam/global_includes.h>
22 
23 namespace gtsam {
24 
30 template <class BAYESTREE>
31 class ISAM : public BAYESTREE {
32  public:
33  typedef BAYESTREE Base;
34  typedef typename Base::BayesNetType BayesNetType;
36  typedef typename Base::Clique Clique;
37  typedef typename Base::sharedClique sharedClique;
38  typedef typename Base::Cliques Cliques;
39 
40  private:
41  typedef typename Base::Eliminate Eliminate;
43 
44  public:
47 
49  ISAM() {}
50 
52  explicit ISAM(const Base& bayesTree) : Base(bayesTree) {}
53 
57 
64  void update(
65  const FactorGraphType& newFactors,
66  const Eliminate& function = EliminationTraitsType::DefaultEliminate);
67 
70  void updateInternal(
71  const FactorGraphType& newFactors, Cliques* orphans,
72  const Eliminate& function = EliminationTraitsType::DefaultEliminate);
73 
75 };
76 
77 } // namespace gtsam
gtsam::ISAM::Eliminate
Base::Eliminate Eliminate
Definition: ISAM.h:41
gtsam::ISAM::EliminationTraitsType
Base::EliminationTraitsType EliminationTraitsType
Definition: ISAM.h:42
gtsam::BayesTree< HybridBayesTreeClique >::FactorGraphType
HybridBayesTreeClique ::FactorGraphType FactorGraphType
Definition: BayesTree.h:83
gtsam::BayesTree< HybridBayesTreeClique >::Eliminate
FactorGraphType::Eliminate Eliminate
Definition: BayesTree.h:85
global_includes.h
Included from all GTSAM files.
gtsam::ISAM::Cliques
Base::Cliques Cliques
Definition: ISAM.h:38
gtsam::ISAM::Clique
Base::Clique Clique
Definition: ISAM.h:36
gtsam::ISAM::Base
BAYESTREE Base
Definition: ISAM.h:33
gtsam::BayesTree< HybridBayesTreeClique >::BayesNetType
HybridBayesTreeClique ::BayesNetType BayesNetType
Definition: BayesTree.h:79
gtsam::HybridBayesTreeClique
A clique in a HybridBayesTree which is a HybridConditional internally.
Definition: HybridBayesTree.h:44
gtsam::BayesTree< HybridBayesTreeClique >::EliminationTraitsType
HybridBayesTreeClique ::EliminationTraitsType EliminationTraitsType
Definition: BayesTree.h:86
gtsam::FastList
Definition: FastList.h:43
gtsam::ISAM::ISAM
ISAM(const Base &bayesTree)
Definition: ISAM.h:52
gtsam::ISAM::FactorGraphType
Base::FactorGraphType FactorGraphType
Definition: ISAM.h:35
gtsam::ISAM::sharedClique
Base::sharedClique sharedClique
Definition: ISAM.h:37
gtsam
traits
Definition: SFMdata.h:40
gtsam::BayesTree< HybridBayesTreeClique >
gtsam::ISAM::updateInternal
void updateInternal(const FactorGraphType &newFactors, Cliques *orphans, const Eliminate &function=EliminationTraitsType::DefaultEliminate)
Definition: ISAM-inst.h:27
gtsam::BayesTree< HybridBayesTreeClique >::sharedClique
std::shared_ptr< Clique > sharedClique
Shared pointer to a clique.
Definition: BayesTree.h:74
gtsam::ISAM
Definition: ISAM.h:31
gtsam::ISAM::BayesNetType
Base::BayesNetType BayesNetType
Definition: ISAM.h:34
gtsam::ISAM::update
void update(const FactorGraphType &newFactors, const Eliminate &function=EliminationTraitsType::DefaultEliminate)
Definition: ISAM-inst.h:62
gtsam::ISAM::ISAM
ISAM()
Definition: ISAM.h:49


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:46