Problem::Evaluate implementation.

1. Add Problem::Evaluate and tests.
2. Remove Solver::Summary::initial/final_*
3. Remove Solver::Options::return_* members.
4. Various cpplint cleanups.

Change-Id: I4266de53489896f72d9c6798c5efde6748d68a47
This commit is contained in:
Sameer Agarwal
2013-02-20 01:39:03 -08:00
committed by Gerrit Code Review
parent d4a0bf86d6
commit 509f68cfe3
79 changed files with 1383 additions and 578 deletions
+4 -2
View File
@@ -46,7 +46,8 @@ namespace ceres {
namespace internal {
TEST(NumericDiffCostFunction, EasyCaseCentralDifferences) {
typedef NumericDiffFunctor<EasyFunctor, CENTRAL, 3, 5, 5> NumericDiffEasyFunctor;
typedef NumericDiffFunctor<EasyFunctor, CENTRAL, 3, 5, 5>
NumericDiffEasyFunctor;
internal::scoped_ptr<CostFunction> cost_function;
EasyFunctor functor;
@@ -64,7 +65,8 @@ TEST(NumericDiffCostFunction, EasyCaseCentralDifferences) {
}
TEST(NumericDiffCostFunction, EasyCaseForwardDifferences) {
typedef NumericDiffFunctor<EasyFunctor, FORWARD, 3, 5, 5> NumericDiffEasyFunctor;
typedef NumericDiffFunctor<EasyFunctor, FORWARD, 3, 5, 5>
NumericDiffEasyFunctor;
internal::scoped_ptr<CostFunction> cost_function;
EasyFunctor functor;