src/work/marci/graph_concept.h
changeset 987 87f7c54892df
parent 986 e997802b855c
equal deleted inserted replaced
8:ed6a9062c99f 9:94912d245462
   165     /// needs extra attention!
   165     /// needs extra attention!
   166 
   166 
   167     template<class T> class NodeMap
   167     template<class T> class NodeMap
   168     {
   168     {
   169     public:
   169     public:
   170       typedef T ValueType;
   170       typedef T Value;
   171       typedef Node KeyType;
   171       typedef Node Key;
   172 
   172 
   173       NodeMap(const GraphConcept& g) { }
   173       NodeMap(const GraphConcept& g) { }
   174       NodeMap(const GraphConcept& g, T t) { }
   174       NodeMap(const GraphConcept& g, T t) { }
   175 
   175 
   176       template<typename TT> NodeMap(const NodeMap<TT>& m) { }
   176       template<typename TT> NodeMap(const NodeMap<TT>& m) { }
   203     /// \todo We may need conversion from other edgetype
   203     /// \todo We may need conversion from other edgetype
   204     /// \todo We may need operator=
   204     /// \todo We may need operator=
   205     template<class T> class EdgeMap
   205     template<class T> class EdgeMap
   206     {
   206     {
   207     public:
   207     public:
   208       typedef T ValueType;
   208       typedef T Value;
   209       typedef Edge KeyType;
   209       typedef Edge Key;
   210 
   210 
   211       EdgeMap(const GraphConcept& g) {}
   211       EdgeMap(const GraphConcept& g) {}
   212       EdgeMap(const GraphConcept& g, T t) {}
   212       EdgeMap(const GraphConcept& g, T t) {}
   213     
   213     
   214       void set(Edge i, T t) {}
   214       void set(Edge i, T t) {}