Пример #1
0
 @Override
 public double getOperationTime() {
   return delivery.getServiceDuration();
 }
Пример #2
0
 @Override
 public double getTheoreticalLatestOperationStartTime() {
   return delivery.getTimeWindow().getEnd();
 }
Пример #3
0
 @Override
 public double getTheoreticalEarliestOperationStartTime() {
   return delivery.getTimeWindow().getStart();
 }
Пример #4
0
 @Override
 public String getLocationId() {
   return delivery.getLocationId();
 }
Пример #5
0
 @Override
 public String getName() {
   return delivery.getType();
 }
Пример #6
0
 public DeliverService(Delivery delivery) {
   super();
   this.delivery = delivery;
   capacity = Capacity.invert(delivery.getSize());
 }