Unit tests for Linear Factor Graph. More...
#include <tests/smallExample.h>#include <gtsam/inference/Symbol.h>#include <gtsam/linear/GaussianBayesNet.h>#include <gtsam/linear/GaussianBayesTree.h>#include <gtsam/linear/GaussianFactorGraph.h>#include <gtsam/base/numericalDerivative.h>#include <gtsam/base/Matrix.h>#include <gtsam/base/Testable.h>#include <CppUnitLite/TestHarness.h>#include <boost/tuple/tuple.hpp>#include <boost/assign/std/list.hpp>#include <boost/assign/std/set.hpp>#include <boost/assign/std/vector.hpp>#include <boost/range/adaptor/map.hpp>#include <string.h>#include <iostream>#include <gtsam/slam/ProjectionFactor.h>#include <gtsam/geometry/Pose3.h>#include <gtsam/sam/RangeFactor.h>
Go to the source code of this file.
Namespaces | |
| br | |
Variables | |
| static auto | kUnit2 = noiseModel::Unit::Create(2) |
| static SharedDiagonal | model = noiseModel::Isotropic::Sigma(2,1) |
| double | tol =1e-5 |
Unit tests for Linear Factor Graph.
Definition in file testGaussianFactorGraphB.cpp.
| double error | ( | const VectorValues & | x | ) |
Definition at line 264 of file testGaussianFactorGraphB.cpp.
| int main | ( | void | ) |
Definition at line 466 of file testGaussianFactorGraphB.cpp.
| void print | ( | vector< int > | v | ) |
Definition at line 250 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| equals | |||
| ) |
Definition at line 52 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| error | |||
| ) |
Definition at line 60 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| eliminateOne_x1 | |||
| ) |
Definition at line 72 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| eliminateOne_x2 | |||
| ) |
Definition at line 88 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| eliminateOne_l1 | |||
| ) |
Definition at line 104 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| eliminateOne_x1_fast | |||
| ) |
Definition at line 120 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| eliminateOne_x2_fast | |||
| ) |
Definition at line 145 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| eliminateOne_l1_fast | |||
| ) |
Definition at line 159 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| copying | |||
| ) |
Definition at line 173 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| CONSTRUCTOR_GaussianBayesNet | |||
| ) |
Definition at line 191 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| optimize_Cholesky | |||
| ) |
Definition at line 204 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| optimize_QR | |||
| ) |
Definition at line 217 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| combine | |||
| ) |
Definition at line 231 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| createSmoother | |||
| ) |
Definition at line 256 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| multiplication | |||
| ) |
Definition at line 270 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| elimination | |||
| ) |
Definition at line 284 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| constrained_simple | |||
| ) |
Definition at line 315 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| constrained_single | |||
| ) |
Definition at line 329 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| constrained_multi1 | |||
| ) |
Definition at line 343 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| replace | |||
| ) |
Definition at line 361 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| hasConstraints | |||
| ) |
Definition at line 390 of file testGaussianFactorGraphB.cpp.
| TEST | ( | GaussianFactorGraph | , |
| conditional_sigma_failure | |||
| ) |
Definition at line 407 of file testGaussianFactorGraphB.cpp.
|
static |
Definition at line 49 of file testGaussianFactorGraphB.cpp.
|
static |
Definition at line 358 of file testGaussianFactorGraphB.cpp.
| double tol =1e-5 |
Definition at line 44 of file testGaussianFactorGraphB.cpp.