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

adapt examples to v1.0.0 changes

This commit is contained in:
Stefan Schroeder 2013-11-26 11:47:35 +01:00
parent d24bd93c59
commit 90bf27a696
5 changed files with 5 additions and 5 deletions

View file

@ -103,7 +103,7 @@ public class CostMatrixExample {
VehicleRoutingTransportCosts costMatrix = costMatrixBuilder.build();
VehicleRoutingProblem vrp = VehicleRoutingProblem.Builder.newInstance().setFleetSize(FleetSize.INFINITE).setRoutingCost(costMatrix)
.addVehicle(vehicle).addService(s1).addService(s2).addService(s3).build();
.addVehicle(vehicle).addJob(s1).addJob(s2).addJob(s3).build();
VehicleRoutingAlgorithm vra = VehicleRoutingAlgorithms.readAndCreateAlgorithm(vrp, "input/fastAlgo.xml");