Hi,
I have made significant progress in my task, thanks
for the help, I really appreciate it.
I might not have the most efficient coding, but things
are working as expected now.
One might come up with the answer I asked, but I think
he has to read all the article carefully in JIA and
online
Hi,
I am back, I tried out the store/fetch. BUT, it return
me only the latest fired facts. Why? I need both (any)
facts which is fired. Is like the variable
(fact-in-java) is overwritten. How can I get the
activated facts out, I mean all the fired facts?
Please advice.
I think calvin pevee wrote:
Hi,
I am back, I tried out the store/fetch. BUT, it return
me only the latest fired facts. Why? I need both (any)
facts which is fired. Is like the variable
(fact-in-java) is overwritten. How can I get the
activated facts out, I mean all the fired facts?
I think that Calvin Pevee wrote:
I tried out the store/fetch. BUT, it return me only the latest fired
facts.
Hi Calvin,
Ernest cut to the heart of the matter already, but in your code below, note
that every time the rule fires, the value of the stored variable
fact-in-java gets replaced,
Hi,
Thank you for the advice, I am able to print the
activated facts out.
I have this one last question. How can I get the
activated facts out into Java variable? I need to show
the activated facts to user, the result or asserting a
query to knowledge.
Do I need to grab by attribs=* using
I think Calvin Pevee wrote:
How can I get the activated facts out into Java variable?
Ernest's pet FAQ! See JIA pp. 308-309 sec 18.1.2. It talks about the
Rete.store/fetch mechanism. You also want to look at
http://herzberg.ca.sandia.gov/jess/docs/61/library.html#xfer 4.4.4.
Transferring
I think calvin pevee wrote:
r.executeCommand((defrule show-adv-attributes +
//?fact - (adv-attributes (id ?id)
...
Java throws me this exception:-
Jess reported an error in routine Jesp.parseDefrule.
Message: Expected '=' .
Program text: ( defrule
| Gouvernement du Canada
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of calvin pevee
Sent: Tuesday, August 10, 2004 2:15 AM
To: [EMAIL PROTECTED]
Subject: Re: AW: JESS: How to match Pattern in Facts
Hi,
Need help here. I do not know how to get