Home | History | Annotate | Download | only in ceres

Lines Matching full:program

49 #include "ceres/program.h"
63 StateUpdatingCallback(Program* program, double* parameters)
64 : program_(program), parameters_(parameters) {}
75 Program* program_;
146 Program* program,
169 StateUpdatingCallback updating_callback(program, parameters);
208 Program* original_program = original_problem_impl->mutable_program();
322 // Create the three objects needed to minimize: the transformed program, the
324 scoped_ptr<Program> reduced_program(CreateReducedProgram(&options,
370 // Ensure the program state is set to the user parameters on the way out.
504 // Ensure the program state is set to the user parameters on the way out.
522 const Program& program = problem_impl->program();
523 const vector<ParameterBlock*>& parameter_blocks = program.parameter_blocks();
537 const vector<ResidualBlock*>& residual_blocks = program.residual_blocks();
576 bool SolverImpl::RemoveFixedBlocksFromProgram(Program* program,
581 program->mutable_parameter_blocks();
586 new double[program->MaxScratchDoublesNeededForEvaluate()]);
600 program->mutable_residual_blocks();
639 program->mutable_parameter_blocks();
652 CHECK(((program->NumResidualBlocks() == 0) &&
653 (program->NumParameterBlocks() == 0)) ||
654 ((program->NumResidualBlocks() != 0) &&
655 (program->NumParameterBlocks() != 0)))
660 Program* SolverImpl::CreateReducedProgram(Solver::Options* options,
665 Program* original_program = problem_impl->mutable_program();
666 scoped_ptr<Program> transformed_program(new Program(*original_program));
684 " in the reduced program. Congratulations, you found a "
726 // the program and the ordering, there are no more parameter blocks
761 // Since the transformed program is the "active" program, and it is mutated,
891 Program* program,
893 if (ordering->NumElements() != program->NumParameterBlocks()) {
897 program->NumParameterBlocks(),
903 program->mutable_parameter_blocks();
941 << "Did you forget to call Program::SetParameterOffsetsAndIndex()? "
950 // Reorder the residuals for program, if necessary, so that the residuals
954 Program* program,
963 vector<ResidualBlock*>* residual_blocks = program->mutable_residual_blocks();
1028 swap(*program->mutable_residual_blocks(), reordered_residual_blocks);
1034 Program* program,
1046 return Evaluator::Create(evaluator_options, program, error);
1051 const Program& program,
1065 ComputeRecursiveIndependentSetOrdering(program,
1078 program.residual_blocks())) {
1089 if (!inner_iteration_minimizer->Init(program,