equal
deleted
inserted
replaced
11 #include <climits> |
11 #include <climits> |
12 |
12 |
13 #include <hugo/invalid.h> |
13 #include <hugo/invalid.h> |
14 |
14 |
15 #include <hugo/map_registry.h> |
15 #include <hugo/map_registry.h> |
16 #include <hugo/default_map_factory.h> |
16 #include <hugo/default_map.h> |
|
17 |
|
18 #include <hugo/map_defines.h> |
17 |
19 |
18 namespace hugo { |
20 namespace hugo { |
19 |
21 |
20 /// \addtogroup graphs |
22 /// \addtogroup graphs |
21 /// @{ |
23 /// @{ |
45 class NodeIt; |
47 class NodeIt; |
46 class EdgeIt; |
48 class EdgeIt; |
47 class OutEdgeIt; |
49 class OutEdgeIt; |
48 class InEdgeIt; |
50 class InEdgeIt; |
49 |
51 |
|
52 |
|
53 /// Creating map registries. |
50 CREATE_MAP_REGISTRIES; |
54 CREATE_MAP_REGISTRIES; |
51 CREATE_MAPS(DefaultMapFactory); |
55 /// Creating node and edge maps. |
|
56 CREATE_MAPS(DefaultMap); |
52 |
57 |
53 public: |
58 public: |
54 |
59 |
55 ///Creates a full graph with \c n nodes. |
60 ///Creates a full graph with \c n nodes. |
56 FullGraph(int n) : NodeNum(n), EdgeNum(NodeNum*NodeNum) { } |
61 FullGraph(int n) : NodeNum(n), EdgeNum(NodeNum*NodeNum) { } |