Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/22/12 12:31:14 (12 years ago)
Author:
svonolfe
Message:

Fixed issue with order generator (#1955)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DynamicVehicleRouting/HeuristicLab.PDPSimulation/3.3/OrderGenerators/PickupDeliveryPredefinedOrderGenerator.cs

    r8791 r8824  
    115115         double revealedTime = orderMatrix[i, 0];
    116116
    117          if (revealedTime >= time) {
     117         if (revealedTime > time) {
    118118           moreOrders = true;
    119119           break;
     
    130130      for (int i = 0; i < orderMatrix.Rows; i++) {
    131131        double revealedTime = orderMatrix[i, 0];
    132         if ((timeStart == timeEnd && revealedTime == timeStart) || (revealedTime >= timeStart && revealedTime < timeEnd)) {
     132        if ((timeStart == timeEnd && revealedTime == timeStart) || (revealedTime > timeStart && revealedTime <= timeEnd)) {
    133133          Order order = new Order();
    134134          order.OrderState = OrderState.Waiting;
Note: See TracChangeset for help on using the changeset viewer.