In my JessListener I looked at all of the facts from the Token gotten from the
Activation. I see all the facts matched in the patterns, but I want access to
the fact asserted in the action clause.
So if my rule is:
(defrule SIRS
?ab <- (logical (AbnormalTemperature))
?ev
Thanks, that works.
Dwight
On 8/4/2011 8:01 AM, Wolfgang Laun wrote:
You can listen for JessEvent.DEFRULE_FIRED events. Any successive
JessEvent.FACT events (up to certain other events) are assert results
executed on the RHS of that rule.
-W
---
In my JessListener I want to set a slot value on the fact that I get on a Fact
Event. I tried Rete.modify to modify the fact but got an exception that the
fact was not in active memory. So figuring that the fact had not yet been added
to the system I tried calling setSlotValue on the fact but th
I am trying to reason about the passage of time in my rules. I would like to
write the following rule:
(defrule Test
?r <- (logical (CurrentTime))
(logical (Condition (time ?time&:(> (+ ?time 5) ?r.t
=>
(assert (Condi
Wolfgang Laun
Sent: Tuesday, June 26, 2012 9:59 PM
To: jess-users@sandia.gov
Subject: Re: JESS: [EXTERNAL] Jess asserts fact that is not true
On 26/06/2012, Dwight Hare wrote:
> I am trying to reason about the passage of time in my rules. I would
> like to write the following
During a run I started getting the error
Jess reported an error in routine NodeNot2.tokenMatchesRight
while executing rule LHS (Node2)
while executing rule LHS (TECT).
Message: Corrupted Negcnt (< 0) .
Any idea what this means?
Dwight
I think any bugs that trigger this assert were
found and fixed long ago.
From: owner-jess-us...@sandia.gov<mailto:owner-jess-us...@sandia.gov>
[mailto:owner-jess-us...@sandia.gov] On Behalf Of Dwight Hare
Sent: Wednesday, May 29, 2013 5:05 PM
To: jess-users
Subject: JESS: [EXTERNAL] Co