added print as virtual method

release/4.3a0
Frank Dellaert 2009-09-03 16:51:31 +00:00
parent 0c590c513e
commit 24c8242782
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ namespace gtsam {
/** linearize to a LinearFactor */
virtual boost::shared_ptr<LinearFactor> linearize(const FGConfig& c) const = 0;
/** print to cout */
virtual void print(const std::string& s = "") const = 0;
/** get functions */
double get_sigma() const {return sigma_;}
Vector get_measurement() const {return z_;}