Lines Matching refs:problem
110 void EvaluateAndCompare(ProblemImpl *problem,
118 CreateEvaluator(problem->mutable_program()));
166 EvaluateAndCompare(&problem,
181 ProblemImpl problem;
190 problem.AddResidualBlock(new ParameterIgnoringCostFunction<1, 3, 2, 3, 4>,
218 problem.AddParameterBlock(x, 2);
219 problem.AddParameterBlock(y, 3);
220 problem.AddParameterBlock(z, 4);
226 // for a long time, since by chance most users added parameters to the problem
228 problem.AddResidualBlock(new ParameterIgnoringCostFunction<1, 3, 4, 3, 2>,
263 problem.AddParameterBlock(a, 2);
264 problem.AddParameterBlock(x, 2);
265 problem.AddParameterBlock(b, 1);
266 problem.AddParameterBlock(y, 3);
267 problem.AddParameterBlock(c, 1);
268 problem.AddParameterBlock(z, 4);
269 problem.AddParameterBlock(d, 3);
271 problem.AddResidualBlock(new ParameterIgnoringCostFunction<1, 3, 2, 3, 4>,
303 problem.AddParameterBlock(x, 2);
304 problem.AddParameterBlock(y, 3);
305 problem.AddParameterBlock(z, 4);
308 problem.AddResidualBlock(new ParameterIgnoringCostFunction<1, 2, 2, 3>,
313 problem.AddResidualBlock(new ParameterIgnoringCostFunction<2, 3, 2, 4>,
318 problem.AddResidualBlock(new ParameterIgnoringCostFunction<3, 4, 3, 4>,
358 problem.AddParameterBlock(x, 2);
363 problem.AddParameterBlock(y, 3, new SubsetParameterization(3, y_fixed));
368 problem.AddParameterBlock(z, 4, new SubsetParameterization(4, z_fixed));
371 problem.AddResidualBlock(new ParameterIgnoringCostFunction<1, 2, 2, 3>,
376 problem.AddResidualBlock(new ParameterIgnoringCostFunction<2, 3, 2, 4>,
381 problem.AddResidualBlock(new ParameterIgnoringCostFunction<3, 4, 3, 4>,
426 problem.AddParameterBlock(x, 2);
427 problem.AddParameterBlock(y, 3);
428 problem.AddParameterBlock(z, 4);
431 problem.AddResidualBlock(new ParameterIgnoringCostFunction<1, 2, 2, 3>,
436 problem.AddResidualBlock(new ParameterIgnoringCostFunction<2, 3, 2, 4>,
441 problem.AddResidualBlock(new ParameterIgnoringCostFunction<3, 4, 3, 4>,
446 problem.SetParameterBlockConstant(z);
453 problem.mutable_program()->mutable_parameter_blocks();
499 problem.AddResidualBlock(
505 scoped_ptr<Evaluator> evaluator(CreateEvaluator(problem.mutable_program()));
564 ProblemImpl problem;
570 problem.AddResidualBlock(new ParameterSensitiveCostFunction(), NULL, x);
571 Program* program = problem.mutable_program();