示例#1
0
 /** Get maximal starting time */
 public int getMaxStartTime() {
   if (iOperationNumber + 1 == iJob.countOperations())
     return ((JobShopModel) getModel()).getTotalNumberOfSlots() - iProcessingTime;
   else return getSubsequentOperation().getMaxStartTime() - iProcessingTime;
 }
示例#2
0
 /** Get the subsequent operation (if any) */
 public Operation getSubsequentOperation() {
   return (iOperationNumber + 1 == iJob.countOperations()
       ? null
       : iJob.getOperation(iOperationNumber + 1));
 }