1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/work/marci/oldies/marci_graph_traits.hh Sat Apr 03 14:41:31 2004 +0000
1.3 @@ -0,0 +1,19 @@
1.4 +#ifndef MARCI_GRAPH_TRAITS_HH
1.5 +#define MARCI_GRAPH_TRAITS_HH
1.6 +
1.7 +namespace hugo {
1.8 +
1.9 + template <typename graph_type>
1.10 + struct graph_traits {
1.11 + typedef typename graph_type::node_iterator node_iterator;
1.12 + typedef typename graph_type::edge_iterator edge_iterator;
1.13 + typedef typename graph_type::each_node_iterator each_node_iterator;
1.14 + typedef typename graph_type::each_edge_iterator each_edge_iterator;
1.15 + typedef typename graph_type::out_edge_iterator out_edge_iterator;
1.16 + typedef typename graph_type::in_edge_iterator in_edge_iterator;
1.17 + typedef typename graph_type::sym_edge_iterator sym_edge_iterator;
1.18 + };
1.19 +
1.20 +} // namespace hugo
1.21 +
1.22 +#endif //MARCI_GRAPH_TRAITS_HH