in progress -- separate files to speed up compilation time...

release/4.3a0
Yong-Dian Jian 2012-02-14 18:18:28 +00:00
parent 8b05fdb14f
commit 5d3e11e0c9
1 changed files with 3 additions and 27 deletions

View File

@ -6,14 +6,12 @@
#pragma once #pragma once
#include <vector> #include <string>
#include <map>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <gtsam/linear/VectorValues.h>
namespace gtsam { namespace gtsam {
struct DimSpec;
// a container for all related parameters // a container for all related parameters
struct IterativeOptimizationParameters { struct IterativeOptimizationParameters {
@ -34,6 +32,7 @@ public:
double epsilon_abs_; // absolute error double epsilon_abs_; // absolute error
verbosityLevel verbosity_; verbosityLevel verbosity_;
bool est_cond_ ; bool est_cond_ ;
std::map<std::string, std::string> sandbox_;
public: public:
IterativeOptimizationParameters() IterativeOptimizationParameters()
@ -61,27 +60,4 @@ public:
bool est_cond() const { return est_cond_ ; } bool est_cond() const { return est_cond_ ; }
}; };
//struct DimSpec: public std::vector<size_t> {
//
// typedef std::vector<size_t> Base;
// typedef boost::shared_ptr<DimSpec> shared_ptr;
//
// DimSpec() :
// Base() {
// }
// DimSpec(size_t n) :
// Base(n) {
// }
// DimSpec(size_t n, size_t init) :
// Base(n, init) {
// }
// DimSpec(const VectorValues &V) :
// Base(V.size()) {
// const size_t n = V.size();
// for (size_t i = 0; i < n; ++i) {
// (*this)[i] = V[i].rows();
// }
// }
//};
} }