Re: JESS: Logical dependency bug?

2006-02-02 Thread ejfried
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

JESS: change facts in a loop or something simmilar

2006-02-02 Thread Bogdan Werth
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

JESS: Re: Java Date in JESS

2006-02-02 Thread Florian Fischer
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