@Override public double getOperationTime() { return delivery.getServiceDuration(); }
@Override public double getTheoreticalLatestOperationStartTime() { return delivery.getTimeWindow().getEnd(); }
@Override public double getTheoreticalEarliestOperationStartTime() { return delivery.getTimeWindow().getStart(); }
@Override public String getLocationId() { return delivery.getLocationId(); }
@Override public String getName() { return delivery.getType(); }
public DeliverService(Delivery delivery) { super(); this.delivery = delivery; capacity = Capacity.invert(delivery.getSize()); }