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

add pickup and delivery

This commit is contained in:
oblonski 2013-07-17 10:56:11 +02:00
parent 8950d49e5a
commit 357f7d82b3
4 changed files with 23 additions and 6 deletions

View file

@ -0,0 +1,7 @@
package basics;
public class Delivery {
}

View file

@ -0,0 +1,15 @@
package basics;
public class Pickup extends Service {
Pickup(Builder builder) {
super(builder);
// TODO Auto-generated constructor stub
}
}

View file

@ -26,8 +26,6 @@ import util.Coordinate;
public class Service implements Job {
public static class Builder {
public static Builder newInstance(String id, int size){
@ -99,7 +97,7 @@ public class Service implements Job {
private final int demand;
private Service(Builder builder){
Service(Builder builder){
id = builder.id;
locationId = builder.locationId;
coord = builder.coord;