Free cookie consent management tool by TermsFeed Policy Generator

Changeset 335


Ignore:
Timestamp:
06/24/08 18:20:00 (16 years ago)
Author:
mkofler
Message:

Fixed small issue with the OperationUpdater.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Scheduling.JSSP/OperationUpdater.cs

    r269 r335  
    5151          if(index != -1) {
    5252            op.Predecessors.RemoveAt(index); // remove scheduled op from predecessor list
    53             op.Start = scheduledOp.Start + scheduledOp.Duration; // new earliest start date
     53            op.Start = Math.Max(scheduledOp.Start + scheduledOp.Duration, op.Start); // new earliest start date
    5454          }
    5555        }
Note: See TracChangeset for help on using the changeset viewer.