|
Algorithm 1 task level division |
Require: the task set Ensure:
-
1:
Set ;
-
2:
for each in
do
-
3:
Set ;
-
4:
Set ;
-
5:
whiledo
-
6:
for each task
do
-
7:
if
then
-
8:
Set ;
-
9:
for each task
do
-
10:
for each task
do
-
11:
if
then
-
12:
Delete from set ;
-
13:
if
then
-
14:
Delete from set ;
-
15:
;
-
16:
return;
|