COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
02/18/04 18:27:13 (17 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@129
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/preflow_demo_jacint.cc

    r89 r100  
    2828  preflow_push_max_flow<ListGraph, int> max_flow_test(G, s, t, cap);
    2929  max_flow_test.run();
    30   ListGraph::NodeMap<bool> cut=max_flow_test.mincut();
     30  ListGraph::NodeMap<bool> cut(G);
     31  max_flow_test.mincut(cut);
    3132  int cut_value=0;
    3233  for(EachEdgeIt e=G.first<EachEdgeIt>(); e.valid(); ++e) {
     
    5152  preflow_push_hl<ListGraph, int> max_flow_test(G, s, t, cap);
    5253  max_flow_test.run();
    53   ListGraph::NodeMap<bool> cut=max_flow_test.mincut();
     54  ListGraph::NodeMap<bool> cut(G);
     55  max_flow_test.mincut(cut);
    5456  int cut_value=0;
    5557  for(EachEdgeIt e=G.first<EachEdgeIt>(); e.valid(); ++e) {
Note: See TracChangeset for help on using the changeset viewer.