Hello everybody,
Is it possible to activate a rule if only all facts of a given deftemplate
match with it ?
I mean suppose that I have deftemplate :
(deftemplate my-template (slot my-slot))
(reset)
(assert (my-template (my-slot TRUE)))
(assert (my-template (my-slot TRUE)))
(assert
Ok sorry everybody for my last question, just another RTFM. The (not) CE is
exactly what I want.
(defrule my-rule
(not (my-template (my-slot FALSE)))
=
(printout t All my-slot are TRUE ! crlf)
)
_
Windows Live Hotmail est la
Hi,
I'm new to the Jess language and have some questions.
1. I work with Java object. I stored them in Jess with store and
assert/fetch commands.
But I could not call there member in the lhs of my rule. No function calls
allowed, right? So, for every object I made a rule to insert a Jess
Hi,
I am wondering if anyone is experience problems with salience using Jess
7. Since moving to Jess 7, I have noticed recently a strange occurrence
where a rule with a higher salience is activated but is not fired. Then
a rule with a lower salience is fired. Here is a notional example:
There
Is it correct that it isn't possible to bind the entire value of a
multislot to a variable *and* use some list pattern to restrict the
facts at the same time? Consider:
(deftemplate AE (multislot ae))
(deffacts facts
(AE (ae a b c d e))
(AE (ae b c d e a))
(AE (ae e d c b a))
)
Hi Brian,
If you can send me a self-contained example that reproduces the
problem you're seeing, we'd be happy to take a look at it, and if it
represents a bug, happy to fix it for the next release.
On Aug 14, 2007, at 4:02 PM, Brian Rogosky wrote:
Hi,
I am wondering if anyone is
On Aug 14, 2007, at 5:20 AM, Noël Huebers wrote:
Hi,
I'm new to the Jess language and have some questions.
1. I work with Java object. I stored them in Jess with store and
assert/fetch commands.
But I could not call there member in the lhs of my rule. No
function calls allowed, right?