Lines Matching refs:evaluator
117 scoped_ptr<Evaluator> evaluator( in EvaluateAndCompare() local
130 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in EvaluateAndCompare()
132 ASSERT_EQ(expected_num_rows, evaluator->NumResiduals()); in EvaluateAndCompare()
133 ASSERT_EQ(expected_num_cols, evaluator->NumEffectiveParameters()); in EvaluateAndCompare()
137 vector<double> state(evaluator->NumParameters()); in EvaluateAndCompare()
139 ASSERT_TRUE(evaluator->Evaluate( in EvaluateAndCompare()
505 scoped_ptr<Evaluator> evaluator(CreateEvaluator(problem.mutable_program())); in TEST_P() local
506 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in TEST_P()
508 EXPECT_FALSE(evaluator->Evaluate(state, &cost, NULL, NULL, NULL)); in TEST_P()
578 scoped_ptr<Evaluator> evaluator(Evaluator::Create(options, program, &error)); in TEST() local
579 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in TEST()
596 ASSERT_TRUE(evaluator->Evaluate(state, &cost, NULL, NULL, NULL)); in TEST()
604 ASSERT_TRUE(evaluator->Evaluate(state, &cost, residuals, NULL, NULL)); in TEST()
615 ASSERT_TRUE(evaluator->Evaluate(state, in TEST()