add a struct
parent
17513a07d5
commit
0f70bb2939
|
@ -9,9 +9,11 @@
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
#include <gtsam/linear/VectorValues.h>
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
|
|
||||||
// a container for all related parameters
|
// a container for all related parameters
|
||||||
struct IterativeOptimizationParameters {
|
struct IterativeOptimizationParameters {
|
||||||
|
|
||||||
|
@ -32,14 +34,11 @@ namespace gtsam {
|
||||||
verbosityLevel verbosity_;
|
verbosityLevel verbosity_;
|
||||||
|
|
||||||
// specialize for spcg solver
|
// specialize for spcg solver
|
||||||
typedef size_t Index;
|
// typedef size_t Index;
|
||||||
typedef std::vector<Index> Spec ;
|
// typedef std::vector<Index> Spec ;
|
||||||
typedef boost::shared_ptr<Spec> sharedSpec ;
|
// typedef boost::shared_ptr<Spec> sharedSpec ;
|
||||||
sharedSpec reduce_spec_ ;
|
DimSpec::shared_ptr reduce_spec_ ;
|
||||||
sharedSpec skeleton_spec_ ;
|
DimSpec::shared_ptr skeleton_spec_ ;
|
||||||
|
|
||||||
// specialize for spcg solver 2
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IterativeOptimizationParameters():
|
IterativeOptimizationParameters():
|
||||||
|
|
Loading…
Reference in New Issue