The farmer, fox, goose and grain:
Your critique of the various design representations should consider:
- how obvious their notation is to interpret;
- how clearly they reveal the correct solutions, and
whether all are shown;
- whether their viewpoint adequately shows the sequence of states
(behavioural is best for this).
Here's another way to represent the solution that you
must see!
|
|
And here's an adaptation of another solution I found:
Farmer and boat, the goose deliver
While fox and grain stand by the river,
Observe with envy the goose, that free-liver.
Farmer, goose, and grain, with patience refrain
And watch the fox alone, the misgiver.
When fox, farmer, and goose their seat obtain,
They look at the grain, their lips acquiver.
Farmer, fox, and grain together remain
On the opposite bank of the river.
"Beautiful boat bring the goose", they blither.
A fox, a goose, a farmer, some grain
Finally succeed in crossing the river.
Now they are gladly willing to resign
The wonderful benefits of Software Design,
As a solution it helps to deliver!!
from Alexander Tzonis (1990).
Hermes and the Golden Thinking Machine, Cambridge, MA: Bradford.
(pp. 149-150)
|