Changeset 987:87f7c54892df in lemon-0.x for src/lemon/graph_wrapper.h
- Timestamp:
- 11/13/04 18:07:10 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1377
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/graph_wrapper.h
r986 r987 1122 1122 typename Graph::template EdgeMap<T> forward_map, backward_map; 1123 1123 public: 1124 typedef T Value Type;1125 typedef Edge Key Type;1124 typedef T Value; 1125 typedef Edge Key; 1126 1126 1127 1127 EdgeMap(const SubBidirGraphWrapper<Graph, … … 1151 1151 } 1152 1152 1153 typename Graph::template EdgeMap<T>::ConstReference Type1153 typename Graph::template EdgeMap<T>::ConstReference 1154 1154 operator[](Edge e) const { 1155 1155 if (!e.backward) … … 1159 1159 } 1160 1160 1161 typename Graph::template EdgeMap<T>::Reference Type1161 typename Graph::template EdgeMap<T>::Reference 1162 1162 operator[](Edge e) { 1163 1163 if (!e.backward) … … 1346 1346 const ResGraphWrapper<Graph, Number, CapacityMap, FlowMap>* res_graph; 1347 1347 public: 1348 typedef Number Value Type;1349 typedef Edge Key Type;1348 typedef Number Value; 1349 typedef Edge Key; 1350 1350 ResCap(const ResGraphWrapper<Graph, Number, CapacityMap, FlowMap>& 1351 1351 _res_graph) : res_graph(&_res_graph) { }
Note: See TracChangeset
for help on using the changeset viewer.