src/work/marci_graph_traits.hh
changeset 173 de9849252e78
parent 9 a9ed3f1c2c63
equal deleted inserted replaced
0:d4ad8140d28a 1:7a55af8e917f
     1 #ifndef MARCI_GRAPH_TRAITS_HH
     1 #ifndef MARCI_GRAPH_TRAITS_HH
     2 #define MARCI_GRAPH_TRAITS_HH
     2 #define MARCI_GRAPH_TRAITS_HH
     3 
     3 
     4 namespace marci {
     4 namespace hugo {
     5 
     5 
     6   template <typename graph_type>
     6   template <typename graph_type>
     7   struct graph_traits {
     7   struct graph_traits {
     8     typedef typename graph_type::node_iterator node_iterator;
     8     typedef typename graph_type::node_iterator node_iterator;
     9     typedef typename graph_type::edge_iterator edge_iterator;
     9     typedef typename graph_type::edge_iterator edge_iterator;
    12     typedef typename graph_type::out_edge_iterator out_edge_iterator;
    12     typedef typename graph_type::out_edge_iterator out_edge_iterator;
    13     typedef typename graph_type::in_edge_iterator in_edge_iterator;
    13     typedef typename graph_type::in_edge_iterator in_edge_iterator;
    14     typedef typename graph_type::sym_edge_iterator sym_edge_iterator;
    14     typedef typename graph_type::sym_edge_iterator sym_edge_iterator;
    15   };
    15   };
    16 
    16 
    17 } // namespace marci
    17 } // namespace hugo
    18 
    18 
    19 #endif //MARCI_GRAPH_TRAITS_HH
    19 #endif //MARCI_GRAPH_TRAITS_HH