release/4.3a0
Yong-Dian Jian 2010-11-29 06:20:34 +00:00
parent fd381e97bc
commit 6fec4aa73e
1 changed files with 10 additions and 5 deletions

View File

@ -17,10 +17,12 @@ namespace gtsam {
public:
typedef enum {
SILENT,
ERROR,
} verbosityLevel;
typedef boost::shared_ptr<IterativeOptimizationParameters> shared_ptr ;
typedef enum {
SILENT,
ERROR,
} verbosityLevel;
public:
int maxIterations_;
@ -29,13 +31,16 @@ namespace gtsam {
double epsilon_abs_; // absolute error
verbosityLevel verbosity_;
// specialize for some solvers
// specialize for spcg solver
typedef size_t Index;
typedef std::vector<Index> Spec ;
typedef boost::shared_ptr<Spec> sharedSpec ;
sharedSpec reduce_spec_ ;
sharedSpec skeleton_spec_ ;
// specialize for spcg solver 2
public:
IterativeOptimizationParameters():
maxIterations_(100),