Unit tests for SubgraphSolver. More...
#include <gtsam/linear/SubgraphSolver.h>
#include <tests/smallExample.h>
#include <gtsam/linear/GaussianBayesNet.h>
#include <gtsam/linear/iterative.h>
#include <gtsam/linear/GaussianFactorGraph.h>
#include <gtsam/linear/SubgraphBuilder.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/inference/Ordering.h>
#include <gtsam/base/numericalDerivative.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Functions | |
static double | error (const GaussianFactorGraph &fg, const VectorValues &x) |
int | main () |
TEST (SubgraphSolver, Parameters) | |
TEST (SubgraphSolver, splitFactorGraph) | |
TEST (SubgraphSolver, constructor1) | |
TEST (SubgraphSolver, constructor2) | |
TEST (SubgraphSolver, constructor3) | |
Variables | |
static auto | kOrdering = example::planarOrdering(N) |
static SubgraphSolverParameters | kParameters |
static size_t | N = 3 |
Unit tests for SubgraphSolver.
Definition in file testSubgraphSolver.cpp.
|
static |
unnormalized error
Definition at line 40 of file testSubgraphSolver.cpp.
int main | ( | void | ) |
Definition at line 123 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
Parameters | |||
) |
Definition at line 48 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
splitFactorGraph | |||
) |
Definition at line 55 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
constructor1 | |||
) |
Definition at line 72 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
constructor2 | |||
) |
Definition at line 85 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
constructor3 | |||
) |
Definition at line 102 of file testSubgraphSolver.cpp.
|
static |
Definition at line 36 of file testSubgraphSolver.cpp.
|
static |
Definition at line 35 of file testSubgraphSolver.cpp.
|
static |
Definition at line 34 of file testSubgraphSolver.cpp.