Changeset 622:b66a28401f3f in lemon-0.x for src/hugo/graph_wrapper.h
- Timestamp:
- 05/12/04 15:22:10 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@811
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/graph_wrapper.h
r621 r622 905 905 void set(Edge e, T a) { 906 906 if (!e.backward) 907 forward_map.set(e .out, a);907 forward_map.set(e/*.out*/, a); 908 908 else 909 backward_map.set(e .in, a);909 backward_map.set(e/*.in*/, a); 910 910 } 911 911 T operator[](Edge e) const { 912 912 if (!e.backward) 913 return forward_map[e .out];913 return forward_map[e/*.out*/]; 914 914 else 915 return backward_map[e .in];915 return backward_map[e/*.in*/]; 916 916 } 917 917 // T get(Edge e) const {
Note: See TracChangeset
for help on using the changeset viewer.