Home
last modified time | relevance | path

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

/third_party/boost/libs/graph/example/
Dweighted_matching_example.cpp79 std::vector< graph_traits< my_graph >::vertex_descriptor > mate1( in main() local
82 maximum_weighted_matching(g, &mate1[0]); in main()
85 std::cout << "Matching size is " << matching_size(g, &mate1[0]) in main()
86 << ", total weight is " << matching_weight_sum(g, &mate1[0]) in main()
92 if (mate1[*vi] != graph_traits< my_graph >::null_vertex() in main()
93 && *vi < mate1[*vi]) in main()
94 std::cout << "{" << *vi << ", " << mate1[*vi] << "}" << std::endl; in main()
118 matching_weight_sum(g, &mate1[0]) == matching_weight_sum(g, &mate2[0])); in main()