Fix bug when allocating an unscheduled queue element, do it like if it were like an unscheduled element in the list on unscheduled queue elements
If doing an appropriative allocation it's necessary to unscheduled element to make room enough for a gap, later those elements should be schedule back again like it were unscheduled elements coming from the list of unscheduled queue elements. It's not possile to make any guess about in which queue it make fit, as this may change depending on the new gaps created. FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
This commit is contained in:
parent
c7f51c0a72
commit
2809763f1a
1 changed files with 1 additions and 3 deletions
|
|
@ -1005,9 +1005,7 @@ public class LimitingResourceQueueModel implements ILimitingResourceQueueModel {
|
|||
} while (gap != null);
|
||||
|
||||
for (LimitingResourceQueueElement each: unscheduledElements) {
|
||||
gap = LimitingResourceAllocator.getFirstValidGap(queue, each);
|
||||
result.addAll(assignLimitingResourceQueueElementToQueueAt(each, queue, gap
|
||||
.getStartTime(), getEndsAfterBecauseOfGantt(element)));
|
||||
assignLimitingResourceQueueElement(each);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue