added begin and end iterators

release/4.3a0
Kai Ni 2010-03-02 06:07:46 +00:00
parent 33c6c51658
commit 680a6a28c1
1 changed files with 6 additions and 0 deletions

View File

@ -85,6 +85,12 @@ namespace gtsam {
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 */
SharedGaussian get_noiseModel() const {
return noiseModel_;