COIN-OR::LEMON - Graph Library

Changeset 784:a48964a87141 in lemon-0.x


Ignore:
Timestamp:
09/02/04 13:20:49 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1077
Message:

dimacs.h

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/dimacs.h

    r778 r784  
    7272          getline(is, str);
    7373          e=g.addEdge(nodes[i], nodes[j]);
    74           capacity.update();
     74          //capacity.update();
    7575          capacity.set(e, _cap);
    7676        } else {
     
    7979            getline(is, str);
    8080            e=g.addEdge(nodes[i], nodes[j]);
    81             capacity.update();
     81            //capacity.update();
    8282            capacity.set(e, _cap);
    83             cost.update();
     83            //cost.update();
    8484            cost.set(e, _cost);
    8585          } else {
  • src/work/marci/graph_wrapper_time.cc

    r777 r784  
    3636  MyMaxFlow max_flow(g, s, t, cap, flow);
    3737  max_flow.run(MyMaxFlow::NO_FLOW);
     38  cout << "flow value: " << max_flow.flowValue() << endl;
    3839  cout << ts << endl;
    3940}
Note: See TracChangeset for help on using the changeset viewer.