Hi all,

I'm a newbie to Jess. I'm playing around on it now. I have a question
to ask your guys.

The following Prolog rules will identify direct or indirect inheritance:
ancestor (X, Y) :- inheritsFrom (Y, X).
ancestor (X, Y) :- inheritsFrom (Z, X), ancestor (Z, Y).

I want to do the exact same thing in Jess, but I don't know how to do
it. For my understanding, first, Jess rule dosen't support parameter
in its rule definition, seceond ancestor rule wokrs in recursive
manner, from jess manual, i didn't find recursive support, would you
please help me through it.

Thank you in advance,

Fan

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