#include <BinaryMeasurement.h>
Public Types | |
using | shared_ptr = typename std::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) | |
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... | |
bool | empty () const |
Whether the factor is empty (involves zero variables). 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 |
virtual double | error (const HybridValues &c) const |
size_t | size () const |
virtual void | printKeys (const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const |
print only keys More... | |
bool | equals (const This &other, double tol=1e-9) const |
check equality More... | |
KeyVector & | keys () |
iterator | begin () |
iterator | end () |
Private Member Functions | |
GTSAM_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) | |
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 std::shared_ptr<BinaryMeasurement> |
Definition at line 42 of file BinaryMeasurement.h.
|
inline |
Definition at line 49 of file BinaryMeasurement.h.
|
inline |
Definition at line 75 of file BinaryMeasurement.h.
|
private |
|
inline |
Definition at line 58 of file BinaryMeasurement.h.
|
inline |
Definition at line 59 of file BinaryMeasurement.h.
|
inline |
Definition at line 60 of file BinaryMeasurement.h.
|
inline |
Definition at line 61 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.