18 #include <boost/assign/list_of.hpp> 20 #include <boost/make_shared.hpp> 27 using namespace gtsam;
73 list_of(0)(1)(2)(3)(4), 1);
82 boost::make_shared<SymbolicConditional>(
83 SymbolicConditional::FromKeys(list_of(1)(2)(3)(4)(5), 2));
107 SymbolicConditional c0(0, 1, 2),
c1(0, 1, 2),
c2(1, 2, 3),
c3(3,4);
112 CHECK(!c0.equals(c3));
bool equals(const This &c, double tol=1e-9) const
Provides additional testing facilities for common data structures.
static int runAllTests(TestResult &result)
const_iterator end() const
size_t nrFrontals() const
boost::shared_ptr< This > shared_ptr
Typedef to the conditional base class.
const_iterator begin() const
#define EXPECT(condition)
TEST(SymbolicConditional, empty)
#define LONGS_EQUAL(expected, actual)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
const KeyVector & keys() const
Access the factor's involved variable keys.