#include <BinaryMeasurement.h>
Public Types | |
using | shared_ptr = typename boost::shared_ptr< BinaryMeasurement > |
Public Types inherited from gtsam::Factor | |
typedef KeyVector::const_iterator | const_iterator |
Const iterator over keys. More... | |
typedef KeyVector::iterator | iterator |
Iterator over keys. More... | |
Public Member Functions | |
BinaryMeasurement (Key key1, Key key2, const T &measured, const SharedNoiseModel &model=nullptr) | |
virtual | ~BinaryMeasurement () |
Destructor. More... | |
Standard Interface | |
Key | key1 () const |
Key | key2 () const |
const T & | measured () const |
const SharedNoiseModel & | noiseModel () const |
Testable | |
void | print (const std::string &s, const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override |
print More... | |
bool | equals (const BinaryMeasurement &expected, double tol=1e-9) const |
Public Member Functions inherited from gtsam::Factor | |
virtual | ~Factor ()=default |
Default destructor. More... | |
KeyVector & | keys () |
iterator | begin () |
iterator | end () |
virtual void | printKeys (const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const |
print only keys More... | |
Key | front () const |
First key. More... | |
Key | back () const |
Last key. More... | |
const_iterator | find (Key key) const |
find More... | |
const KeyVector & | keys () const |
Access the factor's involved variable keys. More... | |
const_iterator | begin () const |
const_iterator | end () const |
size_t | size () const |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((IsTestable< T >)) | |
Private Attributes | |
T | measured_ |
The measurement. More... | |
SharedNoiseModel | noiseModel_ |
Noise model. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from gtsam::Factor | |
Factor () | |
template<typename CONTAINER > | |
Factor (const CONTAINER &keys) | |
template<typename ITERATOR > | |
Factor (ITERATOR first, ITERATOR last) | |
bool | equals (const This &other, double tol=1e-9) const |
check equality More... | |
Static Protected Member Functions inherited from gtsam::Factor | |
template<typename CONTAINER > | |
static Factor | FromKeys (const CONTAINER &keys) |
template<typename ITERATOR > | |
static Factor | FromIterators (ITERATOR first, ITERATOR last) |
Protected Attributes inherited from gtsam::Factor | |
KeyVector | keys_ |
The keys involved in this factor. More... | |
Definition at line 36 of file BinaryMeasurement.h.
using gtsam::BinaryMeasurement< T >::shared_ptr = typename boost::shared_ptr<BinaryMeasurement> |
Definition at line 42 of file BinaryMeasurement.h.
|
inline |
Definition at line 49 of file BinaryMeasurement.h.
|
inlinevirtual |
Destructor.
Definition at line 56 of file BinaryMeasurement.h.
|
private |
|
inline |
Definition at line 78 of file BinaryMeasurement.h.
|
inline |
Definition at line 61 of file BinaryMeasurement.h.
|
inline |
Definition at line 62 of file BinaryMeasurement.h.
|
inline |
Definition at line 63 of file BinaryMeasurement.h.
|
inline |
Definition at line 64 of file BinaryMeasurement.h.
|
inlineoverridevirtual |
|
private |
The measurement.
Definition at line 45 of file BinaryMeasurement.h.
|
private |
Noise model.
Definition at line 46 of file BinaryMeasurement.h.