|
Boost Graph Library: tsp_tour_visitorBoost , ,
tsp_tour_visitor<OutputIterator>
This type is a simple TSP tour visitor. It supplies the OutputIterator with the vertices of the tour.
Example
std::vector<Vertex> c;
boost::metric_tsp_approx
(g, get(edge_weight, g), make_tsp_tour_visitor(std::back_inserter(c));
Model of
TSP Tour Visitor
Template Parameters
| Parameter | Description | Default |
| Производитель |
OutputIterator |
Никто |
Where Defined
boost/graph/metric_tsp_approx.hpp
Member Functions
This class implements all of the member functions required by TSPTourVisitor.
Non-Member Functions
| Function | Description |
шаблон tsp_tour_visitor make_tsp_tour_visitor(OutputIterator iter) | Возвращает простой tsp_tour_visitor, который записывает тур TSP в параметре OutputIterator |
See Also
None
| Copyright © 2008 | Матиас Егихази |
Статья Boost Graph Library: tsp_tour_visitor раздела может быть полезна для разработчиков на c++ и boost.
:: Главная :: ::
|
|