COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/marci_graph_traits.hh @ 42:3ee2187d6342

Last change on this file since 42:3ee2187d6342 was 9:a9ed3f1c2c63, checked in by marci, 21 years ago

marci

File size: 672 bytes
Line 
1#ifndef MARCI_GRAPH_TRAITS_HH
2#define MARCI_GRAPH_TRAITS_HH
3
4namespace marci {
5
6  template <typename graph_type>
7  struct graph_traits {
8    typedef typename graph_type::node_iterator node_iterator;
9    typedef typename graph_type::edge_iterator edge_iterator;
10    typedef typename graph_type::each_node_iterator each_node_iterator;
11    typedef typename graph_type::each_edge_iterator each_edge_iterator;
12    typedef typename graph_type::out_edge_iterator out_edge_iterator;
13    typedef typename graph_type::in_edge_iterator in_edge_iterator;
14    typedef typename graph_type::sym_edge_iterator sym_edge_iterator;
15  };
16
17} // namespace marci
18
19#endif //MARCI_GRAPH_TRAITS_HH
Note: See TracBrowser for help on using the repository browser.