18 Apr
2014
18 Apr
'14
7:22 p.m.
On Thu, Apr 17, 2014 at 10:26:31AM +0100, Albert Yiamakis wrote:
No, the call should be
metric_tsp_approx(g_init, weight_map(get(&Road::length, g_init)).vertex_index_map(get(&City::id, g_init)) .visitor(make_tsp_tour_visitor(back_inserter(c))));
However that doesn't compile either; I suspect because there is no named parameter overload and it tries to call
metric_tsp_approx(VertexListGraph& g, TSPVertexVisitor vis)
What should I do then to call metric_tsp_approx properly then ? Cheers, -- Alexis Praga, PhD Student (CERFACS) GPG key : AD4A AF6D BB5C 042F 9422 1223 06E1 C1BF E287 65D0