20 #include <gtsam_unstable/dllexport.h> 22 #include <boost/assign.hpp> 56 template<
class KeyIterator>
88 virtual shared_ptr
partiallyApply(
const std::vector<Domain>&)
const = 0;
~Constraint() override
Virtual destructor.
Constraint(Key j)
Construct unary factor.
Constraint()
Default constructor for I/O.
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
Constraint(const KeyVector &js)
Construct n-way factor.
Constraint(KeyIterator beginKey, KeyIterator endKey)
construct from container
std::uint64_t Key
Integer nonlinear key type.
boost::shared_ptr< Constraint > shared_ptr
virtual shared_ptr partiallyApply(const Values &) const =0
Partially apply known values.
Constraint(Key j1, Key j2)
Construct binary factor.
virtual bool ensureArcConsistency(size_t j, std::vector< Domain > &domains) const =0