How about: (declare (activation SLOT|TEMPLATE))
or (declare (activate PER-SLOT|PER-TEMPLATE)) or something similar. I suggest that you don't use the boolean form because, in the future, you might decide to add another activation strategy: (declare (activation SLOT|TEMPLATE|KARMA)) Also, how will this work with the automatically generated deftemplates for java classes? Can we specify this somehow when using (defclass)? alan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 8:28 PM To: Jess Mailing List Subject: JESS: "Single-slot activations" Hi Folks, So I've got a partial implementation of this thing we've been calling "single-slot activations"; this is the Jess mode in which if a fact is matched by a rule, and some slot in that fact which is not explicitly mentioned in the rule's patterns is modified, the rule's activation state is unchanged. This is going to be a property of certain deftemplates -- i.e., you can say (deftemplate foo (declare (xyzzy TRUE)) (slot x) (slot y)) to get a template that will behave this way. My dilemma: I don't have a catchy name for this. I actually have been coding it up using the nonce word "xyzzy", just as shown in the example. What should this be called instead? "single-slot-activation" is kind of ungainly. I want to change this, finish the implementation, and have a "technology preview release" to let people play with it and get some feedback. Suggestions welcome. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems 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 [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] --------------------------------------------------------------------
