Go to the documentation of this file.
42 using shared_ptr =
typename std::shared_ptr<BinaryMeasurement>;
69 std::cout <<
s <<
"BinaryMeasurement(" << keyFormatter(this->
key1()) <<
","
70 << keyFormatter(this->
key2()) <<
")\n";
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Concept check for values that can be used in unit tests.
SharedNoiseModel noiseModel_
Noise model.
bool equals(const BinaryMeasurement &expected, double tol=1e-9) const
std::shared_ptr< Factor > shared_ptr
A shared_ptr to this class.
The base class for all factors.
GTSAM_CONCEPT_ASSERT(IsTestable< T >)
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
const SharedNoiseModel & noiseModel() const
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
noiseModel::Base::shared_ptr SharedNoiseModel
BinaryMeasurement(Key key1, Key key2, const T &measured, const SharedNoiseModel &model=nullptr)
noiseModel::Diagonal::shared_ptr model
KeyVector keys_
The keys involved in this factor.
bool equals(const This &other, double tol=1e-9) const
check equality
void Print(const CONTAINER &keys, const string &s, const KeyFormatter &keyFormatter)
void print(const std::string &s, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override
print
const T & measured() const
std::uint64_t Key
Integer nonlinear key type.
T measured_
The measurement.
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:32:02