src/hugo/full_graph.h
changeset 808 9cabbdd73375
parent 782 df2e45e09652
child 813 65144c52969c
equal deleted inserted replaced
7:f6650130b800 8:d9481ca78122
    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) { }