Go to the documentation of this file.
24 using namespace gtsam;
69 auto c0 = SymbolicConditional::FromKeys(
KeyVector{0, 1, 2, 3, 4}, 1);
77 auto c0 = std::make_shared<SymbolicConditional>(
78 SymbolicConditional::FromKeys(
KeyVector{1, 2, 3, 4, 5}, 2));
102 SymbolicConditional c0(0, 1, 2),
c1(0, 1, 2),
c2(1, 2, 3), c3(3,4);
107 CHECK(!c0.equals(c3));
static int runAllTests(TestResult &result)
#define EXPECT(condition)
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
Provides additional testing facilities for common data structures.
bool equals(const This &c, double tol=1e-9) const
size_t nrFrontals() const
TEST(SymbolicConditional, empty)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
#define LONGS_EQUAL(expected, actual)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:45