I think Alexander Bogomolny wrote:
> 
> In addition, the 2-rules example on pp. 22-23 is confusing. Since the
> discussion is about the order of execution, implicit in the example is
> the possibility of both rules firing in sequence. It is therefore a
> mistake to suggest that the second rule ("stop") should fire before the
> first rule ("go"). Unless the firing of the second rule somehow removes
> the first one from the agenda - and the need to do that is not brought
> up in the discussion - the net result ("go") would the the opposite of
> the desired.


The rules are written in English, which implies less precision than a
real programming language, so I'm not sure I agree that things need to
be spelled out in this level of detail; but are you suggesting,
perhaps, that the second rule should say something like

IF
  a person is in front of you
THEN
  stop until they get out of the way
END

instead of just "stop"?


A final note: although these discussions are welcome here, there's
also Manning's "Author Online" bulletin board for the book, where
they're perhaps even more appropriate.

http://www.manning-sandbox.com/forum.jspa?forumID=35



---------------------------------------------------------
Ernest Friedman-Hill  
Science and Engineering PSEs        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to