Changeset 413:9cb93f692e92 in lemon-0.x for src/work/marci
- Timestamp:
 - 04/26/04 16:19:19 (22 years ago)
 - Branch:
 - default
 - Phase:
 - public
 - Convert:
 - svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@553
 - File:
 - 
          
- 1 edited
 
- 
          src/work/marci/bipartite_matching_leda.cc (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
src/work/marci/bipartite_matching_leda.cc
r411 r413 15 15 #include <time_measure.h> 16 16 #include <for_each_macros.h> 17 #include <bfs_iterator.h>17 //#include <bfs_iterator.h> 18 18 #include <graph_wrapper.h> 19 19 #include <maps.h> … … 48 48 //for leda graph 49 49 leda::graph lg; 50 lg.make_undirected();50 //lg.make_undirected(); 51 51 typedef LedaGraphWrapper<leda::graph> Graph; 52 52 Graph g(lg); … … 204 204 205 205 ts.reset(); 206 MAX_CARD_BIPARTITE_MATCHING(lg);206 leda_list<leda_edge> ml=MAX_CARD_BIPARTITE_MATCHING(lg); 207 207 // stGW::EdgeMap<int> pre_flow(stgw); 208 208 //Preflow<stGW, int, ConstMap<stGW::Edge, int>, stGW::EdgeMap<int> > 209 209 // pre_flow_test(stgw, stgw.S_NODE, stgw.T_NODE, const1map, pre_flow, true); 210 210 //pre_flow_test.run(); 211 //std::cout << "pre flow value: " << max_flow_test.flowValue() << std::endl;211 std::cout << "leda matching value: " << ml.size() << std::endl; 212 212 std::cout << "elapsed time: " << ts << std::endl; 213 213 // FOR_EACH_LOC(stGW::EdgeIt, e, stgw) {  
Note: See TracChangeset
          for help on using the changeset viewer.
      
