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>
#include <boost/assign/std/list.hpp>
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 43 of file testSubgraphSolver.cpp.
int main | ( | void | ) |
Definition at line 136 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
Parameters | |||
) |
Definition at line 51 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
splitFactorGraph | |||
) |
Definition at line 58 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
constructor1 | |||
) |
Definition at line 78 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
constructor2 | |||
) |
Definition at line 93 of file testSubgraphSolver.cpp.
TEST | ( | SubgraphSolver | , |
constructor3 | |||
) |
Definition at line 113 of file testSubgraphSolver.cpp.
|
static |
Definition at line 39 of file testSubgraphSolver.cpp.
|
static |
Definition at line 38 of file testSubgraphSolver.cpp.
|
static |
Definition at line 37 of file testSubgraphSolver.cpp.