src/work/marci_graph_traits.hh
author klao
Thu, 26 Feb 2004 16:07:40 +0000
changeset 132 1ac27e476e25
parent 9 a9ed3f1c2c63
permissions -rw-r--r--
makefile: tobb include konyvtar, jobb depend keszites
flow_test.cc: torolve, mert a depend-et megakasztja, igy gondolom nem is fordul
marci@9
     1
#ifndef MARCI_GRAPH_TRAITS_HH
marci@9
     2
#define MARCI_GRAPH_TRAITS_HH
marci@9
     3
alpar@107
     4
namespace hugo {
marci@9
     5
marci@9
     6
  template <typename graph_type>
marci@9
     7
  struct graph_traits {
marci@9
     8
    typedef typename graph_type::node_iterator node_iterator;
marci@9
     9
    typedef typename graph_type::edge_iterator edge_iterator;
marci@9
    10
    typedef typename graph_type::each_node_iterator each_node_iterator;
marci@9
    11
    typedef typename graph_type::each_edge_iterator each_edge_iterator;
marci@9
    12
    typedef typename graph_type::out_edge_iterator out_edge_iterator;
marci@9
    13
    typedef typename graph_type::in_edge_iterator in_edge_iterator;
marci@9
    14
    typedef typename graph_type::sym_edge_iterator sym_edge_iterator;
marci@9
    15
  };
marci@9
    16
alpar@107
    17
} // namespace hugo
marci@9
    18
marci@9
    19
#endif //MARCI_GRAPH_TRAITS_HH