Title: Bload and BSave
Hello,
I had a quick question.
Does bsave save the facts that are in the working memory?
If not, is there anyway of doing this?
Thanks
Chirag
NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or
Title: Jess: Bload BSave
Sorry, please ignore my last email.
There is a separate command for saving and loading facts.
NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Title: Multislot problem
Hello,
I am having a slight problem which is really really bugging me:
I have this rule:
(defrule bondMVMaxPCOutstanding::calcifnc
(declare (auto-focus TRUE))
(rulesfired (rules bondMVMaxPCOutstanding))
?b - (grouped-facts (partitionname cusip)
Hello,
I have tried it with $?fc with no luck. I have
eventually figured out that if I don't use ?fact but in its place (MAIN::findwherecontains productType
CVBND ?fc) it works fine but I do not know
why!
Chirag
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lars
Title: Multislot with single value
Hello,
I'm having a slight problem. I have this template:
(deftemplate grouped-facts
facts that have been grouped
(slot partitionname)
(slot partitionvalue)
(slot summationvalue)
(multislot factcollection))
Where factcollection is a collection of
Title: MultiSlots
Hi,
I have something I wish to do and I was wondering if it would be better to do it in Java or Jess. My app is a java application with Jess as a library.
If I have a set of facts:
Fact no Slotname. Value
1. A. a B. b C.c D.d
2. A. a B. e C.f D.g
3. A. h
Title: Dynamcially alloclated slot name
Also one more question,
Sorry about this.
Is there anyway of dynamically allocating a slot name?
E.g
(defrule findfacts (?columnname ?value)
?b - (Positions (?columnname ?value))
(but this doesn't work)
Thanks
Chirag
NOTICE: If
Hello,
I am trying to dynamically create a template according to the metadata
from a database query.
while (iterparm.hasNext()) {
parmdata = (Element) iterparm.next();
System.out.println(in);
while (itermeta.hasNext()) {
Hi,
I have a set of rules that activate certain facts. I also have this
other rule, which if satisfied, I do not want the previous rules fired,
even though they may have activation records.
How would I do this? This super rule may carry on and place further
activation records on the agenda, but
Hello,
I have a few more
questions. Hopefully, these aren't as simple as my previous
ones.
Firstly, is there a
simple way of checking how many facts have a particular slot
value??
Also, I need to
check whether a particular slot value, of any already activated fact, is less
than the
Sorry, got one answer,
count-query-results!
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mehta, Chirag
(IT)Sent: 04 August 2004 13:39To:
[EMAIL PROTECTED]Subject: JESS: Questions
Hello,
I have a few more
questions. Hopefully, these aren't as simple as my previous
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: 04 August 2004 15:13
To: [EMAIL PROTECTED]
Subject: Re: JESS: Questions
I think Mehta, Chirag (IT) wrote:
Hello,
I have a few more questions. Hopefully, these aren't as simple
Also,
If ?q is a negative number, how do I change it so its positive? i.e |?q|
Chirag
-Original Message-
From: Mehta, Chirag (IT)
Sent: 03 August 2004 11:01
To: '[EMAIL PROTECTED]'
Subject: JESS: Newbie questions
I have another silly beginner question:
This is my code:
(defrule
I have another silly beginner question:
This is my code:
(defrule equityHedgeMaxLiquidity::calcifnc
(declare (auto-focus TRUE))
(productType EQTY)
?b - (Positions (quantity ?q)
(cusip ?c)
(median_22_day_volume ?m)
Hi
all,
I am a newbie to jess
and have written this code:
(defrule calcifnc
(bondMVMax (cusip ?c))
(bondMVMax (mv ?mv))
(bondMVMax (issue_outstanding
?io~nil))
5. (bind ?noncomp (/ ?mv ?io))
(test ( ?noncomp 10))
=
(printout t ?c " is Non Complaint nc = " ?noncomp
crlf)
)
At line 5, it
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: 02 August 2004 15:31
To: [EMAIL PROTECTED]
Subject: Re: JESS: Newbie questions
I think Mehta, Chirag (IT) wrote:
I cannot seem to figure out what is wrong!
The things on the left-hand-side
PROTECTED]
Sent: 02 August 2004 15:31
To: [EMAIL PROTECTED]
Subject: Re: JESS: Newbie questions
I think Mehta, Chirag (IT) wrote:
I cannot seem to figure out what is wrong!
The things on the left-hand-side of a rule are always conditional
elements (patterns or groups of patterns), not function
17 matches
Mail list logo