8 #include<hugo/time_measure.h> |
8 #include<hugo/time_measure.h> |
9 |
9 |
10 ///An experimental typedef factory |
10 ///An experimental typedef factory |
11 #define GRAPH_TYPEDEF_FACTORY(Graph) \ |
11 #define GRAPH_TYPEDEF_FACTORY(Graph) \ |
12 typedef typename Graph:: Node Node;\ |
12 typedef typename Graph:: Node Node;\ |
13 typedef typename Graph:: NodeIt NodeIn;\ |
13 typedef typename Graph:: NodeIt NodeIt;\ |
14 typedef typename Graph:: Edge Edge;\ |
14 typedef typename Graph:: Edge Edge;\ |
15 typedef typename Graph:: EdgeIt EdgeIt;\ |
15 typedef typename Graph:: EdgeIt EdgeIt;\ |
16 typedef typename Graph:: InEdgeIt InEdgeIt;\ |
16 typedef typename Graph:: InEdgeIt InEdgeIt;\ |
17 typedef typename Graph::OutEdgeIt OutEdgeIt; |
17 typedef typename Graph::OutEdgeIt OutEdgeIt; |
18 |
18 |
19 #define GRAPH_TYPEDEF_FACTORY_NOTYPENAME(Graph) \ |
19 #define GRAPH_TYPEDEF_FACTORY_NOTYPENAME(Graph) \ |
20 typedef Graph:: Node Node;\ |
20 typedef Graph:: Node Node;\ |
21 typedef Graph:: NodeIt NodeIn;\ |
21 typedef Graph:: NodeIt NodeIt;\ |
22 typedef Graph:: Edge Edge;\ |
22 typedef Graph:: Edge Edge;\ |
23 typedef Graph:: EdgeIt EdgeIt;\ |
23 typedef Graph:: EdgeIt EdgeIt;\ |
24 typedef Graph:: InEdgeIt InEdgeIt;\ |
24 typedef Graph:: InEdgeIt InEdgeIt;\ |
25 typedef Graph::OutEdgeIt OutEdgeIt; |
25 typedef Graph::OutEdgeIt OutEdgeIt; |
26 |
26 |