/external/ceres-solver/internal/ceres/ |
D | parameter_block_ordering_test.cc | 85 const vector<ParameterBlock*>& parameter_blocks = program.parameter_blocks(); in TEST_F() local 92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end()); in TEST_F() 96 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[0]); in TEST_F() 98 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end()); in TEST_F() 99 EXPECT_TRUE(neighbors.find(parameter_blocks[3]) != neighbors.end()); in TEST_F() 103 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[1]); in TEST_F() 105 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end()); in TEST_F() 109 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[2]); in TEST_F() 111 EXPECT_TRUE(neighbors.find(parameter_blocks[0]) != neighbors.end()); in TEST_F() 112 EXPECT_TRUE(neighbors.find(parameter_blocks[1]) != neighbors.end()); in TEST_F() [all …]
|
D | parameter_block_ordering.cc | 51 const vector<ParameterBlock*>& parameter_blocks = program.parameter_blocks(); in ComputeSchurOrdering() local 54 for (int i = 0; i < parameter_blocks.size(); ++i) { in ComputeSchurOrdering() 55 ParameterBlock* parameter_block = parameter_blocks[i]; in ComputeSchurOrdering() 67 const vector<ParameterBlock*> parameter_blocks = program.parameter_blocks(); in ComputeRecursiveIndependentSetOrdering() local 72 while (num_covered < parameter_blocks.size()) { in ComputeRecursiveIndependentSetOrdering() 89 const vector<ParameterBlock*>& parameter_blocks = program.parameter_blocks(); in CreateHessianGraph() local 90 for (int i = 0; i < parameter_blocks.size(); ++i) { in CreateHessianGraph() 91 ParameterBlock* parameter_block = parameter_blocks[i]; in CreateHessianGraph() 101 ParameterBlock* const* parameter_blocks = in CreateHessianGraph() local 102 residual_block->parameter_blocks(); in CreateHessianGraph() [all …]
|
D | block_jacobian_writer.cc | 74 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; in BuildJacobianLayout() 102 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; in BuildJacobianLayout() 152 const vector<ParameterBlock*>& parameter_blocks = in CreateJacobian() local 153 program_->parameter_blocks(); in CreateJacobian() 156 bs->cols.resize(parameter_blocks.size()); in CreateJacobian() 157 for (int i = 0, cursor = 0; i < parameter_blocks.size(); ++i) { in CreateJacobian() 158 CHECK_NE(parameter_blocks[i]->index(), -1); in CreateJacobian() 159 CHECK(!parameter_blocks[i]->IsConstant()); in CreateJacobian() 160 bs->cols[i].size = parameter_blocks[i]->LocalSize(); in CreateJacobian() 182 if (residual_block->parameter_blocks()[j]->index() != -1) { in CreateJacobian() [all …]
|
D | compressed_row_jacobian_writer.cc | 57 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; in CreateJacobian() 89 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; in CreateJacobian() 117 program_->parameter_blocks()[parameter_indices[j]]; in CreateJacobian() 138 const vector<ParameterBlock*>& parameter_blocks = program_->parameter_blocks(); in CreateJacobian() local 140 col_blocks.resize(parameter_blocks.size()); in CreateJacobian() 141 for (int i = 0; i < parameter_blocks.size(); ++i) { in CreateJacobian() 142 col_blocks[i] = parameter_blocks[i]->LocalSize(); in CreateJacobian() 178 residual_block->parameter_blocks()[j]; in Write() 193 program_->parameter_blocks()[evaluated_jacobian_blocks[i].first]; in Write()
|
D | gradient_checking_cost_function.cc | 252 const vector<ParameterBlock*>& parameter_blocks = program->parameter_blocks(); in CreateGradientCheckingProblemImpl() local 253 for (int i = 0; i < parameter_blocks.size(); ++i) { in CreateGradientCheckingProblemImpl() 254 ParameterBlock* parameter_block = parameter_blocks[i]; in CreateGradientCheckingProblemImpl() 278 vector<double*> parameter_blocks; in CreateGradientCheckingProblemImpl() local 280 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; in CreateGradientCheckingProblemImpl() 281 parameter_blocks.push_back(parameter_block->mutable_user_state()); in CreateGradientCheckingProblemImpl() 300 parameter_blocks); in CreateGradientCheckingProblemImpl()
|
D | solver_impl.cc | 422 if (reduced_program->parameter_blocks().size() < 2) { in Solve() 523 const vector<ParameterBlock*>& parameter_blocks = program.parameter_blocks(); in IsOrderingValid() local 524 for (vector<ParameterBlock*>::const_iterator it = parameter_blocks.begin(); in IsOrderingValid() 525 it != parameter_blocks.end(); in IsOrderingValid() 559 ParameterBlock* const* parameter_blocks = (*it)->parameter_blocks(); in IsParameterBlockSetIndependent() local 564 parameter_blocks[i]->mutable_user_state()); in IsParameterBlockSetIndependent() 580 vector<ParameterBlock*>* parameter_blocks = in RemoveFixedBlocksFromProgram() local 592 for (int i = 0; i < parameter_blocks->size(); ++i) { in RemoveFixedBlocksFromProgram() 593 (*parameter_blocks)[i]->set_index(-1); in RemoveFixedBlocksFromProgram() 610 ParameterBlock* parameter_block = residual_block->parameter_blocks()[k]; in RemoveFixedBlocksFromProgram() [all …]
|
D | problem_impl.cc | 80 vector<ParameterBlock*>* parameter_blocks) { in InternalAddParameterBlock() argument 120 parameter_blocks->push_back(new_parameter_block); in InternalAddParameterBlock() 175 const vector<double*>& parameter_blocks) { in AddResidualBlock() argument 177 CHECK_EQ(parameter_blocks.size(), in AddResidualBlock() 183 CHECK_EQ(parameter_block_sizes.size(), parameter_blocks.size()) in AddResidualBlock() 188 vector<double*> sorted_parameter_blocks(parameter_blocks); in AddResidualBlock() 195 for (int i = 0; i < parameter_blocks.size(); ++i) { in AddResidualBlock() 196 blocks += internal::StringPrintf(" %p ", parameter_blocks[i]); in AddResidualBlock() 205 vector<ParameterBlock*> parameter_block_ptrs(parameter_blocks.size()); in AddResidualBlock() 206 for (int i = 0; i < parameter_blocks.size(); ++i) { in AddResidualBlock() [all …]
|
D | coordinate_descent_minimizer.cc | 89 const vector<ParameterBlock*>& parameter_blocks = program.parameter_blocks(); in Init() local 90 for (int i = 0; i < parameter_blocks.size(); ++i) { in Init() 91 if (!ordering.IsMember(parameter_blocks[i]->mutable_user_state())) { in Init() 92 parameter_blocks_.push_back(parameter_blocks[i]); in Init() 105 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; in Init()
|
D | residual_block_test.cc | 101 EXPECT_EQ(parameters[0], residual_block.parameter_blocks()[0]); in TEST() 102 EXPECT_EQ(parameters[1], residual_block.parameter_blocks()[1]); in TEST() 103 EXPECT_EQ(parameters[2], residual_block.parameter_blocks()[2]); in TEST() 240 EXPECT_EQ(parameters[0], residual_block.parameter_blocks()[0]); in TEST() 241 EXPECT_EQ(parameters[1], residual_block.parameter_blocks()[1]); in TEST() 242 EXPECT_EQ(parameters[2], residual_block.parameter_blocks()[2]); in TEST()
|
D | residual_block_utils_test.cc | 49 vector<ParameterBlock*> parameter_blocks; in CheckEvaluation() local 50 parameter_blocks.push_back(¶meter_block); in CheckEvaluation() 54 parameter_blocks); in CheckEvaluation()
|
D | residual_block_utils.cc | 58 const int parameter_block_size = block.parameter_blocks()[i]->Size(); in InvalidateEvaluation() 109 const int parameter_block_size = block.parameter_blocks()[i]->Size(); in EvaluationToString() 145 const int parameter_block_size = block.parameter_blocks()[i]->Size(); in IsEvaluationValid()
|
D | residual_block.h | 69 const vector<ParameterBlock*>& parameter_blocks); 100 ParameterBlock* const* parameter_blocks() const { in parameter_blocks() function
|
D | solver_impl_test.cc | 427 const vector<ParameterBlock*>& parameter_blocks = in TEST() local 428 reduced_program->parameter_blocks(); in TEST() 434 EXPECT_EQ(reduced_program->parameter_blocks().size(), 2); in TEST() 442 EXPECT_NE(parameter_blocks[i]->mutable_user_state(), &z); in TEST() 490 const vector<ParameterBlock*>& parameter_blocks = program->parameter_blocks(); in TEST() local 492 EXPECT_EQ(parameter_blocks.size(), 3); in TEST() 493 EXPECT_EQ(parameter_blocks[0]->user_state(), &x); in TEST() 494 EXPECT_EQ(parameter_blocks[1]->user_state(), &z); in TEST() 495 EXPECT_EQ(parameter_blocks[2]->user_state(), &y); in TEST() 750 EXPECT_EQ(&x, problem.program().parameter_blocks()[0]->state()); in TEST() [all …]
|
D | residual_block.cc | 52 const vector<ParameterBlock*>& parameter_blocks) in ResidualBlock() argument 58 std::copy(parameter_blocks.begin(), in ResidualBlock() 59 parameter_blocks.end(), in ResidualBlock()
|
D | gradient_checking_cost_function_test.cc | 388 for (int i = 0; i < program.parameter_blocks().size(); ++i) { in TEST() 390 program.parameter_blocks()[i], in TEST() 391 gradient_checking_program.parameter_blocks()[i]); in TEST() 410 original_residual_block->parameter_blocks()[j], in TEST() 411 new_residual_block->parameter_blocks()[j]); in TEST()
|
D | program.cc | 58 const vector<ParameterBlock*>& Program::parameter_blocks() const { in parameter_blocks() function in ceres::internal::Program 128 residual_block->parameter_blocks()[j]->set_index(-1); in SetParameterOffsetsAndIndex() 194 residual_block->parameter_blocks()[j]->LocalSize(); in MaxDerivativesPerResidualBlock()
|
D | problem.cc | 49 const vector<double*>& parameter_blocks) { in AddResidualBlock() argument 52 parameter_blocks); in AddResidualBlock()
|
D | block_evaluate_preparer.cc | 69 if (!residual_block->parameter_blocks()[j]->IsConstant()) { in Prepare()
|
D | scratch_evaluate_preparer.cc | 67 residual_block->parameter_blocks()[j]; in Prepare()
|
D | program.h | 61 const vector<ParameterBlock*>& parameter_blocks() const;
|
D | evaluator_test.cc | 510 vector<ParameterBlock*>* parameter_blocks = in TEST_P() local 516 ParameterBlock* parameter_block_z = parameter_blocks->back(); in TEST_P() 517 parameter_blocks->pop_back(); in TEST_P() 552 parameter_blocks->push_back(parameter_block_z); in TEST_P()
|
D | dense_jacobian_writer.h | 84 ParameterBlock* parameter_block = residual_block->parameter_blocks()[j]; in Write()
|
D | problem_impl.h | 74 const vector<double*>& parameter_blocks);
|
D | program_evaluator.h | 214 residual_block->parameter_blocks()[j]; in Evaluate()
|
/external/ceres-solver/include/ceres/ |
D | problem.h | 185 const vector<double*>& parameter_blocks);
|