See the docs on setKieBase() (optaplanner 6+) or setRuleBase(optaplanner
5.5 or lower)
On 07-08-13 05:54, meganwoods wrote:
Hi,
Is it possible to load drl files from the filesystem without them being on
the classpath.
I can create an XML solver factory using a stream from the constructor
Anyone knows?
Von: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] Im Auftrag von Kai Ruddies
Gesendet: Donnerstag, 25. Juli 2013 15:39
An: rules-users@lists.jboss.org
Betreff: [rules-users] Timer and AgendaFilter
Hi,
I have a rule with a timer and call
Hi all,
In my project I have 20,000 rules to reason with 20,000 facts. The rules are
embedded in facts. Therefore for each rule , there is one fact object which
that rule belongs to. I'm using following condition to find this matching
object.
rule Book Rule 1 - 187970786749253
no-loop true
when
On 07/08/2013, Kai Ruddies krudd...@proveo.com wrote:
Anyone knows?
I don't think so, not even the Drools Team themselves - otherwise they
most certainly would have documented it ;-)
There's no reason I can see that a rule with a timer should not be
subject to the filter set with fireAlRules().
Hello,
Please can the community help me.
I am attaching a WorkingMemoryListener to a session. In my DRL file, I have
a number of declared types for which I want to watch when the process is
running. How can I implement a toString() method in the DRL file for a
declared type? I have detailed the
Thanks for responding!
It's not about repeated firing. I have a rule with a timer with only an initial
delay. When the rule fires I see the ScheduledActivation
(DebugAgendaEventListener) but my filter isn't invoked. That's why I thought
ScheduledActivations aren't handled in the same way as
On 07/08/2013, viraj mayuravi...@gmail.com wrote:
Hi all,
In my project I have 20,000 rules to reason with 20,000 facts. The rules
are
embedded in facts. Therefore for each rule , there is one fact object which
that rule belongs to. I'm using following condition to find this matching
On 07/08/2013, Kai Ruddies krudd...@proveo.com wrote:
Thanks for responding!
It's not about repeated firing. I have a rule with a timer with only an
initial delay. When the rule fires I see the ScheduledActivation
(DebugAgendaEventListener) but my filter isn't invoked.
OK. In this case a
On 07/08/2013, droolster quant.co...@gmail.com wrote:
Hello,
Please can the community help me.
I am attaching a WorkingMemoryListener to a session. In my DRL file, I have
a number of declared types for which I want to watch when the process is
running. How can I implement a toString()
Hi,
I haven't put Foo in my Java code as it is a transient type which I need to
the rule processing and not really part of my ontology model. Anything which
isn't part of ontology model but which I need to do the rule processing, I
put those types in my DRL file.
I'll explain what I am trying to
Add commons beanutils to your project:
dependency
groupIdcommons-beanutils/groupId
artifactIdcommons-beanutils/artifactId
version1.8.3/version
/dependency
Then all you need is a class with a
On 07/08/2013, droolster quant.co...@gmail.com wrote:
Hi,
I haven't put Foo in my Java code as it is a transient type which I need to
the rule processing and not really part of my ontology model. Anything
which
isn't part of ontology model but which I need to do the rule processing, I
put
I just noticed your explanation of what you're trying to do. You might find
these handy:
https://github.com/gratiartis/scattercode-drools-scenarios/blob/master/src/main/java/uk/co/scattercode/beans/BeanMatcher.java
Nice, but is the result better than the default toString() that's
doing much the same thing?
-W
On 07/08/2013, Stephen Masters stephen.mast...@me.com wrote:
Add commons beanutils to your project:
dependency
groupIdcommons-beanutils/groupId
I did some research on rete tree. I think what i really needs is to remove
each node from tree after evaluation ( Ex: When one book is processed that
and all the subsequent parts of that tree should be removed ). I tried this
using retract modifier. But this takes more time than previous
On 07/08/2013, viraj mayuravi...@gmail.com wrote:
I did some research on rete tree. I think what i really needs is to remove
each node from tree after evaluation ( Ex: When one book is processed that
and all the subsequent parts of that tree should be removed ). I tried this
using retract
It's very similar to what Drools provides by default for declared types.
However, it provides the same result for POJO facts and declared types. And it
works for Java classes which don't have a toString() method. I also have a
slightly tweaked version somewhere which outputs based on property
According to my requirement I have to keep rule for each book separately.
That's the weirdest thing I ever heard. What's the point?
It sounds to me like one of the following:
A poor requirement from someone who doesn't understand the technology.
An overly literal interpretation of a
Thanks for the help. This was a my project ( first one which use Drools ). I
changed the design to remove rules for each book and removed book from
facts. Now the system only reason with necessary facts. This performs
better. Sorry to waste your time. But i learned lots from here.
--
View this
Only a few minutes of our time spent responding I suspect. I was more concerned
that you could easily spend days developing an inappropriate solution which
would need to be re-written. :)
As a rule, when asking questions here, it's far better to explain the problem
you're trying to solve.
I'll be giving a JBoss BRMS 6.0 talk in Dublin this month, it's free, so
please help spread the word ;)
http://marketing.interactiveideas.com/acton/fs/blocks/showLandingPage/a/824/p/p-0169/t/page/fm/0
---
JBoss® BRMS Technical Workshop
In this FREE Technical Workshop on Wednesday 28th August at
updated url:
http://tinyurl.com/mfralbu
Mark
On 7 Aug 2013, at 15:39, Mark Proctor mproc...@codehaus.org wrote:
I'll be giving a JBoss BRMS 6.0 talk in Dublin this month, it's free, so
please help spread the word ;)
The agendaFilter is passed to the fireAllRules method, and applied in the outer
loop of that:
if ( filter == null || filter.accept( item ) ) {
// fire it
fireActivation( item);
localFireCount++;
}
The timer is called async, so it has no agendaFilter in scope, and it calls
Hello,
same problem here. Same as others I belive it has to do with dynamic rule
changes. In Spring I have:
drools:resource-change-scanner id=scanInterval interval=600
enabled=true/
drools:kbase id=kbase
drools:configuration
Gentlemen,
the development team is releasing 6CR2, immediately after that 5.6Final will
be released as well.
To get this bug fixed, we do need a way to reproduce it.
Any hint about the structure of the rule base and its updates would be
**really** appreciated
Thanks
Davide
--
View this message
I understand that, but as far as I can say, it is not in the rules or facts.
I have restarted our solution, used same rules and fed them with same facts.
This time everything went without errors.
Could you please give us hint what BetaMemory and AlphaNode and under which
circumstances the one is
AlphaNode is for literal constraints, BetaNodes for joins (i.e. involves
variables).
Mark
On 7 Aug 2013, at 19:47, AlesD ales.dole...@nextiraone.eu wrote:
I understand that, but as far as I can say, it is not in the rules or facts.
I have restarted our solution, used same rules and fed them
Looking at org.drools.common.ConcurrentNodeMemories: What happens if the
rulebase is changed during invocation of resize?
If I understand it well then every node in the rulebase has slot in this
class? Can number of nodes in rulebase change while the copying for-cycle is
running? Can in such case
The exception seems related to Drools more than to the PMML compilation
itself.
Could you try checking out the latest snapshot of drools-pmml and Drools
5.6-SNAPSHOT?
Both have had major improvements and your bug might already be fixed
Thanks
Davide
--
View this message in context:
29 matches
Mail list logo