COIN-OR::LEMON - Graph Library

Changeset 622:b66a28401f3f in lemon-0.x for src/hugo/graph_wrapper.h


Ignore:
Timestamp:
05/12/04 15:22:10 (21 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@811
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/graph_wrapper.h

    r621 r622  
    905905      void set(Edge e, T a) {
    906906        if (!e.backward)
    907           forward_map.set(e.out, a);
     907          forward_map.set(e/*.out*/, a);
    908908        else
    909           backward_map.set(e.in, a);
     909          backward_map.set(e/*.in*/, a);
    910910      }
    911911      T operator[](Edge e) const {
    912912        if (!e.backward)
    913           return forward_map[e.out];
     913          return forward_map[e/*.out*/];
    914914        else
    915           return backward_map[e.in];
     915          return backward_map[e/*.in*/];
    916916      }
    917917//       T get(Edge e) const {
Note: See TracChangeset for help on using the changeset viewer.