[rules-users] Drools 5 for process simulation

Kris Verlaenen kris.verlaenen at cs.kuleuven.be
Fri Aug 6 09:48:21 EDT 2010


Jonathan,

Drools supports a simulated clock (unified for rules and processes), so this should allow you to build a simulator.  The code that Mark is referring to is just something built on top that allows you to define a simulation as a sequence of commands that are sent to the session at specific time points etc.  You could try to reuse this as is if it would be useful in your case, or simply try to do something similar.  In any case, there shouldn't be any technical difficulties that should prevent you from doing something like you described I think (just not all out-of-the-box).

Kris

  ----- Original Message ----- 
  From: Labin, Jonathan W. 
  To: Rules Users List 
  Sent: Wednesday, August 04, 2010 7:22 PM
  Subject: Re: [rules-users] Drools 5 for process simulation


  Mark,

   

  Thanks for the link.  I'll look into it.  I'm not sure I'll have time to learn enough about Drools to actually modify it for this project.  

  Do you think it's not practical to attempt to build a simulator without modifying Drools?

   

  Thanks,

   

  Jonathan

   

  From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Mark Proctor
  Sent: Wednesday, August 04, 2010 11:33 AM
  To: rules-users at lists.jboss.org
  Subject: Re: [rules-users] Drools 5 for process simulation

   

  On 04/08/2010 16:20, Labin, Jonathan W. wrote: 

Drools users, I am currently researching Drools 5 as a potential toolkit to enable my nextproject.  I have read through the Documentation for Drools Expert, Flow andskimmed through Fusion and I believe that Drools looks it provides manyfeatures we need.  However, I am concerned about one aspect of the way thatthe system seems to operate and was wondering if anyone could point me to asection of documentation (chapter of the manual / wiki / external how-toblog post... whatever) that will clear things up for me. I would like to use Drools Flow to define behaviors of agents as FlowProcesses to create an agent-based simulation.  This application requiresthat the processes are kept synchronized with each other by a simulated(faster than real time) clock. Is there a Drools mechanism that enables this?  Would I need to create a setof WorkItemHandler classes that perform the synchronization manually?  Iswhat I want to do not really practical within the Drools Flow framework?I have something prototyped and it works, but I need to refactor the api and make it much simpler. so if you use it, expect it to change a lot and get a lot simpler and better :)
  http://blog.athico.com/2009/07/drools-simulation-and-test-framework.html

  Mark



 Thanks in advance, Jonathan Labin  _______________________________________________rules-users mailing listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users 



------------------------------------------------------------------------------


  _______________________________________________
  rules-users mailing list
  rules-users at lists.jboss.org
  https://lists.jboss.org/mailman/listinfo/rules-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100806/0002ff66/attachment.html 


More information about the rules-users mailing list