Go to the documentation of this file.
33 using namespace gtsam;
34 using namespace symbol_shorthand;
51 using namespace gtsam;
52 using namespace symbol_shorthand;
68 using namespace gtsam;
74 const auto weights = std::vector<double>(
g.size(), 1.0);
78 EXPECT(mstEdgeIndices[0] == 0);
79 EXPECT(mstEdgeIndices[1] == 1);
80 EXPECT(mstEdgeIndices[2] == 2);
85 using namespace gtsam;
91 const auto weights = std::vector<double>(
g.size(), 1.0);
95 EXPECT(mstEdgeIndices[0] == 0);
96 EXPECT(mstEdgeIndices[1] == 1);
97 EXPECT(mstEdgeIndices[2] == 2);
static int runAllTests(TestResult &result)
Linear Factor Graph where all factors are Gaussians.
std::vector< size_t > kruskal(const FactorGraph< FACTOR > &fg, const std::vector< double > &weights)
#define EXPECT(condition)
gtsam::NonlinearFactorGraph makeTestNonlinearFactorGraph()
static shared_ptr Sigmas(const Vector &sigmas, bool smart=true)
Variable ordering for the elimination algorithm.
gtsam::GaussianFactorGraph makeTestGaussianFactorGraph()
Provides additional testing facilities for common data structures.
3D rotation represented as a rotation matrix or quaternion
Rot3 is a 3D rotation represented as a rotation matrix if the preprocessor symbol GTSAM_USE_QUATERNIO...
noiseModel::Diagonal::shared_ptr SharedDiagonal
noiseModel::Diagonal::shared_ptr model
void g(const string &key, int i)
TEST(SmartFactorBase, Pinhole)
Factor Graph consisting of non-linear factors.
IsDerived< DERIVEDFACTOR > emplace_shared(Args &&... args)
Emplace a shared pointer to factor of given type.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:07:47