Home
last modified time | relevance | path

Searched refs:weight_map (Results 1 – 25 of 45) sorted by relevance

12

/third_party/boost/libs/graph_parallel/test/
Ddistributed_mst_test.cpp37 total_weight(const Graph& g, WeightMap weight_map, in total_weight() argument
44 total_weight += get(weight_map, *first); in total_weight()
86 WeightMap weight_map = get(edge_weight, g); in test_distributed_dense_boruvka() local
90 weight_map, in test_distributed_dense_boruvka()
92 int w = total_weight(g, weight_map, mst_edges.begin(), mst_edges.end()); in test_distributed_dense_boruvka()
101 WeightMap weight_map = get(edge_weight, g); in test_distributed_dense_boruvka() local
104 merge_local_minimum_spanning_trees(make_vertex_list_adaptor(g), weight_map, in test_distributed_dense_boruvka()
107 int w = total_weight(g, weight_map, mst_edges.begin(), mst_edges.end()); in test_distributed_dense_boruvka()
117 WeightMap weight_map = get(edge_weight, g); in test_distributed_dense_boruvka() local
120 boruvka_then_merge(make_vertex_list_adaptor(g), weight_map, in test_distributed_dense_boruvka()
[all …]
Ddistributed_betweenness_centrality_test.cpp174 weight_map(get(&WeightedEdge::weight, g))); in test_main()
176 weight_map(get(edge_weight, g))); in test_main()
207 weight_map(get(&WeightedEdge::weight, sg))); in test_main()
209 weight_map(get(edge_weight, sg))); in test_main()
225 weight_map(get(&WeightedEdge::weight, sg))); in test_main()
227 weight_map(get(edge_weight, sg))); in test_main()
Dssca.cpp216 void classify_sets(const Graph& g, const WeightMap& weight_map, in classify_sets() argument
241 int w = get(weight_map, e); in classify_sets()
279 const WeightMap& weight_map, EdgeVector& S) in seq_classify_sets() argument
288 edge_weight_type w = get(weight_map, e); in seq_classify_sets()
312 const WeightMap& weight_map, DistanceMap distances, in subgraph_extraction() argument
372 (distances, weight_map, color_map, subGraphEdgeLength), in subgraph_extraction()
416 const WeightMap& weight_map, DistanceMap distances, in seq_subgraph_extraction() argument
469 (distances, weight_map, color_map, subGraphEdgeLength), in seq_subgraph_extraction()
/third_party/boost/boost/graph/
Ddijkstra_shortest_paths_no_color_map.hpp31 WeightMap weight_map, VertexIndexMap index_map, in dijkstra_shortest_paths_no_color_map_no_init() argument
87 if (distance_compare(get(weight_map, current_edge), distance_zero)) in dijkstra_shortest_paths_no_color_map_no_init()
101 = relax_target(current_edge, graph, weight_map, predecessor_map, in dijkstra_shortest_paths_no_color_map_no_init()
136 WeightMap weight_map, VertexIndexMap index_map, in dijkstra_shortest_paths_no_color_map() argument
159 predecessor_map, distance_map, weight_map, index_map, distance_compare, in dijkstra_shortest_paths_no_color_map()
172 DistanceMap distance_map, WeightMap weight_map, in dijkstra_no_color_map_dispatch2() argument
185 distance_map, weight_map, index_map, in dijkstra_no_color_map_dispatch2()
200 DistanceMap distance_map, WeightMap weight_map, IndexMap index_map, in dijkstra_no_color_map_dispatch1() argument
214 weight_map, index_map, params); in dijkstra_no_color_map_dispatch1()
Dbetweenness_centrality.hpp121 brandes_dijkstra_shortest_paths(WeightMap weight_map) in brandes_dijkstra_shortest_paths()
122 : weight_map(weight_map) in brandes_dijkstra_shortest_paths()
140 ov, weight_map, incoming, distance, path_count); in operator ()()
143 boost::weight_map(weight_map) in operator ()()
150 WeightMap weight_map; member
428 WeightMap weight_map BOOST_GRAPH_ENABLE_IF_MODELS_PARM( in brandes_betweenness_centrality()
432 weight_map); in brandes_betweenness_centrality()
448 WeightMap weight_map, VertexIndexMap vertex_index) in brandes_betweenness_centrality_dispatch2() argument
473 vertex_index, weight_map); in brandes_betweenness_centrality_dispatch2()
515 VertexIndexMap vertex_index, WeightMap weight_map) in run()
[all …]
Dstoer_wagner_min_cut.hpp42 weight_type& cutweight, const WeightMap& weight_map, in mas_min_cut_visitor() argument
49 , m_weightMap(weight_map) in mas_min_cut_visitor()
176 boost::weight_map(weights) in stoer_wagner_min_cut()
193 .weight_map(weights) in stoer_wagner_min_cut()
Dprim_minimum_spanning_tree.hpp78 predecessor_map(p_map).weight_map(get(edge_weight, g)), in prim_minimum_spanning_tree()
/third_party/boost/libs/graph/test/
Ddijkstra_cc.cpp56 vertex_index_map(index).weight_map(weight).distance_map(distance)); in main()
59 vertex_index_map(index).weight_map(weight).distance_map(distance)); in main()
75 dijkstra_shortest_paths(g, s, predecessor_map(pred).weight_map(weight)); in main()
78 g, s, predecessor_map(pred).weight_map(weight)); in main()
124 .weight_map(weight) in main()
132 .weight_map(weight) in main()
Dmas_test.cpp156 boost::weight_map(weights) in BOOST_AUTO_TEST_CASE()
168 boost::weight_map(weights) in BOOST_AUTO_TEST_CASE()
179 g, boost::weight_map(weights).visitor(test_vis).max_priority_queue(pq)); in BOOST_AUTO_TEST_CASE()
186 boost::weight_map(weights).visitor( in BOOST_AUTO_TEST_CASE()
189 boost::maximum_adjacency_search(g, boost::weight_map(weights)); in BOOST_AUTO_TEST_CASE()
195 boost::weight_map( in BOOST_AUTO_TEST_CASE()
246 boost::weight_map( in BOOST_AUTO_TEST_CASE()
268 g, boost::weight_map(ws_map).visitor(test_vis).max_priority_queue(pq)); in BOOST_AUTO_TEST_CASE()
Dmetric_tsp_approx.cpp108 WeightMap weight_map(get(edge_weight, g)); in testScalability() local
111 connectAllEuclidean(g, point_vec, weight_map, get(vertex_index, g), numpts); in testScalability()
120 g, make_tsp_tour_len_visitor(g, back_inserter(c), len, weight_map)); in testScalability()
247 WeightMap weight_map(get(edge_weight, g)); in main() local
250 connectAllEuclidean(g, position_vec, weight_map, v_map, n); in main()
281 g, make_tsp_tour_len_visitor(g, back_inserter(c), len, weight_map)); in main()
324 g, make_tsp_tour_len_visitor(g, back_inserter(c), len, weight_map)); in main()
Dfloyd_warshall_test.cpp137 weight_map(boost::get(boost::edge_weight, g)) in acceptance_test()
142 weight_map(local_edge_map).distance_inf(int_inf).distance_zero(0)); in acceptance_test()
152 weight_map(boost::get(boost::edge_weight, g)) in acceptance_test()
333 weight_map(boost::get(boost::edge_weight, g)) in acceptance_test2()
338 weight_map(local_edge_map).distance_inf(int_inf).distance_zero(0)); in acceptance_test2()
348 weight_map(boost::get(boost::edge_weight, g)) in acceptance_test2()
Dcloseness_centrality.cpp73 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in test_undirected()
110 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in test_directed()
Deccentricity.cpp72 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in test_undirected()
113 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in test_directed()
Dmean_geodesic.cpp74 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in test_undirected()
114 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in test_directed()
Dbetweenness_centrality_test.cpp69 .weight_map(get(edge_weight, g))); in run_weighted_test()
127 .weight_map(get(edge_weight, g)) in run_unweighted_test()
211 .weight_map(get(edge_weight, g))); in run_wheel_test()
445 weight_map(get(edge_weight, g)) in random_unweighted_test()
Dfiltered_graph_properties_dijkstra.cpp95 boost::predecessor_map(&predecessors[0]).weight_map(rEvaluator)); in dijkstra()
Drandom_spanning_tree_test.cpp88 random_spanning_tree(g, gen, predecessor_map(pred).weight_map(weight)); in main()
/third_party/boost/boost/graph/distributed/
Ddehne_gotz_min_spanning_tree.hpp147 boruvka_merge_step(ProcessGroup pg, const Graph& g, WeightMap weight_map, in boruvka_merge_step() argument
178 weight_type w = get(weight_map, *ei); in boruvka_merge_step()
205 cache(weight_map, e, candidate_edges[i].second); in boruvka_merge_step()
540 dense_boruvka_minimum_spanning_tree(const Graph& g, WeightMap weight_map, in dense_boruvka_minimum_spanning_tree() argument
559 weight_map.set_max_ghost_cells(0); in dense_boruvka_minimum_spanning_tree()
581 boost::weight_map(weight_map). in dense_boruvka_minimum_spanning_tree()
591 weight_map, out, in dense_boruvka_minimum_spanning_tree()
602 dense_boruvka_minimum_spanning_tree(const Graph& g, WeightMap weight_map, in dense_boruvka_minimum_spanning_tree() argument
612 (g, weight_map, out, i_map, in dense_boruvka_minimum_spanning_tree()
620 dense_boruvka_minimum_spanning_tree(const Graph& g, WeightMap weight_map, in dense_boruvka_minimum_spanning_tree() argument
[all …]
Dbetweenness_centrality.hpp1270 WeightMap weight_map in brandes_betweenness_centrality()
1273 graph::parallel::detail::brandes_shortest_paths<WeightMap> shortest_paths(weight_map, delta); in brandes_betweenness_centrality()
1291 WeightMap weight_map, in brandes_betweenness_centrality_dispatch2() argument
1319 weight_map); in brandes_betweenness_centrality_dispatch2()
1362 typename property_traits<WeightMap>::value_type delta, WeightMap weight_map) in run()
1365 g, centrality, edge_centrality_map, weight_map, vertex_index, sources, delta); in run()
1478 WeightMap weight_map, in non_distributed_brandes_betweenness_centrality() argument
1481 detail::graph::brandes_dijkstra_shortest_paths<WeightMap> shortest_paths(weight_map); in non_distributed_brandes_betweenness_centrality()
1501 WeightMap weight_map, in non_distributed_brandes_betweenness_centrality_dispatch2() argument
1527 vertex_index, weight_map, unwrap_ref(sources)); in non_distributed_brandes_betweenness_centrality_dispatch2()
[all …]
/third_party/boost/libs/graph/example/
Dospf-example.cpp105 property_map< Graph, edge_weight_t >::type weight_map in main() local
109 path_cost += get(weight_map, edge(parent[v], v, g).first); in main()
Dcloseness_centrality.cpp68 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in main()
Dmean_geodesic.cpp67 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in main()
Deccentricity.cpp67 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in main()
Dbellman-ford-internet.cpp57 weight_map( in main()
Dscaled_closeness_centrality.cpp94 floyd_warshall_all_pairs_shortest_paths(g, dm, weight_map(wm)); in main()

12