Functions | Variables
testSubgraphSolver.cpp File Reference

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>
Include dependency graph for testSubgraphSolver.cpp:

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
 

Detailed Description

Unit tests for SubgraphSolver.

Author
Yong-Dian Jian

Definition in file testSubgraphSolver.cpp.

Function Documentation

static double error ( const GaussianFactorGraph fg,
const VectorValues x 
)
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.

Variable Documentation

auto kOrdering = example::planarOrdering(N)
static

Definition at line 39 of file testSubgraphSolver.cpp.

SubgraphSolverParameters kParameters
static

Definition at line 38 of file testSubgraphSolver.cpp.

size_t N = 3
static

Definition at line 37 of file testSubgraphSolver.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:42