Lines Matching refs:graph
39 #include "ceres/graph.h"
108 scoped_ptr<Graph<int> > graph(CreateSchurComplementGraph(visibility));
109 EXPECT_EQ(graph->vertices().size(), visibility.size());
111 EXPECT_EQ(graph->VertexWeight(i), 1.0);
121 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight)
123 << " weight: " << graph->EdgeWeight(i, j)
184 scoped_ptr<Graph<int> > graph(CreateSchurComplementGraph(visibility));
185 EXPECT_EQ(graph->vertices().size(), visibility.size());
187 EXPECT_EQ(graph->VertexWeight(i), 1.0);
196 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight)
198 << " weight: " << graph->EdgeWeight(i, j)