ivation count wise.
Thomas
> -Original Message-
> From: rules-users-boun...@lists.jboss.org [mailto:rules-users-
> boun...@lists.jboss.org] On Behalf Of Ryan Fitzgerald
> Sent: 28 April 2010 09:46
> To: Rules Users List
> Subject: Re: [rules-users] How to make this rule more m
, 2010 at 10:45 AM, Ryan Fitzgerald
wrote:
> Thanks Wolfgang.
>
> Should I conclude therefore that high memory usage is unavoidable due to the
> number of facts that must be processed? I was hoping that there might be a
> clever way of writing the rules so that the rules engi
cell2 : Cell(this != $cell1)
>
>
>
> Thomas
>
>
>
> From: rules-users-boun...@lists.jboss.org
> [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Ryan
> Fitzgerald
> Sent: 26 April 2010 15:34
> To: rules-users@lists.jboss.org
> Subject: [rules-users]
] How to make this rule more memory efficient?
You should probably restrict it so that
$cell2 : Cell(this != $cell1)
Thomas
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Ryan Fitzgerald
Sent: 26 April 2010 15:34
To: rules-users@lists.jboss.org
Hi,
Can anyone advise me on how to make a drools rule more memory efficient? Here
is the problem:
I have a Cell and a ProxyCell object classes.
The ProxyCell represents the Cell when their internal ID's match.
Each Cell and ProxyCell however has a unique name (not same as ID).
A Cell can refe
glance, I'd use parens after not and at the end:
not ( GsmCell( lac==$extgsmcell.lac, cellid==$extgsmcell.cellid)
from $extutrancell.getIncomingGsmCells($extutrancell.fdn) )
-W
2010/4/26 Ryan Fitzgerald :
> Hi,
>
> I get an error with the following rule that appears only when I
Hi,
I get an error with the following rule that appears only when I use the not
keyword. If I remove the not keyword, it seems ok:
rule "WCDMA->GSM Bidirectional Relations Evaluation Rule - Version 4"
salience 10
dialect "java"
when
$extgsmcell : ExternalGsmCell()
I found the problem - noobie mistake!
As you suggested there was another rule which was being triggered by the insert
and there was a bug in that rule. I was focusing on the insert because this is
where the stack-trace was indicating I look.
Thanks Thomas!
/Ryan.
_
ules-users-boun...@lists.jboss.org] On Behalf Of Ryan Fitzgerald
Sent: 19 March 2010 10:40
To: rules-users@lists.jboss.org
Subject: Re: [rules-users] Exception during insert
**Apologies if this post starts a new thread**
Hi Thomas,
I get a series of com.sample.UtranCell strings printed expected.
So the ar
.
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Ryan Fitzgerald
Sent: 19 March 2010 09:41
To: rules-users@lists.jboss.org
Subject: [rules-users] Exception during insert
Hi,
I get the following exception when trying to insert an object from within
Hi,
I get the following exception when trying to insert an object from within a
rule consequence:
[Error: object is not an instance of declaring class]
The rule is as follows:
rule "Utran Cell Selection Rule"
salience 50
dialect "java"
when
then
UtranCell[] ucel
Hi,
In our application, we want to process a large amount of facts. However, to
avoid an overload on memory and drools, we would like to process the facts in
batches.
Our rules are setup so that we only insert a small number of initial or "root"
facts, and then these facts trigger rules to fir
12 matches
Mail list logo