Lines Matching defs:visibility
37 #include "ceres/visibility.h"
104 vector< set<int> > visibility;
105 ComputeVisibility(bs, num_eliminate_blocks, &visibility);
106 ASSERT_EQ(visibility.size(), num_cols - num_eliminate_blocks);
107 for (int i = 0; i < visibility.size(); ++i) {
108 ASSERT_EQ(visibility[i].size(), 1);
111 scoped_ptr<Graph<int> > graph(CreateSchurComplementGraph(visibility));
112 EXPECT_EQ(graph->vertices().size(), visibility.size());
113 for (int i = 0; i < visibility.size(); ++i) {
117 for (int i = 0; i < visibility.size(); ++i) {
118 for (int j = i; j < visibility.size(); ++j) {
180 vector<set<int> > visibility;
181 ComputeVisibility(bs, num_eliminate_blocks, &visibility);
182 ASSERT_EQ(visibility.size(), num_cols - num_eliminate_blocks);
183 for (int i = 0; i < visibility.size(); ++i) {
184 ASSERT_EQ(visibility[i].size(), 0);
187 scoped_ptr<Graph<int> > graph(CreateSchurComplementGraph(visibility));
188 EXPECT_EQ(graph->vertices().size(), visibility.size());
189 for (int i = 0; i < visibility.size(); ++i) {
193 for (int i = 0; i < visibility.size(); ++i) {
194 for (int j = i; j < visibility.size(); ++j) {