18 #include <boost/make_shared.hpp> 27 using namespace gtsam;
85 bn += SymbolicConditional::FromKeys(
keys,2);
GTSAM_EXPORT void saveGraph(const std::string &s, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const
Concept check for values that can be used in unit tests.
static int runAllTests(TestResult &result)
double f2(const Vector2 &x)
IsDerived< DERIVEDFACTOR > push_back(boost::shared_ptr< DERIVEDFACTOR > factor)
Add a factor directly using a shared_ptr.
Matrix< SCALARB, Dynamic, Dynamic > B
boost::shared_ptr< This > shared_ptr
Typedef to the conditional base class.
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
GTSAM_EXPORT bool equals(const This &bn, double tol=1e-9) const
TEST(SymbolicBayesNet, equals)
Matrix< Scalar, Dynamic, Dynamic > C
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Point2 f1(const Point3 &p, OptionalJacobian< 2, 3 > H)
static SymbolicConditional::shared_ptr L(new SymbolicConditional(_L_, _B_))
std::uint64_t Key
Integer nonlinear key type.