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

create new services and serviceActivities, i.e. pickup and delivery as

well as their corresponding activities
This commit is contained in:
Stefan Schroeder 2013-08-28 18:23:26 +02:00
parent a66be4bd0a
commit e6f671cbcc
10 changed files with 291 additions and 135 deletions

View file

@ -33,12 +33,12 @@ public class Service implements Job {
}
private String id;
private String locationId;
protected String locationId;
private String type = "service";
private Coordinate coord;
private double serviceTime;
private TimeWindow timeWindow = TimeWindow.newInstance(0.0, Double.MAX_VALUE);
private int demand;
protected Coordinate coord;
protected double serviceTime;
protected TimeWindow timeWindow = TimeWindow.newInstance(0.0, Double.MAX_VALUE);
protected int demand;
Builder(String id, int size) {
super();