Mathematics for Computer Science

(Frankie) #1

9.10. Scheduling 255


Theorem 9.10.6.Letbe a strict partial order on a set,A. A minimum length
schedule forconsists of the setsA 0 ;A 1 ;:::;where


AkWWDfajdepth.a/Dkg:

We’ll leave to Problem 9.31 the proof that the setsAkare a parallel schedule
according to Definition 9.10.5.
The minimum number of steps needed to schedule a partial order,, is called
theparallel timerequired by, and a largest possible chain inis called acritical
pathfor. So we can summarize the story above by this way: with an unlimited
number of processors, the minimum parallel time to complete all tasks is simply
the size of a critical path:


Corollary 9.10.7.Parallel time = length of critical path.


9.10.2 Dilworth’s Lemma


Definition 9.10.8.Anantichainin a partial order is a set of elements such that any
two elements in the set are incomparable.


Our conclusions about scheduling also tell us something about antichains.

Corollary 9.10.9.If the largest chain in a partial order on a set,A, is of sizet,
thenAcan be partitioned intotantichains.


Proof. Let the antichains be the setsAkWWDfajdepth.a/Dkg. It is an easy
exercise to verify that eachAkis an antichain (Problem 9.31) 


Corollary 9.10.9 implies a famous result^10 about partially ordered sets:

Lemma 9.10.10(Dilworth).For allt > 0, every partially ordered set withnele-
ments must have either a chain of size greater thantor an antichain of size at least
n=t.


Proof. Assume there is no chain of size greater thant, that is, the largest chain is of
sizet. Then by Corollary 9.10.9, thenelements can be partitioned into at most
tantichains. Letbe the size of the largest antichain. Since every element belongs to exactly one antichain, and there are at mosttantichains, there can’t be more thantelements, namely,tn. So there is an antichain with at leastn=t
elements. 


(^10) Lemma 9.10.10 also follows from a more general result known as Dilworth’s Theorem which we
will not discuss.

Free download pdf