add printStats() and wrap saveGraph for ISAM2
parent
403c6e39ad
commit
2b4c0e1b14
2
gtsam.h
2
gtsam.h
|
@ -1484,6 +1484,8 @@ class ISAM2 {
|
||||||
|
|
||||||
bool equals(const gtsam::ISAM2& other, double tol) const;
|
bool equals(const gtsam::ISAM2& other, double tol) const;
|
||||||
void print(string s) const;
|
void print(string s) const;
|
||||||
|
void printStats() const;
|
||||||
|
void saveGraph(string s) const;
|
||||||
|
|
||||||
gtsam::ISAM2Result update();
|
gtsam::ISAM2Result update();
|
||||||
gtsam::ISAM2Result update(const gtsam::NonlinearFactorGraph& newFactors, const gtsam::Values& newTheta);
|
gtsam::ISAM2Result update(const gtsam::NonlinearFactorGraph& newFactors, const gtsam::Values& newTheta);
|
||||||
|
|
|
@ -598,6 +598,9 @@ public:
|
||||||
|
|
||||||
const ISAM2Params& params() const { return params_; }
|
const ISAM2Params& params() const { return params_; }
|
||||||
|
|
||||||
|
/** prints out clique statistics */
|
||||||
|
void printStats() const { getCliqueData().getStats().print(); }
|
||||||
|
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue