Hi,
I am working on a employee roster planning problem in Optaplanner. I am
wondering how to do continuous planning. Do I load in historical data,
before I start the planning? How do I make sure that already planned shifts
in the near future do not get changed if it is not necessary?
Kind regards
Hi folks,
Can anyone explain how stateless session execution results should work? Working
through the docs and tracing the code, it’s getting a bit confusing.
Firstly, according to the user manual, one should be able to insert a list of
facts as a Command, and get an instance of ExecutionResult
I think you have to put your insert command into a list
List> cmds = new ArrayList();
and pass this via batch execution
CommandFactory.newBatchExecution( cmds )
-W
On 04/12/2013, Stephen Masters wrote:
> Hi folks,
>
> Can anyone explain how stateless session execution results should work?
>
laune, thanks for fast reply! So from point to point:
*-- "Are you using 5.4.0?"*
Yes, I'm using 5.4.0.Final.
*-- "But you can easily achieve what you want by adding the pattern
ServicePerformanceEvent() in front of the accumulate CE."*
I've tested this, LHS is:
/ServicePerformanceEvent()
Hi ters,
I've run a few tests and I think that you'll have to use an entirely
different approach to achieve what you want.
accumulate creates a "virtual object" maintaining the accumulated
value(s). This is updated with every change to its domain, i.e., the
set of matching facts. Thus, for every
laune, thanks for explanations.
Could you please provide me with links/examples of how to /write your own
accumulate function (using the
init/action/result paradigm) /, and how to use this custom function instead
of standard one?
Regards!
--
View this message in context:
http://drools.46999.n
I am trying to create a enumeration that uses a class to populate it, per
*16.10. Data enumerations (drop down list configurations)*.
I have added the jar that contains my class to the drools repository and
added it as a dependency to the project.
When building a guided rule, that object can be se
I assume this is guvnor 5.5 (or lower)?
You need to add the JAR with your helper class to your container's (AS7,
Tomcat) /lib folder.
On 4 December 2013 17:39, SrjTx wrote:
> I am trying to create a enumeration that uses a class to populate it, per
> *16.10. Data enumerations (drop down list c
On 04/12/2013, ters wrote:
> laune, thanks for explanations.
>
> Could you please provide me with links/examples of how to /write your own
> accumulate function (using the
> init/action/result paradigm) /, and how to use this custom function instead
> of standard one?
rule manacc
when
Numbe
6.0.0 I guess I should have said drools workbench.
--
View this message in context:
http://drools.46999.n3.nabble.com/Need-Help-with-Enumerations-and-Classpath-tp4027091p4027094.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
__
OK, where is the error reported?
In the "Problems Panel" or when you click "Validate" in the enum editor -
or both!
On 4 December 2013 19:12, SrjTx wrote:
> 6.0.0 I guess I should have said drools workbench.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Need-H
Hi,
I’m trying to implement Guided Rule Template in KIE WB (Guvnor).
The logic is simple: The Condition shall check range of ages and for action
call a method on a global.
The global is defined in Global Variables artifact.
I can see two problems with the editor:
1. I can choose the global
Do you set the global to an object in *your* runtime? The global definition
will exist in your project but will need initialising to an object by your
code.
If the editor lacks a feature you require why not roll your sleeves up and
provide a pull request? We don't normally have the time to respond
Hi,
I am trying to figure out a rule for matching an incoming sequence of
events, but so far I was not really successful. Basically, I want to
process events from devices. Every event has a timestamp (long), an id
(a UUID string), a deviceId and an error code (both are strings).
What I want to
Following on from the workbench videos (http://tinyurl.com/pnq6497), here is a
rule based limited entry decision table http://tinyurl.com/o6umx2x
Mark
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rul
Why is it "not practical" to add a fact for a device? You don't have
to do this up front; they may come and go, dynamically.
-W
On 05/12/2013, IK81 wrote:
> Hi,
>
> I am trying to figure out a rule for matching an incoming sequence of
> events, but so far I was not really successful. Basically,
Hi, I have a rule that on its RHS, it creates new objects with random content
and inserts them.
How do you check if the object already exists in drools memory?
I am thinking to use kcontext.getKnowledgeRuntime().getObjects() in the RHS
to loop for all the objects and stop inserting if an object wi
Quote from the Expert manual:
"A Working Memory may operate in two assertion modes, i.e., equality
or identity, with identity being the default."
Search for the keyword to see all references; you'll need "equality".
-W
On 05/12/2013, Sonata wrote:
> Hi, I have a rule that on its RHS, it crea
The devices may come and go and there may be several hundreds of them.
They are stored in a database.
Currently, I feed the events into the knowledge session and trigger an
EJB call (instead of the simple System.out.println I used in the example
below) and pass the device id. The EJB does the r
19 matches
Mail list logo