Hi there everybody,
I need to perform rule comparison on a project I'm working on using drools
expert 5.0. For a specific feature implementation, I have two different
knowledge bases with several rules which I need to compare, one by one. By
comparing, I mean inspect certain conditions within the
:
rules-users-boun...@lists.jboss.org] *On Behalf Of *miguel machado
*Sent:* 26 August 2011 13:01
*To:* Rules Users List
*Subject:* Re: [rules-users] Rule one-by-one comparison
** **
Esteban,
** **
Thank you very much for that. I will look into it.
Any other ideas, anyone
Hi all,
I just recently noticed that drools 5.1 is out and i'd like to congratulate
the jboss team for this great milestone achievement. I've also noticed that
there is separate documentation for this version on
http://jboss.org/drools/documentation.html but i haven't been able to find
the major
thanks a lot, i'll look into it!
_ miguel
2010/8/5 Mark Proctor mproc...@codehaus.org
On 05/08/2010 10:44, miguel machado wrote:
Hi all,
I just recently noticed that drools 5.1 is out and i'd like to
congratulate the jboss team for this great milestone achievement. I've also
noticed
group in the XML? There aren't much
checks being done in XML handling, so it's easy to slip up. Here's how
I interpret the XML schema:
rule name=myrule
rule-attribute name=agenda-group value=group42/
...
-W
2010/5/5 miguel machado mls.mach...@gmail.com:
Hi,
Yeah, i think
there is the 'extends' feature.. i guess that's what you're looking for.
rule xyz
...
end
rule abc extends xyz...
...
end
it's been recently talked about in this forum.
_ miguel
On Tue, May 4, 2010 at 10:46 AM, djb dbrownel...@hotmail.com wrote:
Hi all,
I know there are some basic ways
You can also write your rules in DRL which is much, much easier (especially
in eclipse) and then convert it to XML, like this:
public static synchronized String convertDrlToXmlRule(String drlRule)
throws DroolsParserException {
DrlParser parser = new DrlParser();
PackageDescr descr =
Olá Antonio,
// retract all of it just in case
for (Object fact : ksession.getFactHandles()) {
ksession.retract((FactHandle) fact);
}
Hope this helps.
_ miguel
2010/5/5 Antonio Neto antoniosouzan...@gmail.com
Hi,
Thank you very much for all replies.
I've tried also with not (
Hi there,
er.. why don't you remove your eval and just evaluate in the object
binding?
$var = TypeOfObject( netRepaymentAmountAbilityIncludingLiabilities = 0.65)
Other than that, i don't think a lotta people are still using drools4 and i
have no idea why that is happening. Apparently, it makes
This is not entirely true: you may have different objects in memory in such
a way that both fires rule. In this case, if you had two (or more!)
AccountHolders for the same Employment, each of those having different
BusinessName's associated, both rules (with and without the 'not') would
fire.
: this
is implementedby StatefulKnowledgeImpl
at org.drools.reteoo.ReteooWorkingMemory.getFactHandles
(ReteooWorkingMemory.java:363)
...
...
Any idea?
Obrigado
Antonio
2010/5/6 miguel machado mls.mach...@gmail.com
Olá Antonio,
// retract all of it just in case
Other than the examples shown in the docs, i don't think i can help. I'll
have to ask someone familiar with drools AND smooks.
_ miguel
On Wed, May 5, 2010 at 9:50 AM, JNaylies jerome.nayl...@sogeti.com wrote:
no one could help me?
maybe something is not clear. Please tell me what ;)
:
rules-users-boun...@lists.jboss.org] *On Behalf Of *miguel machado
*Sent:* Thursday, May 06, 2010 4:19 AM
*To:* Rules Users List
*Subject:* Re: [rules-users] Bug in not ???
This is not entirely true: you may have different objects in memory in such
a way that both fires rule. In this case
I think you need to use modify for that to happen. Otherwise, it doesn't
get re-evaluated. Or maybe it did, but you're using the no-loop /
lock-on-active attributes.
_ miguel
On Thu, May 6, 2010 at 3:51 PM, Shai Bentin s...@centimia.com wrote:
It seems that drools did not re evaluate the
don't have to be afraid of the focus stack growing indefinitely:You
control
the push (setFocus()), and if an agenda group's activations are all
gone, the
group is automatically popped from the stack.
-W
2010/5/4 Miguel Machado mls.mach...@gmail.com:
Hi there,
I'm having some
@puneet it may be a good ideia memory wise. I'm doing it right now, in order
to compile rules just once.
_ miguel
2010/5/5 Puneet duggal duggalpu...@gmail.com
@ Nikhil,
I am not sure weather it a good practice to seralize a package and store it
, i am new to it and i am storing the drl
Hi,
Yeah, i think this might be a bug indeed. I just tried converting to DRL
using the dumper and the agenda-group item doesn't show up in the
generated DRL file. It is possible that that this tag isn't being
interpreted for the same reason it isn't being converted into the DRL
format. Can
Hi there,
I'm having some trouble implementing the desired workflow of rule firing in an
application using drools expert. I've read the thread about the difference
between ruleflow groups and agenda groups, but it is still unclear to me how to
achieve what i need.
What i intend to have is the
Exactly! That's precisely why i'm trying to find a workaround. I have no way
to activate a specific set of rules except for stacking up activations using
agenda-groups.
Any other suggestions?
Thank you.
2010/5/4 Mauricio Salatino sala...@gmail.com
if you use the new api's (5.x
2010/4/3 miguel machado mls.mach...@gmail.com
hi there,
So like i said, by pre-compiling the rules and loading them in the main
system i was able to reduce a lot memory usage and i can get better results.
However, now i've come across a different problem. I just added a fre more
dozens of rules
I'm having this problem as well. I can live with the System.err messages,
but i could use the XSD for configuration validation. Is there a way of
obtaining this file?
thanks in advance,
_ miguel
2010/4/13 Chang Liu c...@deltadentalmi.com
Hi there,
Error message:
(null: 5, 77):
i don't think there is a limit to the number of rules you can declare, it's
just a matter of how long you're willing to wait for drools to compile it
and then to interpret when firing them.
_ miguel
2010/4/13 Bertrand Grottier b_grott...@hotmail.com
Hello,
What is the number of rules that
He means the latest of the latest version, released last week or so. Not the
one you're using, apparently.
2010/4/9 Bertrand Grottier b_grott...@hotmail.com
--
Date: Thu, 8 Apr 2010 08:56:35 -0700
From: greg_bar...@yahoo.com
To: rules-users@lists.jboss.org
Thanks a lot for clearing that up, i was about to ask the exact same
question. I don't think the documentation is 100% accurate on this
particular subject.
_ miguel
2010/4/6 Mauricio Salatino sala...@gmail.com
they both work in a different way.
agenda-groups works like a stack, when you put
have you read the documentation? I haven't tried declaring rules through XLS
but i remember reading about it in the docs so I'd say it's possible.
_ miguel
On Fri, Apr 2, 2010 at 10:50 AM, Deepak__A deepak.anges...@jpmchase.comwrote:
t possible to have conditional operators like OR AND
I've done exactly that using project references and keeping the imports on
the rop of the rules. There are plenty of 'import' examples in the docs.
_ miguel
2010/4/2 Shailesh Hedaoo shaileshhed...@hotmail.com
i have the JAR in classpath. i also added the java domain project in
the project
:12 PM, miguel machado mls.mach...@gmail.comwrote:
hi again,
2010/4/1 Edson Tirelli ed.tire...@gmail.com
Hmm, let me complement Wolfgang's comment:
After you have taken the compiled packages from the KB and checked for
errors, the KB has done his duty the KB MUST go :-)
I
, and then using Memory
Analyzer to analyse the dump.
Cheers
Jevon
On Wed, Mar 31, 2010 at 2:44 AM, Miguel Machado mls.mach...@gmail.comwrote:
hi all,
I'm quite new to the drools rule engine and i've been using it for a
project where i need to filter events and execute actions accordingly
hi again,
2010/4/1 Edson Tirelli ed.tire...@gmail.com
Hmm, let me complement Wolfgang's comment:
After you have taken the compiled packages from the KB and checked for
errors, the KB has done his duty the KB MUST go :-)
I agree! But i don't exactly know how to do so... i mean,
, there ought to be - and guestimates w.r,t, their relative
frequencies?
-W
On 3/30/10, miguel machado mls.mach...@gmail.com wrote:
hi again,
On 30 Mar 2010, at 18:32, Edson Tirelli ed.tire...@gmail.com wrote:
I am not sure I understand what you are doing when you say:
Every X seconds I
whether Drools would accept that instead.) But calculating the raw cost as
(46 chars*2 bytes/char+20 bytes)*10 times * 700 rule triples only accounts
for 0.8MB, so this alone isn't the culprit.
-W
2010/3/31 Miguel Machado mls.mach...@gmail.com
Hi, thanks for answering so quickly.
My
Hi there,
First of all, thank you for your detailed and quick response. Next...
2010/3/31 Edson Tirelli ed.tire...@gmail.com
Miguel,
First we need to understand where is this memory spent. Drools
externalizes the actual rule compilation to a java compiler (JDT or Janino)
and I
hi again,
On 30 Mar 2010, at 18:32, Edson Tirelli ed.tire...@gmail.com wrote:
I am not sure I understand what you are doing when you say:
Every X seconds I collect the available facts and call fireAllRules() +
dispose(), **always within the same session**.
(emphasis is mine)
i meant that i
33 matches
Mail list logo