26 using namespace gtsam;
29 #ifdef TRACK_ELIMINATE
32 IndexFactor actual(
keys.begin(),
keys.end());
36 IndexConditional::shared_ptr expected0 = IndexConditional::FromRange(
keys.begin(),
keys.end(), 1);
37 IndexConditional::shared_ptr expected1 = IndexConditional::FromRange(
keys.begin()+1,
keys.end(), 1);
38 IndexConditional::shared_ptr expected2 = IndexConditional::FromRange(
keys.begin()+2,
keys.end(), 1);
69 std::make_shared<SymbolicFactor>(2, 4, 6),
70 std::make_shared<SymbolicFactor>(1, 2, 5),
71 std::make_shared<SymbolicFactor>(0, 3)};
75 SymbolicConditional::FromKeys(
KeyVector{0,1,2,3,4,5,6}, 4);
77 const auto [actualConditional, actualFactor] =