Re: [rules-users] Garbage collection and sliding windows (Drools 5.5.0 Final)

2013-02-20 Thread marianbuenosayres
Could this be related to the issue at https://issues.jboss.org/browse/JBRULES-3721? It started with performance issues but eventually led to this case where a NPE is thrown by the expire/retract action. They seem quite similar and perhaps the issue attached project could help solve this issue as we

[rules-users] 'Drools Planner-Vehicle routing in VisualStudio.Net 2010/2012

2013-02-20 Thread Testaaa Asdfghj
Hello everyone, I am new user so please guide. Is it possible to implement 'Drools Planner-Vehicle routing'  in VisualStudio.Net 2010/2012 ? -- Thanks, VS ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/lis

Re: [rules-users] How to know the object who is broken by hard rule

2013-02-20 Thread Mister Nono
Hi, Thank, I will look this example. Bye -- View this message in context: http://drools.46999.n3.nabble.com/How-to-know-the-object-who-is-broken-by-hard-rule-tp4022363p4022501.html Sent from the Drools: User forum mailing list archive at Nabble.com. __

[rules-users] Drools Planner-Vehicle routing in VisualStudio.Net

2013-02-20 Thread vs1
Hello everyone, I am new user so please guide. Is it possible to implement *'Drools Planner-Vehicle routing' * in *VisualStudio.Net 2010/2012 ?* -- Thanks, VS -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Planner-Vehicle-routing-in-VisualStudio-Net-tp4022500.html

[rules-users] Planner: Is it possible to know which move was selected on step-end?

2013-02-20 Thread Michiel Vermandel
Hi, Is it possible to capture which move was selected on step-end? I don't mean in the logging but by event or custom selector or... ? Thanks Michiel   - http://www.codessentials.com - Your essential software, for free! Follow us at http://twitter.com/#!/Codessentials_

Re: [rules-users] How to know the object who is broken by hard rule

2013-02-20 Thread Michiel Vermandel
Hi, The examples contain package org.drools.planner.examples.common.swingui     class ConstraintScoreMapDialog I think this is what you are looking for. Regards, Michiel   - http://www.codessentials.com - Your essential software, for free! Follow us at http://twitter.com/#!/C

[rules-users] Decision table layouts

2013-02-20 Thread vamsi goli
Hello, We are trying to incorporate Drools to our architecture and make sure all rules are separated from our current code base. So I am totally new and I am working on creating a decision table using the Guvnor Web guided editor. So my question: I am trying to create a decision table with vertic

Re: [rules-users] SimpleScoreCalculator

2013-02-20 Thread André Fróes
I added another variable to check if it would still show the broken constraint and break the planner, and it still happens, I added this: WorkOrder wo33 = new WorkOrder(103l, 8, Priority.P1, Nature.CORRECTIVE); SkillWorkOrder swo333 = new SkillWorkOrder(20333l, wo33, ABC1); SkillWorkOrder swo3332

Re: [rules-users] SimpleScoreCalculator

2013-02-20 Thread André Fróes
Problem solved (still I think so): It was simpler (if i'm right): List tempEngSkillList = new ArrayList(); for (SkillEngineer se : e.getSkillEngineerList()){ tempEngSkillList.add(se.getSkill()); } if (tempEngSkillList.containsAll(requiredSkillList)){ hardScore += 1; } the result

Re: [rules-users] SimpleScoreCalculator

2013-02-20 Thread André Fróes
Not fixed, i threw it on excel and make a comparison with expected results and there are 2 broken there. This is how it would be (feasible solution): ID 101 - Engineer Richard ID 102 - Engineer Andre ID 103 - Engineer Denny ID 104 - Engineer Andre ID 105 - Engineer Andre ID 106 - Engineer Andre ID

Re: [rules-users] SimpleScoreCalculator

2013-02-20 Thread André Fróes
I think I fixed it, but the broken constraint is still showing, i don't know how to remove it. I did this: verified if the engineer skill list had the same size or bigger than the requiredSkillList, iterate to check skills between both counting the matches and then, if the match was 100% to other,

Re: [rules-users] Drools Guvnor User authentication

2013-02-20 Thread droolist
Verify that you have given that user permissions in the administration module. Here is my experience when I tried Guvnor 5.5 with JAAS... After I got past that namespace issue, I ran into a Seam issue where user was returning null. After searching, it seemed that was a bug in Seam security that was

Re: [rules-users] SimpleScoreCalculator

2013-02-20 Thread André Fróes
After some workaround I noticed that the workorders are not being 100% corretly distributed to, i've changed the scorecalculator to this: int commonSkillCount = 0; for (Skill s : requiredSkillList){ for (SkillEngineer se : e.getSkillEngineerList()){ if (se.getSkill().getId() == s.getId()){ commonS

Re: [rules-users] Comparing 2 Lists [Planner]

2013-02-20 Thread André Fróes
Thanks for the answer Armand, I'll try to explain better the model, since there's more people asking me about it here by e-mail (Ana Kuzjminska and others). Before that, I tried what you passed me, I had already tried that aproach, but didn't work, it sorts, but doesn't give the engineer the prope

Re: [rules-users] How to know the object who is broken by hard rule

2013-02-20 Thread Mister Nono
Hi, I'm sorry but I don't find the example. Can you explain me where it is ? Thank. Bye ;) -- View this message in context: http://drools.46999.n3.nabble.com/How-to-know-the-object-who-is-broken-by-hard-rule-tp4022363p4022484.html Sent from the Drools: User forum mailing list archive at Nab

Re: [rules-users] How to know the object who is broken by hard rule

2013-02-20 Thread Kostis
Unsubscribe On 20 February 2013 12:16, ge0ffrey wrote: > Mister Nono wrote > > Hi, > > > > I use Drools Planner and an object does not accepted by a hard rule. > > > > And then, I obtain à negative hard result and I must present to user why > > the result is not correct. > > > > How to know the

Re: [rules-users] How to know the object who is broken by hard rule

2013-02-20 Thread ge0ffrey
Mister Nono wrote > Hi, > > I use Drools Planner and an object does not accepted by a hard rule. > > And then, I obtain à negative hard result and I must present to user why > the result is not correct. > > How to know the object broken by the hard rule when the result is negative > ? > > Thank

Re: [rules-users] Drools Grid & GridNode

2013-02-20 Thread Mark Proctor
On 20 Feb 2013, at 06:29, Charles Moulliard wrote: > Hi, > > The drools project contains Grid, GridNode interfaces + implementation into 2 > different maven modules > > - drools-grid-impl & > - drools-spring > > but interface definitions are different ignore drools-grid-impl, it was an exper

Re: [rules-users] Evaluate rules for multiple facts of the same type within a StateuflSession

2013-02-20 Thread Davide Sottara
FYI, one of the next releases will include a new feature, called "defeasibility", which is specifically designed for situations where "higher ranking" rules are allowed to override the consequence of other rules. We have an initial prototype working, but it will take a few more weeks to get it rele