On Feb 25, 2008, at 10:34 AM, Marco Zappatore wrote:
You have to make time explicit. Look at the FAQ (http://
www.jessrules.com/FAQ.shtml) for a simple rule that manages a "clock"
fact, so your rules can know what time it is; then you need to add a
slot to your templates to hold a timestamp. You could use the
default-
dynamic slot property to automatically set this when a fact is
asserted. The you just write the rules against the time fact and
timestamp slots.
Excuse me, do you mean the "idle-rule" listed in that page?
Yes. Instead of "(idle)" you'd just use "(timestamp NNNNN)".
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------