src/hugo/full_graph.h
changeset 899 f485b3008cf5
parent 880 9d0bfd35b97c
child 904 b40afcf42a4d
equal deleted inserted replaced
11:7a9609c4c6f9 12:67c9630d1290
    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.h>
    16 #include <hugo/array_map.h>
    17 
    17 
    18 #include <hugo/map_defines.h>
    18 #include <hugo/map_defines.h>
    19 
    19 
    20 namespace hugo {
    20 namespace hugo {
    21 
    21 
    51     
    51     
    52 
    52 
    53     /// Creating map registries.
    53     /// Creating map registries.
    54     CREATE_MAP_REGISTRIES;
    54     CREATE_MAP_REGISTRIES;
    55     /// Creating node and edge maps.
    55     /// Creating node and edge maps.
    56     CREATE_MAPS(DefaultMap);
    56     CREATE_MAPS(ArrayMap);
    57     
    57     
    58   public:
    58   public:
    59 
    59 
    60     ///Creates a full graph with \c n nodes.
    60     ///Creates a full graph with \c n nodes.
    61     FullGraph(int n) : NodeNum(n), EdgeNum(NodeNum*NodeNum) { }
    61     FullGraph(int n) : NodeNum(n), EdgeNum(NodeNum*NodeNum) { }