Lines Matching refs:evaluator
175 scoped_ptr<Evaluator> evaluator( in EvaluateAndCompare() local
188 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in EvaluateAndCompare()
190 ASSERT_EQ(expected_num_rows, evaluator->NumResiduals()); in EvaluateAndCompare()
191 ASSERT_EQ(expected_num_cols, evaluator->NumEffectiveParameters()); in EvaluateAndCompare()
195 vector<double> state(evaluator->NumParameters()); in EvaluateAndCompare()
197 ASSERT_TRUE(evaluator->Evaluate( in EvaluateAndCompare()
563 scoped_ptr<Evaluator> evaluator(CreateEvaluator(problem.mutable_program())); in TEST_P() local
564 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in TEST_P()
566 EXPECT_FALSE(evaluator->Evaluate(state, &cost, NULL, NULL, NULL)); in TEST_P()
636 scoped_ptr<Evaluator> evaluator(Evaluator::Create(options, program, &error)); in TEST() local
637 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in TEST()
654 ASSERT_TRUE(evaluator->Evaluate(state, &cost, NULL, NULL, NULL)); in TEST()
662 ASSERT_TRUE(evaluator->Evaluate(state, &cost, residuals, NULL, NULL)); in TEST()
673 ASSERT_TRUE(evaluator->Evaluate(state, in TEST()