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/array_map_factory.h> |
16 #include <hugo/default_map_factory.h> |
17 |
17 |
18 namespace hugo { |
18 namespace hugo { |
19 |
19 |
20 /// \addtogroup graphs |
20 /// \addtogroup graphs |
21 /// @{ |
21 /// @{ |
46 class EdgeIt; |
46 class EdgeIt; |
47 class OutEdgeIt; |
47 class OutEdgeIt; |
48 class InEdgeIt; |
48 class InEdgeIt; |
49 |
49 |
50 CREATE_MAP_REGISTRIES; |
50 CREATE_MAP_REGISTRIES; |
51 CREATE_MAPS(ArrayMapFactory); |
51 CREATE_MAPS(DefaultMapFactory); |
52 |
52 |
53 public: |
53 public: |
54 |
54 |
55 ///Creates a full graph with \c n nodes. |
55 ///Creates a full graph with \c n nodes. |
56 FullGraph(int n) : NodeNum(n), EdgeNum(NodeNum*NodeNum) { } |
56 FullGraph(int n) : NodeNum(n), EdgeNum(NodeNum*NodeNum) { } |