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 <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.
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 252 of file testGaussianFactorGraphB.cpp.
int main | ( | ) |
Definition at line 450 of file testGaussianFactorGraphB.cpp.
void print | ( | vector< int > | v | ) |
Definition at line 238 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
combine | |||
) |
Definition at line 219 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
conditional_sigma_failure | |||
) |
Definition at line 391 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
constrained_multi1 | |||
) |
Definition at line 328 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
constrained_simple | |||
) |
Definition at line 300 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
constrained_single | |||
) |
Definition at line 314 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
CONSTRUCTOR_GaussianBayesNet | |||
) |
Definition at line 179 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
copying | |||
) |
Definition at line 161 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
createSmoother | |||
) |
Definition at line 244 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
eliminateOne_l1 | |||
) |
Definition at line 95 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
eliminateOne_l1_fast | |||
) |
Definition at line 147 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
eliminateOne_x1 | |||
) |
Definition at line 64 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
eliminateOne_x1_fast | |||
) |
Definition at line 110 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
eliminateOne_x2 | |||
) |
Definition at line 80 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
eliminateOne_x2_fast | |||
) |
Definition at line 133 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
elimination | |||
) |
Definition at line 272 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
equals | |||
) |
Definition at line 44 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
error | |||
) |
Definition at line 52 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
hasConstraints | |||
) |
Definition at line 374 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
multiplication | |||
) |
Definition at line 258 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
optimize_Cholesky | |||
) |
Definition at line 192 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
optimize_QR | |||
) |
Definition at line 205 of file testGaussianFactorGraphB.cpp.
TEST | ( | GaussianFactorGraph | , |
replace | |||
) |
Definition at line 346 of file testGaussianFactorGraphB.cpp.
|
static |
Definition at line 41 of file testGaussianFactorGraphB.cpp.
|
static |
Definition at line 343 of file testGaussianFactorGraphB.cpp.
double tol =1e-5 |
Definition at line 36 of file testGaussianFactorGraphB.cpp.