]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | #include <boost/parameter.hpp> | |
3 | ||
92f5a8d4 TL |
4 | namespace boost { |
5 | ||
6 | int vertex_index = 0; | |
7c673cae | 7 | |
92f5a8d4 TL |
8 | template <typename T = int> |
9 | struct dfs_visitor | |
10 | { | |
11 | }; | |
7c673cae FG |
12 | } |
13 | ||
14 | BOOST_PARAMETER_NAME(graph) | |
15 | BOOST_PARAMETER_NAME(visitor) | |
16 | BOOST_PARAMETER_NAME(root_vertex) | |
17 | BOOST_PARAMETER_NAME(index_map) | |
92f5a8d4 | 18 | BOOST_PARAMETER_NAME(in_out(color_map)) |
7c673cae FG |
19 | |
20 | BOOST_PARAMETER_FUNCTION((void), f, tag, | |
92f5a8d4 TL |
21 | (required (graph, *)) |
22 | (optional | |
23 | (visitor, *, boost::dfs_visitor<>()) | |
24 | (root_vertex, *, *vertices(graph).first) | |
25 | (index_map, *, get(boost::vertex_index,graph)) | |
26 | (color_map, *, | |
27 | default_color_map(num_vertices(graph), index_map) | |
28 | ) | |
29 | ) | |
7c673cae | 30 | ) |
92f5a8d4 TL |
31 | { |
32 | } | |
7c673cae | 33 |