Home
last modified time | relevance | path

Searched refs:edge_weight (Results 1 – 2 of 2) sorted by relevance

/external/ceres-solver/internal/ceres/
Dvisibility_test.cc119 double edge_weight = 0.0; in TEST() local
121 edge_weight = 1.0; in TEST()
124 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight) in TEST()
127 << " expected weight: " << edge_weight; in TEST()
195 double edge_weight = 0.0; in TEST() local
197 edge_weight = 1.0; in TEST()
199 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight) in TEST()
202 << " expected weight: " << edge_weight; in TEST()
Dgraph_algorithms.h341 const double edge_weight = graph.EdgeWeight(vertex1, vertex2); in Degree2MaximumSpanningForest() local
342 forest->AddEdge(vertex1, vertex2, edge_weight); in Degree2MaximumSpanningForest()
343 forest->AddEdge(vertex2, vertex1, edge_weight); in Degree2MaximumSpanningForest()