1173 forward_map(*(g.graph)), backward_map(*(g.graph)) { } |
1173 forward_map(*(g.graph)), backward_map(*(g.graph)) { } |
1174 |
1174 |
1175 EdgeMap(const SubBidirGraphWrapperBase<_Graph, |
1175 EdgeMap(const SubBidirGraphWrapperBase<_Graph, |
1176 ForwardFilterMap, BackwardFilterMap>& g, T a) : |
1176 ForwardFilterMap, BackwardFilterMap>& g, T a) : |
1177 forward_map(*(g.graph), a), backward_map(*(g.graph), a) { } |
1177 forward_map(*(g.graph), a), backward_map(*(g.graph), a) { } |
1178 |
|
1179 // template <typename TT> |
|
1180 // EdgeMap(const EdgeMap<TT>& copy) |
|
1181 // : forward_map(copy.forward_map), backward_map(copy.backward_map) {} |
|
1182 |
|
1183 // template <typename TT> |
|
1184 // EdgeMap& operator=(const EdgeMap<TT>& copy) { |
|
1185 // forward_map = copy.forward_map; |
|
1186 // backward_map = copy.backward_map; |
|
1187 // return *this; |
|
1188 // } |
|
1189 |
1178 |
1190 void set(Edge e, T a) { |
1179 void set(Edge e, T a) { |
1191 if (!e.backward) |
1180 if (!e.backward) |
1192 forward_map.set(e, a); |
1181 forward_map.set(e, a); |
1193 else |
1182 else |