tsp_tour_visitor<OutputIterator>
std::vector<Vertex> c; boost::metric_tsp_approx (g, get(edge_weight, g), make_tsp_tour_visitor(std::back_inserter(c));
| Parameter | Description | Default |
|---|---|---|
| OutputIterator | An OutputIterator | None |
boost/graph/metric_tsp_approx.hpp
| Function | Description |
|---|---|
|
template <typename OutputIterator> tsp_tour_visitor<OutputIterator> make_tsp_tour_visitor(OutputIterator iter) | Returns a simple tsp_tour_visitor that records the TSP tour in the OutputIterator parameter |
| Copyright © 2008 | Matyas Egyhazy |