Hi jess-users Don't know whether it's a bug but after (deffunction fun () (assert (b 2))) (defrule rule (logical (a))=(assert (b 1))) (defrule rule2 (logical (a))=(fun)) (assert (a)) (run) (retract 0) deletes only (a) and (b 1). (b 2) doesn't seem to have a logical dependency on (a). Yuri
I'd call that a bug, yes. Thanks. I think Yura wrote: Don't know whether it's a bug but after (deffunction fun () (assert (b 2))) (defrule rule (logical (a))=(assert (b 1))) (defrule rule2 (logical (a))=(fun)) (assert (a)) (run) (retract 0) deletes only (a) and (b 1). (b 2) doesn't
Hello everybody, I am making an agent based model with RePast and Jess and I am a bit stuck with the following (maybe for just trivial) problem. I have 12 facts defined with (deftemplate stored (slot householdID) (slot amount) (slot age)) -- householdIDis the id of the household -- amount
Hello, Is there a convenient way to express rules on Java Date attributes in shadow facts? Or is it advisable to convert all dates to integers (i.e. add a getter that returns the same date in milliseconds or seconds)? More specifically, I want to fire a rule under some conditions, one of
Not to dodge the answer, but I do milliseconds in all my date work. I guess in my mind I just didn't mind have a 'bean' object that did the work for me to allow my rules to be ignorant of what the value field type was that was being compared (until RHS 'pretty printing' of course) Roger On
Hello, Are there any higher math functions provided by Jess. I wasn't able to find anything by exploring Jess or by looking through the book. Is this only possible by calling out to Java directly? Thanks, Bret __ Do You Yahoo!? Tired of spam?
I think Florian Fischer wrote: I just wondered if there is a more elegant way to deal with dates. Jess currently doesn't treat Date objects specially in any way. You could define a few deffunctions which compared dates, and then use those on your rule LHS (or a few Java Userfunctions.)
When mapping javabean objects as static definstances to JESS, is it possible to update only a single given property value instead of the whole bean state? thanks, Lakshmi To unsubscribe, send the words 'unsubscribe