53 using namespace gtsam;
66 TEST( GaussianJunctionTreeB, constructor2 ) {
81 const Ordering o324{
X(3),
X(2),
X(4)}, o56{
X(5),
X(6)}, o7{
X(7)}, o1{
X(1)};
87 if (x1->children.size() > 0)
113 TEST(GaussianJunctionTreeB, OptimizeMultiFrontal) {
128 TEST(GaussianJunctionTreeB, optimizeMultiFrontal2) {
132 const auto fg = *nlfg.linearize(noisy);
TEST(GaussianJunctionTreeB, constructor2)
SymbolicEliminationTree::sharedNode sharedNode
Values createNoisyValues()
Concept check for values that can be used in unit tests.
GaussianFactorGraph createSmoother(int T)
static int runAllTests(TestResult &result)
A non-templated config holding any types of Manifold-group elements.
Factor Graph consisting of non-linear factors.
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
A factor with a quadratic error function - a Gaussian.
static enum @1107 ordering
std::pair< VectorValues::iterator, bool > emplace(Key j, Args &&... args)
const FastVector< sharedNode > & roots() const
VectorValues createCorrectDelta()
std::pair< NonlinearFactorGraph, Values > createNonlinearSmoother(int T)
#define EXPECT(condition)
Array< int, Dynamic, 1 > v
Contains the HessianFactor class, a general quadratic factor.
NonlinearFactorGraph createNonlinearFactorGraph(const SharedNoiseModel &noiseModel1=impl::kSigma0_1, const SharedNoiseModel &noiseModel2=impl::kSigma0_2)
Conditional Gaussian Base class.
Linear Factor Graph where all factors are Gaussians.
std::pair< GaussianConditional::shared_ptr, JacobianFactor::shared_ptr > EliminateQR(const GaussianFactorGraph &factors, const Ordering &keys)
std::shared_ptr< This > shared_ptr
shared_ptr to this class
#define LONGS_EQUAL(expected, actual)
Bayes Tree is a tree of cliques of a Bayes Chain.
#define EXPECT_LONGS_EQUAL(expected, actual)
std::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.
Collects factorgraph fragments defined on variable clusters, arranged in a tree.