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
Author:
Wolfgang Schreiner
Last Modification: June 8, 1998