I have a little rule that keeps firing. I have an object with two slots. I match one of them in the LHS. I set the other in the RHS though a modify. Does the modify in the RHS change the object enough to trigger the rule?


(deftemplate parameter-stat (slot parameter-name) (slot possible-values) )



(defrule accumulate_disease
 (disease
   (name ?dname)
  )
?ac<- (parameter-stat
 (parameter-name  primary_disease)
  )

=>

(bind ?temps ( str-cat (fact-slot-value ?ac possible-values) ?dname "|"))

(modify ?ac (possible-values ?temps))

)

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