Searched refs:EdgeWithWeight (Results 1 – 1 of 1) sorted by relevance
/system/update_engine/payload_generator/ |
D | cycle_breaker_unittest.cc | 98 pair<Vertex::Index, EdgeProperties> EdgeWithWeight(Vertex::Index dest, in EdgeWithWeight() function 151 graph[last_hub].out_edges.insert(EdgeWithWeight(node, weight)); in TEST() 152 graph[node].out_edges.insert(EdgeWithWeight(next_hub, weight)); in TEST() 157 graph[last_hub].out_edges.insert(EdgeWithWeight(n_root, 5)); in TEST() 196 graph[n_a].out_edges.insert(EdgeWithWeight(n_b, 4)); in TEST() 197 graph[n_a].out_edges.insert(EdgeWithWeight(n_f, 3)); in TEST() 198 graph[n_a].out_edges.insert(EdgeWithWeight(n_h, 2)); in TEST() 199 graph[n_b].out_edges.insert(EdgeWithWeight(n_a, 3)); in TEST() 200 graph[n_b].out_edges.insert(EdgeWithWeight(n_c, 4)); in TEST() 201 graph[n_c].out_edges.insert(EdgeWithWeight(n_b, 5)); in TEST() [all …]
|