SLIDE 27 Algorithm For 2 Processors
OptResAssignment algorithm uses a dynamic programming approach. Let • be a two-dimensional array of size ‚Z
- Z states that there is a schedule that, at time step , asd
IIIhas finished all jobs and q Z for x and Z x Zy Ss ui will be the remaining total resource requirement of and Z, i.e.
S
sF Fz( A Fzn A Iƒ„…†‡ < •
n
27
Invariant
At phase ℓ, all entries on the (ℓ−1)-th diagonal (i.e., all B[ , Z] with + Z = ℓ) correspond to subschedules with minimal (and, for this , minimal ) reaching the jobs (1, ) and (2, Z)
Output