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