24 #include <boost/tuple/tuple.hpp> 25 #include <boost/shared_ptr.hpp> 26 #include <boost/optional.hpp> 37 class GaussianFactorGraph;
48 typedef boost::shared_ptr<IterativeOptimizationParameters>
shared_ptr;
70 GTSAM_EXPORT
void print()
const;
73 GTSAM_EXPORT
virtual void print(std::ostream &
os)
const;
76 friend std::ostream&
operator<<(std::ostream &os,
96 boost::optional<const KeyInfo&> = boost::none,
97 boost::optional<
const std::map<Key, Vector>&>
lambda = boost::none);
101 const std::map<Key, Vector> &
lambda);
105 const KeyInfo &keyInfo,
const std::map<Key, Vector> &lambda,
119 index(idx), dim(d), start(start) {
126 class GTSAM_EXPORT
KeyInfo:
public std::map<Key, KeyInfoEntry> {
130 typedef std::map<Key, KeyInfoEntry>
Base;
163 std::vector<size_t> colSpec()
const;
static GTSAM_EXPORT Verbosity verbosityTranslator(const std::string &s)
static enum @843 ordering
const Ordering & ordering() const
Return the ordering.
GTSAM_EXPORT std::string getVerbosity() const
KeyInfoEntry(size_t idx, size_t d, Key start)
friend std::ostream & operator<<(std::ostream &os, const IterativeOptimizationParameters &p)
std::map< Key, KeyInfoEntry > Base
virtual ~IterativeSolver()
IterativeOptimizationParameters(Verbosity v=SILENT)
Point3 optimize(const NonlinearFactorGraph &graph, const Values &values, Key landmarkKey)
virtual ~IterativeOptimizationParameters()
enum gtsam::IterativeOptimizationParameters::Verbosity verbosity_
Verbosity verbosity() const
KeyInfo()
Default Constructor.
cout<< "The eigenvalues of A are:"<< endl<< ces.eigenvalues()<< endl;cout<< "The matrix of eigenvectors, V, is:"<< endl<< ces.eigenvectors()<< endl<< endl;complex< float > lambda
const mpreal dim(const mpreal &a, const mpreal &b, mp_rnd_t r=mpreal::get_default_rnd())
boost::shared_ptr< IterativeOptimizationParameters > shared_ptr
typedef and functions to augment Eigen's VectorXd
std::vector< float > Values
ofstream os("timeSchurFactors.csv")
GTSAM_EXPORT void setVerbosity(const std::string &s)
size_t numCols() const
Return the total number of columns (scalar variables = sum of dimensions)
Values initialize(const NonlinearFactorGraph &graph, bool useOdometricPath)
GTSAM_EXPORT void print() const
std::uint64_t Key
Integer nonlinear key type.
boost::shared_ptr< IterativeSolver > shared_ptr