src/test/preflow_test.cc
changeset 1222 a3fb216a267d
parent 1215 81b4731f8a6b
child 1359 1581f961cfaa
     1.1 --- a/src/test/preflow_test.cc	Wed Mar 16 17:31:04 2005 +0000
     1.2 +++ b/src/test/preflow_test.cc	Thu Mar 17 10:43:57 2005 +0000
     1.3 @@ -49,15 +49,15 @@
     1.4  
     1.5    preflow_test.run();
     1.6    preflow_test.flowValue();
     1.7 -  preflow_test.setSource(n);
     1.8 -  preflow_test.setFlow(flow);
     1.9 +  preflow_test.source(n);
    1.10 +  preflow_test.flowMap(flow);
    1.11  
    1.12    preflow_test.phase1(PType::NO_FLOW);
    1.13    preflow_test.minCut(cut);
    1.14  
    1.15    preflow_test.phase2();
    1.16 -  preflow_test.setTarget(n);
    1.17 -  preflow_test.setCap(cap);
    1.18 +  preflow_test.target(n);
    1.19 +  preflow_test.capacityMap(cap);
    1.20    preflow_test.minMinCut(cut);
    1.21    preflow_test.maxMinCut(cut);
    1.22  }
    1.23 @@ -129,7 +129,7 @@
    1.24  
    1.25  
    1.26    for(EdgeIt e(g); e!=INVALID; ++e) cap[e]=2*cap[e]; 
    1.27 -  preflow_test.setCap(cap);  
    1.28 +  preflow_test.capacityMap(cap);  
    1.29  
    1.30    preflow_test.phase1(PType::PRE_FLOW);
    1.31  
    1.32 @@ -168,7 +168,7 @@
    1.33      ++e;
    1.34    }
    1.35  
    1.36 -  preflow_test.setFlow(flow); 
    1.37 +  preflow_test.flowMap(flow); 
    1.38  
    1.39    NodeIt tmp1(g,s);
    1.40    ++tmp1;
    1.41 @@ -178,8 +178,8 @@
    1.42    ++tmp2;
    1.43    if ( tmp2 != INVALID ) t=tmp2;
    1.44  
    1.45 -  preflow_test.setSource(s);
    1.46 -  preflow_test.setTarget(t); 
    1.47 +  preflow_test.source(s);
    1.48 +  preflow_test.target(t); 
    1.49    
    1.50    preflow_test.run();
    1.51