1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

replace getNuIteration with getMaxIterstions

This commit is contained in:
oblonski 2015-04-22 11:30:22 +02:00
parent 3dd7706204
commit 7b578d3ce6
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ public class ExperimentalSchrimpfAcceptance implements SolutionAcceptor, Iterati
logger.info("prepare schrimpfAcceptanceFunction, i.e. determine initial threshold");
logger.info("start random-walk (see randomWalk.xml)");
double now = System.currentTimeMillis();
this.nOfTotalIterations = algorithm.getNuOfIterations();
this.nOfTotalIterations = algorithm.getMaxIterations();
/*
* randomWalk to determine standardDev

View file

@ -268,7 +268,7 @@ public class TestAlgorithmReader {
@Test
public void whenCreatingAlgorithm_nOfIterationsIsReadCorrectly(){
VehicleRoutingAlgorithm algo = VehicleRoutingAlgorithms.createAlgorithm(vrp, config);
assertEquals(10, algo.getNuOfIterations());
assertEquals(10, algo.getMaxIterations());
}
@Test