27 using namespace gtsam;
32 TEST(testSignature, SimpleConditional) {
36 vector<double>
row[3]{{0.5, 0.5}, {0.4, 0.6}, {0.2, 0.8}};
57 TEST(testSignature, SimpleConditionalNonparser) {
77 DiscreteKey A(0, 2),
S(1, 2),
T(2, 2),
L(3, 2),
B(4, 2),
E(5, 2),
D(7, 2);
80 TEST(testSignature, AllExamples) {
92 TEST(testSignature, AllExamplesMagic) {
104 TEST(testSignature, DoxygenExample) {
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
signatures for conditional densities
TEST(testSignature, SimpleConditional)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
const DiscreteKey & key() const
DiscreteKeys discreteKeys() const
static const Line3 l(Rot3(), 1, 1)
const DiscreteKeys & parents() const
#define EXPECT(condition)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::vector< double > Row
#define LONGS_EQUAL(expected, actual)
std::vector< double > cpt() const
#define EXPECT_LONGS_EQUAL(expected, actual)
std::pair< Key, size_t > DiscreteKey
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
DiscreteKeys is a set of keys that can be assembled using the & operator.