mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Expose line search parameters in Solver::Options.
Change-Id: Ifc52980976e7bac73c8164d80518a5a19db1b79d
This commit is contained in:
+14
-1
@@ -332,6 +332,12 @@ enum NumericDiffMethod {
|
||||
FORWARD
|
||||
};
|
||||
|
||||
enum LineSearchInterpolationType {
|
||||
BISECTION,
|
||||
QUADRATIC,
|
||||
CUBIC
|
||||
};
|
||||
|
||||
const char* LinearSolverTypeToString(LinearSolverType type);
|
||||
bool StringToLinearSolverType(string value, LinearSolverType* type);
|
||||
|
||||
@@ -364,7 +370,14 @@ bool StringToLineSearchType(string value, LineSearchType* type);
|
||||
const char* NonlinearConjugateGradientTypeToString(
|
||||
NonlinearConjugateGradientType type);
|
||||
bool StringToNonlinearConjugateGradientType(
|
||||
string value, NonlinearConjugateGradientType* type);
|
||||
string value,
|
||||
NonlinearConjugateGradientType* type);
|
||||
|
||||
const char* LineSearchInterpolationTypeToString(
|
||||
LineSearchInterpolationType type);
|
||||
bool StringToLineSearchInterpolationType(
|
||||
string value,
|
||||
LineSearchInterpolationType* type);
|
||||
|
||||
const char* LinearSolverTerminationTypeToString(
|
||||
LinearSolverTerminationType type);
|
||||
|
||||
Reference in New Issue
Block a user