Hi,
we are examining the use of backward chaining with Jess and have come across a
few point that we'd like to clarify.
Specifically, it seems that function calls are not possible in a rules LHS,
such as
(deftemplate Bunny)
(do-backward-chainning Bunny)
(defrule print-carrot-cout2
?app <- (Bunny (weight 11) {carrots > 15})
=>
(printout t "The carrot count is " ?app.carrots crlf)
)
Here, the ">" causes a problem.
So, at least in regards to operators, it seems that ==, !=, && are possible,
whereas ||, <>, <=, >= don't work.
Are we doing something drastically wrong, or is that a real restriction of
Jess' backward chaining capabilities?
Thanks for any input,
Joerg Henschel
--------------------------------------------------------------------
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].
--------------------------------------------------------------------