Hi,

I am trying to design a rule that is able to detect
when a single fact of a multislot is added/removed.
Given that the contained multislot values are
backed with Java objects I would also like to
know which fact has been added/removed.

(deftemplate C (multislot m))
(deffacts facts
    (C (m a b c))
)

For the addition of values I could figure out
a rule that does what I want, but its unclear
to me how this could be achieved for the removal
of values. (The addition rule simply uses a pattern
(? ?fact ?) in order to generate bindings for
each element of the multislot.)

Any ideas how this could be achieved?

Kind regards,
Lars

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

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