Speaking of which :-) when is the 2nd edition of "Jess In Action" coming out? Giarratano and Riley are now into their FOURTH edition since first edition came out in 1989. I "think" I have all three somewhere - the older ones probably in boxes somewhere but the 3rd edition is pretty well marked up for teaching CLIPS and/or Jess. Unfortunately, Jess and CLIPS seem to be diverging and now I need a new book to teach Jess rather than have to come up with one on my own. It's bad enough to have to do hundreds of overheads for a class when teaching from the book. (The overheads are just to keep the student focused on the front of the room - me - when teaching since the subject is necessarily difficult for most of them.) Anyway, just wondering...

SDG
jco
[EMAIL PROTECTED]
http://www.kbsc.com
"This above all: to thine own self be true,
And it must follow, as the night the day,
Thou canst not then be false to any man."
Hamlet, Act 1, Scene III





On Jul 17, 2006, at 8:26 AM, friedman_hill ernest j wrote:

I think mdean77 wrote:
Ridiculous question.  I have a Bean in Java.  I want to have Jess
build itself a template for a shadow fact.  But Jess does not know
about the Bean.  How does one tell Jess about the classes that have
been created in Java?  Right now, I manually create a fact in Jess
and move the values from Java, but this is not ideal.


In Jess 7, you can use Rete.add(), which automatically creates the
template if needed and adds the object to working memory.  In Jess 6
-- or if you want to choose your own template name rather than using
the class name -- you can use the Rete.defclass() and
Rete.definstance() methods.

The manual section concerning templates, facts, and Java objects in
working memory has been completely rewritten for the next release -- I
hope it will make this stuff easier to learn and use.




---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research          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 owner-jess- [EMAIL PROTECTED]
--------------------------------------------------------------------

--------------------------------------------------------------------
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