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:
parent
9f5b3c168b
commit
4b78d5fac0
3 changed files with 5 additions and 4 deletions
|
|
@ -39,7 +39,8 @@ import algorithms.selectors.SelectRandomlyTest;
|
||||||
TestCalculatesActivityInsertion.class,
|
TestCalculatesActivityInsertion.class,
|
||||||
TestCalculatesServiceInsertion.class,
|
TestCalculatesServiceInsertion.class,
|
||||||
TestCalculatesServiceInsertionOnRouteLevel.class,
|
TestCalculatesServiceInsertionOnRouteLevel.class,
|
||||||
|
TestSchrimpf.class,
|
||||||
|
|
||||||
TestJobDistanceAvgCosts.class,
|
TestJobDistanceAvgCosts.class,
|
||||||
TestTourStateUpdaterWithService.class,
|
TestTourStateUpdaterWithService.class,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ public class TestSchrimpf {
|
||||||
@Test
|
@Test
|
||||||
public void whenUsingSchrimpfFactory_itFindsTheConfig(){
|
public void whenUsingSchrimpfFactory_itFindsTheConfig(){
|
||||||
|
|
||||||
VehicleRoutingAlgorithm vra = new SchrimpfFactory().createAlgorithm(VehicleRoutingProblem.newBuilderInstance().build());
|
VehicleRoutingAlgorithm vra = new SchrimpfFactory().createAlgorithm(VehicleRoutingProblem.Builder.newInstance().build());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
<capacity>20</capacity>
|
<capacity>20</capacity>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>1.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
<capacity>200</capacity>
|
<capacity>200</capacity>
|
||||||
<costs>
|
<costs>
|
||||||
<fixed>0.0</fixed>
|
<fixed>0.0</fixed>
|
||||||
<distance>0.0</distance>
|
<distance>1.0</distance>
|
||||||
<time>0.0</time>
|
<time>0.0</time>
|
||||||
</costs>
|
</costs>
|
||||||
</type>
|
</type>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue