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:
parent
a66be4bd0a
commit
e6f671cbcc
10 changed files with 291 additions and 135 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue