I have a bunch of rules of the following type, where clauses look identical,
but when I use the (watch compilations) command or the (view), it clearly
shows that 2-input nodes are not being reused.  Why?
And what can I do to solve the problem?

(BTW, the thing object is defined by a defclass, if that makes a
difference).


(defrule rule1
    "" 
    (declare (salience 0)) 
    (thing (color ?f1) (shape ?f0)) 
    (test (EQUALS ?f0 "02907")) 
    (test (EQUALS ?f1 "64772")) 
    => 
)

(defrule rule2 
    "" 
    (declare (salience 0)) 
    (thing (color ?f1) (shape ?f0)) 
    (test (EQUALS ?f0 "02907")) 
    (test (EQUALS ?f1 "64772")) 
    => 
)
----------------------------------------------------------------------
George Rudolph
Staff Software Engineer
Motorola SSG
8201 E McDowell Rd.  Scottsdale, AZ, USA 85252
MailStop H2036B
Email: [EMAIL PROTECTED]
Ph: 480-675-2343
Fax: 480-441-3472
-----------------------------------------------------------------------

---------------------------------------------------------------------
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]
---------------------------------------------------------------------

Reply via email to