Searched refs:edge_weight (Results 1 – 2 of 2) sorted by relevance
119 double edge_weight = 0.0; in TEST() local121 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() local197 edge_weight = 1.0; in TEST()199 EXPECT_EQ(graph->EdgeWeight(i, j), edge_weight) in TEST()202 << " expected weight: " << edge_weight; in TEST()
341 const double edge_weight = graph.EdgeWeight(vertex1, vertex2); in Degree2MaximumSpanningForest() local342 forest->AddEdge(vertex1, vertex2, edge_weight); in Degree2MaximumSpanningForest()343 forest->AddEdge(vertex2, vertex1, edge_weight); in Degree2MaximumSpanningForest()