COIN-OR::LEMON - Graph Library

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

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/leda/bipartite_matching_leda.cc

    r648 r769  
    1515//#include <dimacs.h>
    1616#include <hugo/time_measure.h>
    17 #include <hugo/for_each_macros.h>
     17#include <for_each_macros.h>
    1818#include <hugo/graph_wrapper.h>
    1919#include <bipartite_graph_wrapper.h>
    2020#include <hugo/maps.h>
    21 #include <max_flow.h>
     21#include <hugo/max_flow.h>
    2222
    2323/**
     
    9696  BGW::EdgeMap<int> dbyxcj(bgw);
    9797
    98   typedef stGraphWrapper<BGW> stGW;
     98  typedef stBipartiteGraphWrapper<BGW> stGW;
    9999  stGW stgw(bgw);
    100100  ConstMap<stGW::Edge, int> const1map(1);
     
    110110  typedef SageGraph MutableGraph;
    111111//  while (max_flow_test.augmentOnBlockingFlow1<MutableGraph>()) {
    112   while (max_flow_test.augmentOnBlockingFlow2()) {
    113    std::cout << max_flow_test.flowValue() << std::endl;
    114   }
     112//   while (max_flow_test.augmentOnBlockingFlow2()) {
     113//    std::cout << max_flow_test.flowValue() << std::endl;
     114//   }
     115  max_flow_test.run();
    115116  std::cout << "max flow value: " << max_flow_test.flowValue() << std::endl;
    116117  std::cout << "elapsed time: " << ts << std::endl;
Note: See TracChangeset for help on using the changeset viewer.