add a struct
parent
17513a07d5
commit
0f70bb2939
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue