COIN-OR::LEMON - Graph Library

Changeset 674:7733d18de0e8 in lemon-0.x for src/work/deba/test_graph.h


Ignore:
Timestamp:
06/04/04 13:52:53 (20 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@911
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/deba/test_graph.h

    r627 r674  
    88#include "invalid.h"
    99
    10 #include "vector_map_factory.h"
     10#include "map_registry.h"
     11#include "array_map_factory.h"
     12
     13#include "map_defines.h"
    1114
    1215namespace hugo {
     
    3134    class SymEdgeIt;
    3235   
    33     //    template <typename T> class NodeMap;
    34     //    template <typename T> class EdgeMap;
     36    typedef ListGraph Graph;
     37 
     38    CREATE_MAP_REGISTRIES
     39    CREATE_MAPS(ArrayMapFactory)
     40
    3541  private:
    36     //    template <typename T> friend class NodeMap;
    37     //   template <typename T> friend class EdgeMap;
    38  
    39   private:
    40 
    41  
    42   public:
    43        
    44     typedef MapRegistry<ListGraph, Node, NodeIt> NodeMapRegistry;
    45     typedef VectorMapFactory<NodeMapRegistry> NodeMapFactory;
    46     NodeMapRegistry node_maps;
    47 
    48 
    49 
    50     typedef MapRegistry<ListGraph, Edge, EdgeIt> EdgeMapRegistry;
    51     typedef VectorMapFactory<EdgeMapRegistry> EdgeMapFactory;
    52     EdgeMapRegistry edge_maps;
    53  
    5442
    5543    int node_id;
Note: See TracChangeset for help on using the changeset viewer.