Go backward to
Coffman-Graham Algorithm
Go up to
Top
Go forward to
Deadlock
Coffman-Graham Algorithm
Find: task list for Graham's algorithm.
Algorithm:
Choose
T
k
with
S(T
k
)=0
and let
alpha
(T
k
)
be 1.
For
i <-2
to
n
do
Let
R
be the set of unlabeled tasks with no unlabeled successors.
Let
T
*
be the task in
R
such that
N(T
*
)
is lexicographically smaller than
N(T)
for all
T
in
R
.
Let
alpha
(T
*
) <-i
.
Construct
L = (U
n
, U
n-1
, ..., U
2
, U
1
)
such that
alpha
(U
i
) = i
.
Theorem:
w/w
0
<=2 - 2/p
w
length of constructed schedule,
w
0
length of optimal schedule,
p > 1
processor number.
Collary: schedule optimal for
p=2
.
See
Quinn
, Figure 5-18.
Author:
Wolfgang Schreiner
Last modification: November 15, 1996