Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Boost Graph Library: tsp_tour_visitor

Boost , ,

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

C++ Boost

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

ParameterDescriptionDefault
Производитель 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

FunctionDescription
шаблон
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.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-07-05 11:46:50/0.0056111812591553/0