Add the two-dimensional subspace search to DoglegStrategy
Change-Id: I5163744c100cdf07dd93343d0734ffe0e80364f3
diff --git a/internal/ceres/trust_region_strategy.h b/internal/ceres/trust_region_strategy.h
index 7d94ca2..391da97 100644
--- a/internal/ceres/trust_region_strategy.h
+++ b/internal/ceres/trust_region_strategy.h
@@ -59,7 +59,8 @@
initial_radius(1e4),
max_radius(1e32),
lm_min_diagonal(1e-6),
- lm_max_diagonal(1e32) {
+ lm_max_diagonal(1e32),
+ dogleg_type(TRADITIONAL_DOGLEG) {
}
TrustRegionStrategyType trust_region_strategy_type;
@@ -74,6 +75,9 @@
// that the Gauss-Newton step computation is of full rank.
double lm_min_diagonal;
double lm_max_diagonal;
+
+ // Further specify which dogleg method to use
+ DoglegType dogleg_type;
};
// Per solve options.