src/work/deba/list_graph.h
changeset 796 b0a427f60edb
parent 702 4207f82a1778
child 880 9d0bfd35b97c
equal deleted inserted replaced
2:b9f92c7e5ea4 3:221b94a1d893
    10 #include <vector>
    10 #include <vector>
    11 #include <climits>
    11 #include <climits>
    12 
    12 
    13 #include "invalid.h"
    13 #include "invalid.h"
    14 
    14 
    15 #include "vector_map_factory.h"
    15 #include "array_map_factory.h"
    16 #include "map_registry.h"
    16 #include "map_registry.h"
    17 
    17 
    18 #include "map_defines.h"
    18 #include "map_defines.h"
    19 
    19 
    20 namespace hugo {
    20 namespace hugo {
    74     class EdgeIt;
    74     class EdgeIt;
    75     class OutEdgeIt;
    75     class OutEdgeIt;
    76     class InEdgeIt;
    76     class InEdgeIt;
    77     
    77     
    78     CREATE_MAP_REGISTRIES;
    78     CREATE_MAP_REGISTRIES;
    79     CREATE_MAPS(VectorMapFactory);
    79     CREATE_MAPS(ArrayMapFactory);
    80   public:
    80   public:
    81 
    81 
    82     ListGraph() : nodes(), first_node(-1),
    82     ListGraph() : nodes(), first_node(-1),
    83 		  first_free_node(-1), edges(), first_free_edge(-1) {}
    83 		  first_free_node(-1), edges(), first_free_edge(-1) {}
    84     ListGraph(const ListGraph &_g) : nodes(_g.nodes), first_node(_g.first_node),
    84     ListGraph(const ListGraph &_g) : nodes(_g.nodes), first_node(_g.first_node),