[rules-users] Replacing Hand Written Rules

Wolfgang Laun wolfgang.laun at gmail.com
Sun Oct 31 07:24:26 EDT 2010


This doesn't look like it would be a simple transformation for the rules;
but it depends on the logic hidden in the functions when and $relTime.

The part after THEN may be a plain method call, or require the insertion
of a new fact.

Read some of the Drools Expert documentation, and you should get
an idea what is required for a Drools system to work.

Consider that 5000+ is a large number. Estimate the time it'll take you
to transform one rule: Will you be able to spend, say, 3 months for this
task?
-W


2010/10/31 Nirmal Fernando <nirmal070125 at gmail.com>

> Something like following 2 rules:
>
> # IF when($Awareness,$var0) THEN ^1_Awareness:Time($Awareness,$var0)
> # IF $relTime($Awareness,$Time) THEN ^1_Awareness:Time($Awareness,$Time)
>
> thanks.
>
> 2010/10/31 Wolfgang Laun <wolfgang.laun at gmail.com>
>
> What, exactly, do you mean by "hand written"? Java statements? Another Rule
>> System?
>> Can you provide a sample?
>>
>>
>> 2010/10/31 Nirmal Fernando <nirmal070125 at gmail.com>
>>
>>> Hi,
>>>
>>> I am having a 5000+ hand written rules which is used in an open source
>>> project.
>>> I am searching for the reasons, me to be shifted to a rule engine like
>>> Drools, instead of using hand written once.
>>> Drools rules can be debugged that will be a plus point, isn't it? I would
>>> love to get a list of benefits that I will be getting.
>>>
>>> Thanks.
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> C.S.Nirmal J. Fernando
>>> Department of Computer Science & Engineering,
>>> Faculty of Engineering,
>>> University of Moratuwa,
>>> Sri Lanka.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users at lists.jboss.org
>>> https://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
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> C.S.Nirmal J. Fernando
> Department of Computer Science & Engineering,
> Faculty of Engineering,
> University of Moratuwa,
> Sri Lanka.
>
> Blog: http://nirmalfdo.blogspot.com/
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101031/2f4567b8/attachment.html 


More information about the rules-users mailing list