pgRouting

root/tags/release-1.0-beta/edge_visitors.hpp

Revision 39, 1.4 kB (checked in by anton, 1 year ago)

1.0.0b tag added

Line 
1 //=======================================================================
2 // Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
3 // Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
4 //
5 // Distributed under the Boost Software License, Version 1.0. (See
6 // accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
8 //=======================================================================
9 //
10 // Revision History:
11 //   01 April 2001: Modified to use new <boost/limits.hpp> header. (JMaddock)
12 //
13 #ifndef BOOST_GRAPH_GRAPH_SEARCH_EDGE_VISITORS_HPP
14 #define BOOST_GRAPH_GRAPH_SEARCH_EDGE_VISITORS_HPP
15
16 #include <iosfwd>
17 #include <boost/config.hpp>
18 #include <boost/property_map.hpp>
19 #include <boost/graph/graph_traits.hpp>
20 #include <boost/limits.hpp>
21 #include <boost/graph/detail/is_same.hpp>
22
23 namespace boost {
24
25   //========================================================================
26   // Event Tags
27
28   namespace detail {
29     // For partial specialization workaround
30     enum event_edge_visitor_enum
31     {
32       on_initialize_edge_num, on_start_edge_num,
33       on_discover_edge_num, on_finish_edge_num
34     };
35   }
36                                                            
37   struct on_initialize_edge { enum { num = detail::on_initialize_edge_num }; };
38   struct on_start_edge { enum { num = detail::on_start_edge_num }; };
39   struct on_discover_edge { enum { num = detail::on_discover_edge_num }; };
40   struct on_finish_edge { enum { num = detail::on_finish_edge_num }; };
41
42 }
43
44 #endif
Note: See TracBrowser for help on using the browser.