equal
deleted
inserted
replaced
27 class OutEdgeIt; |
27 class OutEdgeIt; |
28 class InEdgeIt; |
28 class InEdgeIt; |
29 class SymEdgeIt; |
29 class SymEdgeIt; |
30 template <typename T> class NodeMap; |
30 template <typename T> class NodeMap; |
31 template <typename T> class EdgeMap; |
31 template <typename T> class EdgeMap; |
32 private: |
32 // private: |
33 template <typename T> friend class NodeMap; |
33 template <typename T> friend class NodeMap; |
34 template <typename T> friend class EdgeMap; |
34 template <typename T> friend class EdgeMap; |
35 |
35 |
36 template <typename T> |
36 template <typename T> |
37 class NodeMap { |
37 class NodeMap { |
73 } |
73 } |
74 void update() { container.resize(G.edge_id); } |
74 void update() { container.resize(G.edge_id); } |
75 void update(T a) { container.resize(G.edge_id, a); } |
75 void update(T a) { container.resize(G.edge_id, a); } |
76 }; |
76 }; |
77 |
77 |
|
78 private: |
78 int node_id; |
79 int node_id; |
79 int edge_id; |
80 int edge_id; |
80 int _node_num; |
81 int _node_num; |
81 int _edge_num; |
82 int _edge_num; |
82 |
83 |