Lines Matching refs:program_
141 new ParameterBlock(values, size, program_->parameter_blocks_.size());
149 program_->parameter_blocks_.push_back(new_parameter_block);
190 ProblemImpl::ProblemImpl() : program_(new internal::Program) {}
193 program_(new internal::Program) {}
197 const int num_residual_blocks = program_->residual_blocks_.size();
200 for (int i = 0; i < program_->residual_blocks_.size(); ++i) {
201 DeleteBlock(program_->residual_blocks_[i]);
205 for (int i = 0; i < program_->parameter_blocks_.size(); ++i) {
206 DeleteBlock(program_->parameter_blocks_[i]);
278 program_->residual_blocks_.size());
287 program_->residual_blocks_.push_back(new_residual_block);
483 DeleteBlockInVector(program_->mutable_residual_blocks(), residual_block);
505 (*(program_->mutable_residual_blocks()))[i];
516 DeleteBlockInVector(program_->mutable_parameter_blocks(), parameter_block);
552 ? evaluate_options.residual_blocks : program_->residual_blocks());
565 parameter_blocks = program_->parameter_blocks();
587 vector<ParameterBlock*> all_parameter_blocks(program_->parameter_blocks());
699 return program_->NumParameterBlocks();
703 return program_->NumParameters();
707 return program_->NumResidualBlocks();
711 return program_->NumResiduals();