Re: [rules-users] can I change configuration of the solver while it's runnig?

2012-12-18 Thread peter
I see,thanks! -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-can-I-change-configuration-of-the-solver-while-it-s-runnig-tp4021235p4021244.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ ru

[rules-users] can the solving process be carried out in a multi-thread way?

2012-12-18 Thread 软件0907黄泓
Hi, I am thinking about realizing the solving process in a multi-thread way,and once a group of optimal parameters was found by one thread, it was adopted by other theads. Was it a feasible approach? with kind regards ___ rules-users mailing list

Re: [rules-users] Evaluating Rules

2012-12-18 Thread Willem van Asperen
On 12/18/2012 07:46 PM, jgauss wrote: > Hi, > > I have a doubth about rules. > Can I to evaluate a rule using a external source?, for instance a database > or always is it with a statics conditions? Hi, I think best practice is to insert a global, for instance, if you have an entity of the class:

[rules-users] Evaluating Rules

2012-12-18 Thread jgauss
Hi, I have a doubth about rules. Can I to evaluate a rule using a external source?, for instance a database or always is it with a statics conditions? Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/Evaluating-Rules-tp4021241.html Sent from the Drools: User forum ma

Re: [rules-users] Rules with variable timers

2012-12-18 Thread Wolfgang Laun
On 18 December 2012 17:32, riri wrote: > Hy, > > Thank you very much for your response, I will definitely think about using > declared types for user input. The proposed UserParameter can be a Java class as well. > I'm not exactly sure I understood how the > attributes of UserParameter are set fr

Re: [rules-users] Rules with variable timers

2012-12-18 Thread riri
Hy, Thank you very much for your response, I will definitely think about using declared types for user input. I'm not exactly sure I understood how the attributes of UserParameter are set from outside the rule file in the code you posted. I found that in the documentation in section 5.7.6. "Acc

Re: [rules-users] Rules with variable timers

2012-12-18 Thread Wolfgang Laun
If you let users write (part of) the rules, a simple solution would be to let them define the values in a rule like declare UserParameter para : ... parb : ... ... end rule "init user parameters" salience 1000 when then insert( new UserParameter( ..., ... ) ) // user defines para, parab

Re: [rules-users] Rules with variable timers

2012-12-18 Thread riri
Hy, I would also be interested in having a timer working with variables. In my case I need to have a rule that fires when an event is detected inside a certain interval of time (say 22h-07h in a day), and this interval should be configurable at runtime. I tried using a global value but I get an "U

Re: [rules-users] can I change configuration of the solver while it's runnig?

2012-12-18 Thread Geoffrey De Smet
Not out of the box currently. About changing the tabu size at runtime = I'd like to support this at some point, but haven't got time to experiment with it yet. Extend this class:   https://github.com/droolsjbpm/drools-planner/blob/mast

[rules-users] can I change configuration of the solver while it's runnig?

2012-12-18 Thread ????0907????
hi, Can I change the configuration of the solver,such as tabu size,after the solver has been initialized and is still running? with kind regards___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-