I was wondering now if I can achieve the same with the drools rule file.
That's a bit harder, but not that hard.
Look in the Drools Planner manual for setRuleBase() (as an alternative
to using scoreDrl's in your SolverConfig.xml)
and look in the Drools Expert manual on how to create a
A corrupted score normally indicates a problem with the Move
implementation (or sometimes the score drl).
Basically this happened: for a number of moves, it did the move,
calculated the score and undo the move.
One of those move was associated with a score -10hard/0soft, that was
the best
Probably you forgot to notify the workingMemory.update in the doMove method:
public void doMove(WorkingMemory workingMemory) {
FactHandle factHandle = workingMemory.getFactHandle(activity);
activity.setAssignee(...);
workingMemory.update(factHandle, activity);
}
Do you want a new Jira issue raised for this?
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Swindells, Thomas
Sent: 12 October 2011 11:09
To: Rules Users List (rules-users@lists.jboss.org)
Subject: [rules-users] Regession in 5.3.0-CR1: .drl
Open for comment.
-- Forwarded message --
From: ayon.chakrabo...@genworth.com
Date: 14 October 2011 12:43
Subject: Ocassional Refresh of Knowledgeagent (Only If There is any Change)
Hi Michael,
I am using ResourceChangeScannerService to scan the resources in our
application. But
But wouldn't the KnowledgeAgent be created as part of an application, by
application code. Why should it ever be recreated, changes in the knowledge
base or no changes?
-W
2011/10/14 Michael Anstis michael.ans...@gmail.com
Open for comment.
-- Forwarded message --
From:
2011/10/14 Geoffrey De Smet ge0ffrey.s...@gmail.com
**
Probably you forgot to notify the workingMemory.update in the doMove
method:
public void doMove(WorkingMemory workingMemory) {
FactHandle factHandle = workingMemory.getFactHandle(activity);
Wolfgang is correct. Just an additional distinction that is important:
expiring an event is different then retracting an event/fact. Imagine that
there was a computer with infinite processing power and infinite memory. In
that case, we would never need to expire any events, we would just keep
Any day now- a couple of days ago they said the end of this week.
Thomas
-Original Message-
From: rules-users-boun...@lists.jboss.org [mailto:rules-users-
boun...@lists.jboss.org] On Behalf Of itchupe
Sent: 14 October 2011 14:59
To: rules-users@lists.jboss.org
Subject:
Did you mean that you are getting a new KnowledgeBase from the agent?
Best Regards,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
2011/10/14 Wolfgang Laun wolfgang.l...@gmail.com
But wouldn't the
In your doMove you're doing:
crew.addActivity(activity);
remainingActivities.remove(activity);
If crew and/or remainingActivities are used by your score rules, the
working memory should be notified of their changes.
That's causing the corruption
Extra advice:
I think you're making your
Thank you both, that helps a lot. So fusion really helps to just manage the
lifetime of a fact?
I am trying to migrate my hand coding trading and analysis application to
drools.
I think it will work fine for currencies, perhaps only 100 messages per
second, but I am worried about equity
You need to analyze if you can handle 100k objects creation per second in
java first.. I think that will be the first bottle neck :)
On Fri, Oct 14, 2011 at 12:16 PM, slyfox bobby.richa...@gmail.com wrote:
Thank you both, that helps a lot. So fusion really helps to just manage
the
lifetime
And before the object creation, you'll have to get the data into your system...
-W
2011/10/14 Mauricio Salatino sala...@gmail.com:
You need to analyze if you can handle 100k objects creation per second in
java first.. I think that will be the first bottle neck :)
On Fri, Oct 14, 2011 at 12:16
ok bad example.
Are there any metrics on drools performance that I could reference?
--
View this message in context:
http://drools.46999.n3.nabble.com/Fusion-appears-to-be-working-properly-but-tp3420043p3422055.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
excellent. Looking forward to it.
Thanx.
- Reply message -
Von: Swindells, Thomas [via Drools] ml-node+s46999n3421853...@n3.nabble.com
An: itchupe itch...@gmail.com
Betreff: [rules-users] Expected release date for 5.3.0.Final and 5.2.1.Final?
Datum: Fr., Okt. 14, 2011 16:27
Any day now- a
No such thing, just like there is no metrics on the performance of a
C program. Reason: it depends.
Before you invest heavily, rig up a set of rules according to what
you'll need, create some data and benchmark *your application*, or at
least as close as possible. The speed of Drools for solving
Unfortunately, it is a hard question to answer, because it is the same as
asking: what is the performance of a database (postgreSQL, Oracle, etc)? It
is totally dependent on the data you load, the queries you write and the
indexes you use.
So you need to think about overhead and pay-off of
18 matches
Mail list logo