src/work/peter/hierarchygraph.h
changeset 1151 b217fc69f913
parent 986 e997802b855c
equal deleted inserted replaced
6:54bb0e1ba0b9 7:d7aa0dc97c56
   431     /// needs extra attention!
   431     /// needs extra attention!
   432 
   432 
   433     template < class T > class NodeMap
   433     template < class T > class NodeMap
   434     {
   434     {
   435     public:
   435     public:
   436       typedef T ValueType;
   436       typedef T Value;
   437       typedef Node KeyType;
   437       typedef Node Key;
   438 
   438 
   439       NodeMap (const HierarchyGraph &)
   439       NodeMap (const HierarchyGraph &)
   440       {
   440       {
   441       }
   441       }
   442       NodeMap (const HierarchyGraph &, T)
   442       NodeMap (const HierarchyGraph &, T)
   487     /// \todo We may need conversion from other edgetype
   487     /// \todo We may need conversion from other edgetype
   488     /// \todo We may need operator=
   488     /// \todo We may need operator=
   489     template < class T > class EdgeMap
   489     template < class T > class EdgeMap
   490     {
   490     {
   491     public:
   491     public:
   492       typedef T ValueType;
   492       typedef T Value;
   493       typedef Edge KeyType;
   493       typedef Edge Key;
   494 
   494 
   495       EdgeMap (const HierarchyGraph &)
   495       EdgeMap (const HierarchyGraph &)
   496       {
   496       {
   497       }
   497       }
   498       EdgeMap (const HierarchyGraph &, T)
   498       EdgeMap (const HierarchyGraph &, T)