23 using namespace gtsam;
38 ADT adtA(A, 0.5 * 10 / 19, (2. / 3) * (9. / 19));
45 auto actualMPE = dag.
argmax();
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
#define EXPECT(condition)
std::pair< Key, size_t > DiscreteKey
TEST(SmartFactorBase, Pinhole)
DiscreteValues argmax(DiscreteValues given=DiscreteValues()) const
argmax by back-substitution, optionally given certain variables.
void add(Args &&... args)
DiscreteKeys is a set of keys that can be assembled using the & operator.