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 }
const gtsam::Symbol key('X', 0)
const Symbol key3('v', 3)
Definition: BFloat16.h:88
const Symbol key1('v', 1)
bool equals(const This &fg, double tol=1e-9) const
const Symbol key4('v', 4)
traits
Definition: chartTesting.h:28
const G double tol
Definition: Group.h:86
Factor Graph Base Class.
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:102
const Symbol key2('v', 2)


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:36:34