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,
|
||||
TestCalculatesServiceInsertion.class,
|
||||
TestCalculatesServiceInsertionOnRouteLevel.class,
|
||||
|
||||
TestSchrimpf.class,
|
||||
|
||||
TestJobDistanceAvgCosts.class,
|
||||
TestTourStateUpdaterWithService.class,
|
||||
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue