Lines Matching refs:program_
141 new ParameterBlock(values, size, program_->parameter_blocks_.size());
149 program_->parameter_blocks_.push_back(new_parameter_block);
170 DeleteBlockInVector(program_->mutable_residual_blocks(), residual_block);
210 ProblemImpl::ProblemImpl() : program_(new internal::Program) {}
213 program_(new internal::Program) {}
217 const int num_residual_blocks = program_->residual_blocks_.size();
220 for (int i = 0; i < program_->residual_blocks_.size(); ++i) {
221 DeleteBlock(program_->residual_blocks_[i]);
225 for (int i = 0; i < program_->parameter_blocks_.size(); ++i) {
226 DeleteBlock(program_->parameter_blocks_[i]);
298 program_->residual_blocks_.size());
307 program_->residual_blocks_.push_back(new_residual_block);
522 CHECK(std::find(program_->residual_blocks().begin(),
523 program_->residual_blocks().end(),
524 residual_block) != program_->residual_blocks().end())
550 (*(program_->mutable_residual_blocks()))[i];
561 DeleteBlockInVector(program_->mutable_parameter_blocks(), parameter_block);
617 ? evaluate_options.residual_blocks : program_->residual_blocks());
630 parameter_blocks = program_->parameter_blocks();
652 vector<ParameterBlock*> all_parameter_blocks(program_->parameter_blocks());
703 program_->SetParameterBlockStatePtrsToUserStatePtrs();
704 program_->SetParameterOffsetsAndIndex();
763 program_->SetParameterBlockStatePtrsToUserStatePtrs();
764 program_->SetParameterOffsetsAndIndex();
769 return program_->NumParameterBlocks();
773 return program_->NumParameters();
777 return program_->NumResidualBlocks();
781 return program_->NumResiduals();
849 (*(program_->mutable_residual_blocks()))[i];