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 
18 #include <boost/make_shared.hpp>
19 
27 
28 namespace gtsam {
29 
30  // Instantiate base classes
31  template class FactorGraph<SymbolicFactor>;
32  template class EliminateableFactorGraph<SymbolicFactorGraph>;
33 
34  using namespace std;
35 
36  /* ************************************************************************* */
37  bool SymbolicFactorGraph::equals(const This& fg, double tol) const
38  {
39  return Base::equals(fg, tol);
40  }
41 
42  /* ************************************************************************* */
44  push_back(boost::make_shared<SymbolicFactor>(key));
45  }
46 
47  /* ************************************************************************* */
49  push_back(boost::make_shared<SymbolicFactor>(key1,key2));
50  }
51 
52  /* ************************************************************************* */
54  push_back(boost::make_shared<SymbolicFactor>(key1,key2,key3));
55  }
56 
57  /* ************************************************************************* */
59  push_back(boost::make_shared<SymbolicFactor>(key1,key2,key3,key4));
60  }
61 
62  /* ************************************************************************* */
63 }
Definition: Half.h:150
const Symbol key1('v', 1)
traits
Definition: chartTesting.h:28
bool equals(const This &fg, double tol=1e-9) const
const Symbol key3('v', 3)
const Symbol key2('v', 2)
const Symbol key4('v', 4)
const G double tol
Definition: Group.h:83
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:61


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:45:07