23 #include <boost/function.hpp> 57 void print(
const std::string&
s =
"")
const;
67 inline unsigned char label()
const {
return label_; }
70 inline unsigned char chr()
const {
return c_; }
73 inline size_t index()
const {
return j_; }
76 operator std::string()
const;
92 static boost::function<bool(gtsam::Key)> TypeTest(
unsigned char c);
95 static boost::function<bool(gtsam::Key)> LabelTest(
unsigned char label);
98 static boost::function<bool(gtsam::Key)> TypeLabelTest(
unsigned char c,
unsigned char label);
116 friend class boost::serialization::access;
117 template<
class ARCHIVE>
119 ar & BOOST_SERIALIZATION_NVP(c_);
120 ar & BOOST_SERIALIZATION_NVP(label_);
121 ar & BOOST_SERIALIZATION_NVP(j_);
void print(const Matrix &A, const string &s, ostream &stream)
void serialize(ARCHIVE &ar, const unsigned int)
unsigned char label() const
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
bool operator!=(const Matrix &A, const Matrix &B)
bool operator<(const benchmark_t &b1, const benchmark_t &b2)
LabeledSymbol upper() const
unsigned char mrsymbolLabel(Key key)
LabeledSymbol lower() const
bool operator==(const Matrix &A, const Matrix &B)
bool equals(const LabeledSymbol &expected, double tol=0.0) const
unsigned char chr() const
LabeledSymbol newLabel(unsigned char label) const
unsigned __int64 uint64_t
Key mrsymbol(unsigned char c, unsigned char label, size_t j)
LabeledSymbol newChr(unsigned char c) const
unsigned char mrsymbolChr(Key key)
std::uint64_t Key
Integer nonlinear key type.
size_t mrsymbolIndex(Key key)