|  | Boost Graph Library: tsp_tour_visitorBoost ,  ,   
 
This type is a simple TSP tour visitor.  It supplies the OutputIterator with the vertices of the tour.
tsp_tour_visitor<OutputIterator>
Example
std::vector<Vertex> c;
boost::metric_tsp_approx
  (g, get(edge_weight, g), make_tsp_tour_visitor(std::back_inserter(c));
 Model ofTSP Tour VisitorTemplate Parameters
 
| Parameter | Description | Default |  | Производитель | OutputIterator | Никто |  Where Defined
boost/graph/metric_tsp_approx.hpp
 Member FunctionsThis 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 AlsoNone
 
 
| Copyright © 2008 | Матиас Егихази |  Статья Boost Graph Library: tsp_tour_visitor раздела   может быть полезна для разработчиков на c++ и boost. 
 :: Главная ::  ::  
 
 
 |  |