Searched refs:VertexWeight (Results 1 - 6 of 6) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dgraph_test.cc53 EXPECT_EQ(graph.VertexWeight(0), 1.0);
54 EXPECT_EQ(graph.VertexWeight(1), 2.0);
76 EXPECT_EQ(graph.VertexWeight(0), 3.0);
79 EXPECT_EQ(graph.VertexWeight(1), 2.0);
92 EXPECT_DEATH_IF_SUPPORTED(graph.VertexWeight(2), "key not found");
H A Dcanonical_views_clustering.cc153 if (graph_->VertexWeight(*view) != Graph<int>::InvalidWeight()) {
166 options_.view_score_weight * graph_->VertexWeight(candidate);
H A Dgraph.h117 // Calling VertexWeight on a vertex not in the graph will result in
119 double VertexWeight(const Vertex& vertex) const { function in class:ceres::internal::Graph
H A Dgraph_algorithms_test.cc115 EXPECT_EQ(forest->VertexWeight(0), 1.0);
116 EXPECT_EQ(forest->VertexWeight(1), 2.0);
H A Dvisibility_test.cc114 EXPECT_EQ(graph->VertexWeight(i), 1.0);
190 EXPECT_EQ(graph->VertexWeight(i), 1.0);
H A Dgraph_algorithms.h292 forest->AddVertex(vertex1, graph.VertexWeight(vertex1));

Completed in 120 milliseconds