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

fix compileError TestSchrimpf

This commit is contained in:
Stefan Schroeder 2013-06-06 09:24:08 +02:00
parent 9f5b3c168b
commit 4b78d5fac0
3 changed files with 5 additions and 4 deletions

View file

@ -39,7 +39,8 @@ import algorithms.selectors.SelectRandomlyTest;
TestCalculatesActivityInsertion.class,
TestCalculatesServiceInsertion.class,
TestCalculatesServiceInsertionOnRouteLevel.class,
TestSchrimpf.class,
TestJobDistanceAvgCosts.class,
TestTourStateUpdaterWithService.class,

View file

@ -10,7 +10,7 @@ public class TestSchrimpf {
@Test
public void whenUsingSchrimpfFactory_itFindsTheConfig(){
VehicleRoutingAlgorithm vra = new SchrimpfFactory().createAlgorithm(VehicleRoutingProblem.newBuilderInstance().build());
VehicleRoutingAlgorithm vra = new SchrimpfFactory().createAlgorithm(VehicleRoutingProblem.Builder.newInstance().build());
}

View file

@ -35,7 +35,7 @@
<capacity>20</capacity>
<costs>
<fixed>0.0</fixed>
<distance>0.0</distance>
<distance>1.0</distance>
<time>0.0</time>
</costs>
</type>
@ -44,7 +44,7 @@
<capacity>200</capacity>
<costs>
<fixed>0.0</fixed>
<distance>0.0</distance>
<distance>1.0</distance>
<time>0.0</time>
</costs>
</type>