31 #include <boost/assign/std/list.hpp> 35 using namespace gtsam;
44 double total_error = 0.;
46 total_error += factor->error(x);
68 auto subgraph = builder(Ab);
126 auto Rc1 = Ab1->eliminateSequential();
TEST(SubgraphSolver, Parameters)
size_t maxIterations() const
static int runAllTests(TestResult &result)
boost::shared_ptr< This > shared_ptr
shared_ptr to this class
Subgraph Solver from IROS 2010.
#define DOUBLES_EQUAL(expected, actual, threshold)
Iterative methods, implementation.
BiCGSTAB< SparseMatrix< double > > solver
Some functions to compute numerical derivatives.
std::pair< GaussianFactorGraph::shared_ptr, GaussianFactorGraph::shared_ptr > splitFactorGraph(const GaussianFactorGraph &factorGraph, const Subgraph &subgraph)
double augmentationFactor
factor multiplied with n, yields number of extra edges.
static double error(const GaussianFactorGraph &fg, const VectorValues &x)
static SubgraphSolverParameters kParameters
Array< double, 1, 3 > e(1./3., 0.5, 2.)
VectorValues optimize() const
Optimize from zero.
Linear Factor Graph where all factors are Gaussians.
static SmartStereoProjectionParams params
Verbosity verbosity() const
boost::shared_ptr< This > shared_ptr
shared_ptr to this class
#define LONGS_EQUAL(expected, actual)
Ordering planarOrdering(size_t N)
std::pair< GaussianFactorGraph, VectorValues > planarGraph(size_t N)
#define EXPECT_LONGS_EQUAL(expected, actual)
std::pair< GaussianFactorGraph::shared_ptr, GaussianFactorGraph::shared_ptr > splitOffPlanarTree(size_t N, const GaussianFactorGraph &original)
Create small example with two poses and one landmark.
Chordal Bayes Net, the result of eliminating a factor graph.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x