Go backward to The Tools
Go up to Top
Go forward to Composition of Agents
The Jobbers
- Different kinds of jobs:
- Easy jobs done with hands.
- Hard jobs done with hammer.
- Other jobs done with hammer or mallet.
- Behavior:
- Jobber := in(job).Start(job)
- Start(job) := if easy(job)
then Finish(job)
else if hard(job) then
Uhammer(job)
else Usetool(job)
- Usetool(job) := Uhammer(job) +
Umallet(job)
- Uhammer(job) :=
geth.puth.Finish(job)
- Umallet(job) :=
getm.putm.Finish(job)
- Finish(job) :=
out(done(job)).Jobber
Wolfgang.Schreiner@risc.uni-linz.ac.at
Id: ccs1.tex,v 1.1 1996/06/05 15:04:53 schreine Exp schreine