24 #include <boost/assign/std/map.hpp> 28 using namespace gtsam;
TEST_UNSAFE(DecisionTreeFactor, multiplication)
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
signatures for conditional densities
double f2(const Vector2 &x)
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
std::pair< Key, size_t > DiscreteKey
Array< double, 1, 3 > e(1./3., 0.5, 2.)
shared_ptr sum(size_t nrFrontals) const
Create new factor by summing all values with the same separator values.
TEST(DecisionTreeFactor, constructors)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
std::vector< float > Values
#define EXPECT_LONGS_EQUAL(expected, actual)
Point2 f1(const Point3 &p, OptionalJacobian< 2, 3 > H)
double f3(double x1, double x2)
boost::shared_ptr< DecisionTreeFactor > shared_ptr
shared_ptr max(size_t nrFrontals) const
Create new factor by maximizing over all values with the same separator values.