Go to the documentation of this file.
   23 using namespace gtsam;
 
   30   clock_t start = clock();
 
   33   clock_t 
end = clock ();
 
   34   double dif = (double)(
end - start) / CLOCKS_PER_SEC;
 
   42   clock_t start = clock();
 
   44   clock_t 
end = clock ();
 
   45   double dif = (double)(
end - start) / CLOCKS_PER_SEC;
 
   53   clock_t start = clock();
 
   55   clock_t 
end = clock ();
 
   56   double dif = (double)(
end - start) / CLOCKS_PER_SEC;
 
  117 TEST(timeGaussianFactorGraph, linearTime)
 
  157 TEST(timeGaussianFactorGraph, planar_old)
 
  159   cout << 
"Timing planar - original version" << endl;
 
  161   cout << 
"timeGaussianFactorGraph : " << 
time << endl;
 
  166 TEST(timeGaussianFactorGraph, planar_new)
 
  168   cout << 
"Timing planar - new version" << endl;
 
  170   cout << 
"timeGaussianFactorGraph : " << 
time << endl;
 
  175 TEST(timeGaussianFactorGraph, planar_eliminate_old)
 
  177   cout << 
"Timing planar Eliminate - original version" << endl;
 
  179   cout << 
"timeGaussianFactorGraph : " << 
time << endl;
 
  184 TEST(timeGaussianFactorGraph, planar_eliminate_new)
 
  186   cout << 
"Timing planar Eliminate - new version" << endl;
 
  188   cout << 
"timeGaussianFactorGraph : " << 
time << endl;
 
  
static int runAllTests(TestResult &result)
std::shared_ptr< BayesTreeType > eliminateMultifrontal(OptionalOrderingType orderingType={}, const Eliminate &function=EliminationTraitsType::DefaultEliminate, OptionalVariableIndex variableIndex={}) const
#define DOUBLES_EQUAL(expected, actual, threshold)
TEST(timeGaussianFactorGraph, linearTime)
std::pair< GaussianFactorGraph, VectorValues > planarGraph(size_t N)
double timePlanarSmoother(int N, bool old=true)
double timeKalmanSmoother(int T)
double timePlanarSmootherEliminate(int N, bool old=true)
VectorValues optimize(const Eliminate &function=EliminationTraitsType::DefaultEliminate) const
static const EIGEN_DEPRECATED end_t end
Create small example with two poses and one landmark.
GaussianFactorGraph createSmoother(int T)
gtsam
Author(s): 
autogenerated on Wed May 28 2025 03:07:59