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 seem to have a logical
> dependency on (a).
> 

-
Ernest Friedman-Hill  
Advanced Software Research  Phone: (925) 294-2154
Sandia National LabsFAX:   (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]




JESS: Logical dependency bug?

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


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]