add a struct

release/4.3a0
Yong-Dian Jian 2010-12-01 14:41:40 +00:00
parent 17513a07d5
commit 0f70bb2939
1 changed files with 13 additions and 14 deletions

View File

@ -9,9 +9,11 @@
#include <vector>
#include <boost/shared_ptr.hpp>
#include <gtsam/linear/VectorValues.h>
namespace gtsam {
// a container for all related parameters
struct IterativeOptimizationParameters {
@ -32,14 +34,11 @@ namespace gtsam {
verbosityLevel verbosity_;
// 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
// typedef size_t Index;
// typedef std::vector<Index> Spec ;
// typedef boost::shared_ptr<Spec> sharedSpec ;
DimSpec::shared_ptr reduce_spec_ ;
DimSpec::shared_ptr skeleton_spec_ ;
public:
IterativeOptimizationParameters():