Lines Matching refs:graph
37 #include "ceres/graph.h"
106 scoped_ptr<Graph<int> > graph(CreateSchurComplementGraph(visibility));
107 EXPECT_EQ(graph->vertices().size(), visibility.size());
109 EXPECT_EQ(graph->VertexWeight(i), 1.0);
119 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight)
121 << " weight: " << graph->EdgeWeight(i, j)
182 scoped_ptr<Graph<int> > graph(CreateSchurComplementGraph(visibility));
183 EXPECT_EQ(graph->vertices().size(), visibility.size());
185 EXPECT_EQ(graph->VertexWeight(i), 1.0);
194 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight)
196 << " weight: " << graph->EdgeWeight(i, j)