|
typedef KeyVector::iterator | iterator |
| Iterator over keys.
|
|
typedef KeyVector::const_iterator | const_iterator |
| Const iterator over keys.
|
|
|
| Factor () |
|
template<typename CONTAINER > |
| Factor (const CONTAINER &keys) |
|
template<typename ITERATOR > |
| Factor (ITERATOR first, ITERATOR last) |
|
template<typename CONTAINER > |
static Factor | FromKeys (const CONTAINER &keys) |
|
template<typename ITERATOR > |
static Factor | FromIterators (ITERATOR first, ITERATOR last) |
|
◆ Factor() [1/3]
gtsam::Factor::Factor |
( |
| ) |
|
|
inlineprotected |
Default constructor for I/O
◆ Factor() [2/3]
template<typename CONTAINER >
gtsam::Factor::Factor |
( |
const CONTAINER & |
keys | ) |
|
|
inlineexplicitprotected |
Construct factor from container of keys. This constructor is used internally from derived factor constructors, either from a container of keys or from a boost::assign::list_of.
◆ Factor() [3/3]
template<typename ITERATOR >
gtsam::Factor::Factor |
( |
ITERATOR |
first, |
|
|
ITERATOR |
last |
|
) |
| |
|
inlineprotected |
Construct factor from iterator keys. This constructor may be used internally from derived factor constructors, although our code currently does not use this.
◆ begin() [1/2]
Iterator at beginning of involved variable keys
◆ begin() [2/2]
Iterator at beginning of involved variable keys
◆ end() [1/2]
Iterator at end of involved variable keys
◆ end() [2/2]
Iterator at end of involved variable keys
◆ error()
virtual double gtsam::Factor::error |
( |
const HybridValues & |
c | ) |
const |
|
virtual |
◆ FromIterators()
template<typename ITERATOR >
static Factor gtsam::Factor::FromIterators |
( |
ITERATOR |
first, |
|
|
ITERATOR |
last |
|
) |
| |
|
inlinestaticprotected |
Construct factor from iterator keys. This is called internally from derived factor static factor methods, as a workaround for not being able to call the protected constructors above.
◆ FromKeys()
template<typename CONTAINER >
static Factor gtsam::Factor::FromKeys |
( |
const CONTAINER & |
keys | ) |
|
|
inlinestaticprotected |
Construct factor from container of keys. This is called internally from derived factor static factor methods, as a workaround for not being able to call the protected constructors above.
◆ keys()
- Returns
- keys involved in this factor
◆ size()
size_t gtsam::Factor::size |
( |
| ) |
const |
|
inline |
- Returns
- the number of variables involved in this factor
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/gtsam-jlblanco-docs/checkouts/latest/gtsam/inference/Factor.h