45 #include <boost/shared_ptr.hpp> 46 #include <boost/tuple/tuple.hpp> 47 #include <boost/assign/std/vector.hpp> 59 using namespace gtsam;
72 TEST( GaussianJunctionTreeB, constructor2 ) {
83 ordering +=
X(1),
X(3),
X(5),
X(7),
X(2),
X(6),
X(4);
91 o324 +=
X(3),
X(2),
X(4);
105 GaussianJunctionTree::sharedNode x324 = actual.
roots().front();
107 GaussianJunctionTree::sharedNode
x1 = x324->children.front();
108 GaussianJunctionTree::sharedNode x56 = x324->children.back();
109 if (x1->children.size() > 0)
114 GaussianJunctionTree::sharedNode x7 = x56->children[0];
TEST(GaussianJunctionTreeB, constructor2)
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
A non-templated config holding any types of Manifold-group elements.
Factor Graph consisting of non-linear factors.
static enum @843 ordering
boost::shared_ptr< This > shared_ptr
shared_ptr to this class
A factor with a quadratic error function - a Gaussian.
std::pair< NonlinearFactorGraph, Values > createNonlinearSmoother(int T)
#define EXPECT(condition)
Contains the HessianFactor class, a general quadratic factor.
Conditional Gaussian Base class.
Linear Factor Graph where all factors are Gaussians.
#define LONGS_EQUAL(expected, actual)
Bayes Tree is a tree of cliques of a Bayes Chain.
boost::shared_ptr< SymbolicFactorGraph > symbolic() const
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
#define EXPECT_LONGS_EQUAL(expected, actual)
boost::shared_ptr< This > shared_ptr
shared_ptr to this class
Create small example with two poses and one landmark.
Chordal Bayes Net, the result of eliminating a factor graph.
boost::shared_ptr< GaussianFactorGraph > linearize(const Values &linearizationPoint) const
Linearize a nonlinear factor graph.
const FastVector< sharedNode > & roots() const