SymbolicFactorGraph.cpp
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 
26 
27 namespace gtsam {
28 
29  // Instantiate base classes
30  template class FactorGraph<SymbolicFactor>;
31  template class EliminateableFactorGraph<SymbolicFactorGraph>;
32 
33  using namespace std;
34 
35  /* ************************************************************************* */
36  bool SymbolicFactorGraph::equals(const This& fg, double tol) const
37  {
38  return Base::equals(fg, tol);
39  }
40 
41  /* ************************************************************************* */
43  emplace_shared<SymbolicFactor>(key);
44  }
45 
46  /* ************************************************************************* */
48  emplace_shared<SymbolicFactor>(key1,key2);
49  }
50 
51  /* ************************************************************************* */
53  emplace_shared<SymbolicFactor>(key1,key2,key3);
54  }
55 
56  /* ************************************************************************* */
58  emplace_shared<SymbolicFactor>(key1,key2,key3,key4);
59  }
60 
61  /* ************************************************************************* */
62 }
key1
const Symbol key1('v', 1)
gtsam::SymbolicFactorGraph::push_factor
void push_factor(Key key)
Definition: SymbolicFactorGraph.cpp:42
SymbolicEliminationTree.h
SymbolicJunctionTree.h
EliminateableFactorGraph-inst.h
SymbolicBayesTree.h
SymbolicConditional.h
FactorGraph-inst.h
Factor Graph Base Class.
key2
const Symbol key2('v', 2)
gtsam::SymbolicFactorGraph
Definition: SymbolicFactorGraph.h:61
key3
const Symbol key3('v', 3)
SymbolicFactorGraph.h
key
const gtsam::Symbol key('X', 0)
gtsam
traits
Definition: chartTesting.h:28
std
Definition: BFloat16.h:88
gtsam::tol
const G double tol
Definition: Group.h:79
key4
const Symbol key4('v', 4)
gtsam::Key
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:97
gtsam::SymbolicFactorGraph::equals
bool equals(const This &fg, double tol=1e-9) const
Definition: SymbolicFactorGraph.cpp:36


gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:03:48