Go to the documentation of this file.
25 using namespace gtsam;
37 const size_t nFrontals = 1;
42 const auto frontals =
hc.frontals();
47 const auto parents =
hc.parents();
66 CHECK(hc0->isHybrid());
69 const auto parents = hc0->parents();
75 const auto conditional = hc0->asHybrid();
83 CHECK(hc1->isContinuous());
86 const auto gaussian = hc1->asGaussian();
95 CHECK(hc2->isDiscrete());
98 const auto discrete = hc2->asDiscrete();
static int runAllTests(TestResult &result)
Eigen::Matrix< double, 1, 1 > Vector1
static const double d[K][N]
#define EXPECT_LONGS_EQUAL(expected, actual)
#define EXPECT(condition)
DiscreteKeys is a set of keys that can be assembled using the & operator.
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
static bool CheckInvariants(const HybridGaussianConditional &conditional, const VALUES &x)
TEST(SmartFactorBase, Pinhole)
HybridBayesNet createHybridBayesNet(size_t num_measurements=1, bool manyModes=false)
Matrix< RealScalar, Dynamic, Dynamic > M
gtsam
Author(s):
autogenerated on Fri Mar 28 2025 03:07:02