hello everyone
actually I'm working with stateless session, I know we can pass a list of
objects in the session but I do not know how to pass objects of different
types, I do not even know if that's possible.
I will be grateful :)
-
Youssef AZBAKH.
--
View this message in context:
Hi laune !
Sorry to be late, Actually, all of these objects are needed in the WM.
Concerning the idea of clearing and reinserting objects, I think that it
will take a lot of time and that what I want to avoid :(
thanks a lot :)
-
Youssef AZBAKH.
--
View this message in context:
Hi,
I want to know if stateless session works with Drools Fusion(sliding
windows) ??
thanks
-
Youssef AZBAKH.
--
View this message in context:
http://drools.46999.n3.nabble.com/Fusion-with-stateless-session-tp3881399p3881399.html
Sent from the Drools: User forum mailing list archive at
Hi everyone,
In one of my tests, I inserted 100 objects into the working memory,
drools engine made a lot of time to execute the program and it throws
Exception : java.lang.OutOfMemoryError !!
Please if someone could help me to improve drools performance and specially
reduce the drools
Hi,
Actually I m working on banking fraud monitoring project, and there are a
very lot of objects (transactions, account, authorizations ...etc) and some
rules ( 50 rules).
In the test i inserted 100 of this object
*
private Integer chdCode;
private int chdCardNumb;
private
Hi guys,
I want to see what is going in my drools application so, I declared a logger
file, by importing it in audit view some details But the agenda view is
always inactivated,
Can you help me please!
youssef.
-
Youssef AZBAKH.
--
View this message in context:
Hi guys,
I want to see what is going in my drools application so, I declared a logger
file, By importing it in audit view some details are shown But the agenda
view and the working memory are always inactivated,
Can you help me please!
youssef.
-
Youssef AZBAKH.
--
View this message
Hello everybody
I don't know why the Multi-function Accumulates doesn't work,
I m just copying the code given in he documentation
rule Max, min and average
when
accumulate( Cheese( $price : price ),
$max : max( $price ),
$min : min( $price
Hi,
the problem is eclipse give some errors like:
[ERR 102] Line 156:8 mismatched input 'ACCUMULATE' expecting 'then' in
rule Max, min and average Regle1.drl
$price cannot be resolved to a variable
...etc
Even the results are correctly shown
-
Youssef AZBAKH.
--
View this message in
Ok it will be done soon :)
-
Youssef AZBAKH.
--
View this message in context:
http://drools.46999.n3.nabble.com/Multi-function-Accumulates-tp3867251p3867846.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users
Hi Edson,
If I really understood, In the first case, the windows *are moving in time*
so all events found are activated, and are not retracted from the agenda
even after their duration.
so that:
*$a : Event1() over window:time(2s)*
firs all events.
In the second case (with accumulate/collect
Hi Edson,
If I really understood, In the first case, the windows are moving in time so
all events found are activated, and are not retracted from the agenda even
after their expiration.
so that:
$a : Event1() over window:time(2s)
fires all events.
In the second case (with
Hi guys,
While trying to understand how slinding window work, I realize that all
exemples are given with accumulate or collect functions , I din't know
why ??
*$a : List() from collect(Event1() over window:time(2s) from entry-point
point) *
// work
Bur why
*$a : Event1() over
Hi guys,
While trying to understand how slinding window work, I realize that all
exemples are given with accumulate or collect functions , I din't know
why ??
$a : List() from collect(Event1() over window:time(2s) from entry-point
point)
// work
Bur why
$a : Event1() over
Hello,
It's clair that to work with thae events we have to put our base
configuration into STREAM mode like this:
*/KnowledgeBaseConfiguration config =
KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
config.setOption( EventProcessingOption.STREAM );/*
But in my code bellow I didn't use
Hello,
It's clair that to work with thae events we have to put our base
configuration into STREAM mode like this:
*/KnowledgeBaseConfiguration config =
KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
config.setOption( EventProcessingOption.STREAM );/*
But in an exemple, I didn't use
Hi salaboy ,
Thank for your reply,
from the docs:
*/This mode does not impose any kind of additional requirements on facts. So
for instance:
There is no notion of time. No requirements clock synchronization.
There is no requirement on event ordering. The engine looks at the events as
an
:
If you are not using sliding windows and you are not expecting a retraction
of your not relevant events, it will work.
Cheers
On Mon, Feb 27, 2012 at 12:06 PM, Wolfgang Laun [hidden email] wrote:
All events have a timestamp.
-W
On 27/02/2012, Hassan [hidden email] wrote:
Hi salaboy
I wanna just rectify
Event1 ev1=new Event1((long)1000,(long)2000); // occur in 1s and finishes
in 2s
Event1 ev2=new Event1((long)3000,(long)4000); // occur in 3s and finishes
in 4s
thanks :)
--
View this message in context:
when I was testing the sliding windows, I was blocked becouse this concept
doesn't work for me, It's becouse of my misunderstanding of the concept, I
looking for the error which I do:
for exemple:
== the rule:
*/
rule sliding windows
when
$a : Event1() over
Hello !
My problem is that the 2 methods getStartTimestamp() and getEndTimestamp()
give me the same value
I don't know why (the duration of any event is 0 !!)
Thank you very much :)
--
View this message in context:
Thank you very much !!
yess you are right, becouse my declaration of the event didn't montionne the
duration attribute so my event is a point in time event.
if we add @duration(attr3) and the attr3 takes a value 0 so the 2methodes
won't give the same value.
Thank you again :)
--
View this
Hi ,
First of all thank you very much for responding me,
Yes you're rights getEndTimestamp() == getStartTimestamp()+duration.
I thought that the when we give the attribute to timestamp, tha value of the
attribute will be token from the session clock.
BUT the real senario is that the
23 matches
Mail list logo