src/work/deba/test_graph.h
changeset 686 fc8a3393e0d9
parent 674 7733d18de0e8
equal deleted inserted replaced
7:b51e262d6b03 8:e5204d51eef4
    32     class OutEdgeIt;
    32     class OutEdgeIt;
    33     class InEdgeIt;
    33     class InEdgeIt;
    34     class SymEdgeIt;
    34     class SymEdgeIt;
    35     
    35     
    36     typedef ListGraph Graph;
    36     typedef ListGraph Graph;
    37  
    37     
    38     CREATE_MAP_REGISTRIES
    38     CREATE_MAP_REGISTRIES;
    39     CREATE_MAPS(ArrayMapFactory)
    39     CREATE_MAPS(ArrayMapFactory);
    40 
    40     
    41   private:
    41   private:
    42 
    42     
    43     int node_id;
    43     int node_id;
    44     int edge_id;
    44     int edge_id;
    45     int _node_num;
    45     int _node_num;
    46     int _edge_num;
    46     int _edge_num;
    47 
    47     
    48     node_item* _first_node;
    48     node_item* _first_node;
    49     node_item* _last_node;
    49     node_item* _last_node;
    50 
    50 
    51     class node_item {
    51     class node_item {
    52       friend class ListGraph;
    52       friend class ListGraph;