Searched defs:edge_weight (Results 1 - 2 of 2) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dvisibility_test.cc119 double edge_weight = 0.0; local
121 edge_weight = 1.0;
124 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight)
127 << " expected weight: " << edge_weight;
195 double edge_weight = 0.0; local
197 edge_weight = 1.0;
199 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight)
202 << " expected weight: " << edge_weight;
H A Dgraph_algorithms.h308 // The elements of this vector, are pairs<edge_weight,
341 const double edge_weight = graph.EdgeWeight(vertex1, vertex2); local
342 forest->AddEdge(vertex1, vertex2, edge_weight);
343 forest->AddEdge(vertex2, vertex1, edge_weight);

Completed in 95 milliseconds