added begin and end iterators
parent
33c6c51658
commit
680a6a28c1
|
@ -85,6 +85,12 @@ namespace gtsam {
|
||||||
return keys_;
|
return keys_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* return the begin iterator of keys */
|
||||||
|
std::list<Symbol>::const_iterator begin() const { return keys_.begin(); }
|
||||||
|
|
||||||
|
/* return the end iterator of keys */
|
||||||
|
std::list<Symbol>::const_iterator end() const { return keys_.end(); }
|
||||||
|
|
||||||
/** access to the noise model */
|
/** access to the noise model */
|
||||||
SharedGaussian get_noiseModel() const {
|
SharedGaussian get_noiseModel() const {
|
||||||
return noiseModel_;
|
return noiseModel_;
|
||||||
|
|
Loading…
Reference in New Issue