Home | History | Annotate | Download | only in ceres

Lines Matching refs:parameter_blocks

85   const vector<ParameterBlock*>& parameter_blocks = program.parameter_blocks();
92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end());
96 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[0]);
98 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end());
99 EXPECT_TRUE(neighbors.find(parameter_blocks[3]) != neighbors.end());
103 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[1]);
105 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end());
109 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[2]);
111 EXPECT_TRUE(neighbors.find(parameter_blocks[0]) != neighbors.end());
112 EXPECT_TRUE(neighbors.find(parameter_blocks[1]) != neighbors.end());
113 EXPECT_TRUE(neighbors.find(parameter_blocks[3]) != neighbors.end());
117 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[3]);
119 EXPECT_TRUE(neighbors.find(parameter_blocks[0]) != neighbors.end());
120 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end());
139 const vector<ParameterBlock*>& parameter_blocks = program.parameter_blocks();
145 EXPECT_TRUE(vertices.find(parameter_blocks[0]) == vertices.end());
148 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end());
152 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[1]);
154 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end());
158 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[2]);
160 EXPECT_TRUE(neighbors.find(parameter_blocks[1]) != neighbors.end());
161 EXPECT_TRUE(neighbors.find(parameter_blocks[3]) != neighbors.end());
165 const VertexSet& neighbors = graph->Neighbors(parameter_blocks[3]);
167 EXPECT_TRUE(neighbors.find(parameter_blocks[2]) != neighbors.end());
173 EXPECT_EQ(ordering.back(), parameter_blocks[0]);