-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19c58a5
commit 957f5f7
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#ifndef TEST_CERES_FLAGS_H | ||
#define TEST_CERES_FLAGS_H | ||
|
||
|
||
#include "gflags/gflags.h" | ||
|
||
|
||
DEFINE_bool(robustify_trilateration, false, "Use a robust loss function for trilateration."); | ||
|
||
DEFINE_string(trust_region_strategy, "levenberg_marquardt", | ||
"Options are: levenberg_marquardt, dogleg."); | ||
DEFINE_string(dogleg, "traditional_dogleg", "Options are: traditional_dogleg," | ||
"subspace_dogleg."); | ||
|
||
DEFINE_bool(inner_iterations, false, "Use inner iterations to non-linearly " | ||
"refine each successful trust region step."); | ||
|
||
DEFINE_string(blocks_for_inner_iterations, "automatic", "Options are: " | ||
"automatic, cameras, points, cameras,points, points,cameras"); | ||
|
||
DEFINE_string(linear_solver, "sparse_normal_cholesky", "Options are: " | ||
"sparse_schur, dense_schur, iterative_schur, sparse_normal_cholesky, " | ||
"dense_qr, dense_normal_cholesky and cgnr."); | ||
|
||
DEFINE_string(preconditioner, "jacobi", "Options are: " | ||
"identity, jacobi, schur_jacobi, cluster_jacobi, " | ||
"cluster_tridiagonal."); | ||
|
||
DEFINE_string(sparse_linear_algebra_library, "suite_sparse", | ||
"Options are: suite_sparse and cx_sparse."); | ||
|
||
DEFINE_string(ordering, "automatic", "Options are: automatic, user."); | ||
|
||
DEFINE_bool(nonmonotonic_steps, false, "Trust region algorithm can use" | ||
" nonmonotic steps."); | ||
|
||
#endif // TEST_CERES_FLAGS_H |