benchmark/hcube.cc
changeset 2537 4a2091b1796a
parent 2391 14a343be7a5a
child 2553 bfced05fa852
equal deleted inserted replaced
7:6aad1bc22ad5 8:086e277b2135
   110 
   110 
   111   T.restart();
   111   T.restart();
   112   {
   112   {
   113    Graph::EdgeMap<int> flow(G);
   113    Graph::EdgeMap<int> flow(G);
   114    
   114    
   115     Preflow<Graph,int> MF(G,nodes[0],nodes[1<<dim-1],map,flow);
   115     Preflow<Graph> MF(G,map,nodes[0],nodes[1<<dim-1]);
   116     for(int i=0;i<10;i++)
   116     for(int i=0;i<10;i++)
   117       MF.run(MF.NO_FLOW);
   117       MF.run();
   118   }
   118   }
   119   PrintTime("PREFLOW",T);
   119   PrintTime("PREFLOW",T);
   120 
   120 
   121 }
   121 }