This file is to compare the ordering performance for COLAMD vs METIS. Example problem is to solve a structure-from-motion problem from a "Bundle Adjustment in the Large" file. More...
#include <gtsam/inference/Symbol.h>#include <gtsam/inference/Ordering.h>#include <gtsam/nonlinear/NonlinearFactorGraph.h>#include <gtsam/nonlinear/LevenbergMarquardtOptimizer.h>#include <gtsam/slam/GeneralSFMFactor.h>#include <gtsam/slam/dataset.h>#include <gtsam/base/timing.h>#include <vector>
Go to the source code of this file.
Typedefs | |
| typedef GeneralSFMFactor< SfmCamera, Point3 > | MyFactor |
Functions | |
| int | main (int argc, char *argv[]) |
This file is to compare the ordering performance for COLAMD vs METIS. Example problem is to solve a structure-from-motion problem from a "Bundle Adjustment in the Large" file.
Definition in file SFMExample_bal_COLAMD_METIS.cpp.
| typedef GeneralSFMFactor<SfmCamera, Point3> MyFactor |
Definition at line 39 of file SFMExample_bal_COLAMD_METIS.cpp.
---------—— COMPARISON -----------------——
Definition at line 42 of file SFMExample_bal_COLAMD_METIS.cpp.