test/preflow_test.cc
changeset 407 db3251947eba
parent 406 624e673efa76
child 409 e7707b3069f1
     1.1 --- a/test/preflow_test.cc	Fri Nov 21 14:26:58 2008 +0000
     1.2 +++ b/test/preflow_test.cc	Sun Nov 30 00:48:07 2008 +0100
     1.3 @@ -55,7 +55,7 @@
     1.4    preflow_test.target(n);
     1.5  
     1.6    preflow_test.init();
     1.7 -  preflow_test.flowInit(cap);
     1.8 +  preflow_test.init(cap);
     1.9    preflow_test.startFirstPhase();
    1.10    preflow_test.startSecondPhase();
    1.11    preflow_test.run();
    1.12 @@ -153,7 +153,7 @@
    1.13    int flow_value=preflow_test.flowValue();
    1.14  
    1.15    for(ArcIt e(g); e!=INVALID; ++e) cap[e]=2*cap[e];
    1.16 -  preflow_test.flowInit(flow);
    1.17 +  preflow_test.init(flow);
    1.18    preflow_test.startFirstPhase();
    1.19  
    1.20    CutMap min_cut1(g);