Submitted: JBRULES-3401.
-W
On 24/02/2012, Benjamin Bennett wrote:
> Just passing on I am using the drools 5.4.0Beta2
>
> The following doesn't compile using the mvel dialect .
> rule "some rule"
> when
> fact: Fact()
> then
> BasicFact fault= new BasicFact( "/*");
> end
>
> but
> rule "some r
I am trying to find the total of an attribute of`SubjectTeacherPeriod`. The
`numAttributeMap`property (a map with `String` keys and `int` values) stores
the value. But trying to access it is problematic as Drools thinks that
`$num_value[$attribute]` is a list operation, not a map operation.
I list
* Apologize for multiple posting - Submission Deadline March 5th *
=
DEBS2012
6th ACM International Conference on Distributed Event-Based Systems
July 16-20, 2012
Freie Universitaet Berlin,
Hello,
>1) TRACE
It did actually crash!
java.lang.IllegalStateException: The presumedScore (0hard/-860soft) is
corrupted because it is not the realScore (0hard/-858soft).
Presumed workingMemory:
Score rule (reward Resource consolidation) has count (44) and weight total
(44).
Real workingMem
Thank your for your reply~
I am developing the Identity and Access management. I have finished the
basic requirement, but the pre-condition part is what I am doing. The
website sends the pre-condition(like what IP address or the time period can
user access) that user sets. The pre-conditions ar
Thank your for your reply~
I am developing the Identity and Access management. I have finished the
basic requirement, but the pre-condition part is what I am doing. The
website sends the pre-condition(like what IP address or the time period can
user access) that user sets. The pre-conditions are wh
1) If you haven't already, can you turn on TRACE
and let it run a while (it will be much slower)?
Report here if that crashes or not.
2) What drools version and what planner version are you using?
Op 26-02-12 17:51, Reinis schreef:
> Hello, it appears that hard constraint I have defined is being
Hi David,
Op 24-02-12 16:26, davidglassborow schreef:
> Some more details on my problem:
>
>
> Here is an example of a vehicle routing solution, 2 crews and 4 Jobs A, B, C
> and D.
> The print out below is the solver and solutions found at each step (it
> prints out each chain of jobs)
> As you
Appreciate for the useful info, Mark.
--
View this message in context:
http://drools.46999.n3.nabble.com/Loading-rules-performance-problem-in-5-4-0-Beta2-compare-to-5-0-1-tp3768609p3777289.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
__
A (dynamic) "request" with a "logical expression" that is to be evaluated
as
a rule is very much like a (dynamic) SQL query to be evaluated on a
database.
Are you sure that Drools is the right platform?
If "someone" wants to send a logical expression in a formal language of
their
own, you'll have
Hello, it appears that hard constraint I have defined is being ignored
in some rare cases. Here's an example:
This is what my application logs after getting best solution after
solver has returned from solve():
2012-02-23 21:28:54,595 [main] INFO Project Project1 assignment
563:[2012-02-27T13
Sorry, I forget to mention one thing.
What's really difficult for me is to translate the "AND","OR"(Condition 1
AND Condition 2 OR Condition 3) to the drool.
Because someone will send the request with the expression(Condition 1 AND
Condition 2 OR Condition 3) to me. For each request the exp
Thank you ~
I will learn the documentation more.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-create-a-drl-file-or-decision-table-dynamically-tp3772708p3777002.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_
You don't need a file, you need a String (not to say you couldn't use a
File if you really, really wanted - just that you don't have to).
Other than the Fluent API already mentioned there is no Drools API to
construct a DRL String. Read the manual, understand *your* data and build
DRL applicable.
Hi Michael,
Thank you for your reply~
Now, I understand some mechanism of building dynamic class.
Back to my question,
if I understand correct, those methods you mentioned is to add a drl
file(exist) to the knowledgeBase dynamically, right?
But how about the file?
I mean if I need to write "Conditi
15 matches
Mail list logo