任何对'通用规则引擎'有具体指示或经验的人? [英] Anyone with specific pointers or experience with a 'Generic Rules Engine'?

查看:32
本文介绍了任何对'通用规则引擎'有具体指示或经验的人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望根据客户的要求与通用规则引擎"集成.

I am looking to integrate with a 'Generic Rules Engine' based on the request of a customer.

我认为目标是允许业务利益相关者添加规则",并将这些规则合并到基于数据集计算的整体指标中.到目前为止,我听到的规则似乎是代码中简单的逻辑片段.我想缺点是即使很简单,这仍然需要编码......(与分析中自动使用的某种运行时或数据驱动的规则规范相反.)

I think the objective is to allow business stakeholders to add 'Rules', and have those be incorporated into an overall metric calculated on a dataset. So far, the Rules i have heard seem like straightforward snippets of logic in the code. I suppose the drawback is that even though simple, this would still need to be coded... (as opposed to some kind of runtime or data driven rule specification automatically used in the analysis.)

希望不要太含糊 - 但是有人在这样的事情上取得过成功吗?哪些开源项目最有前途?

hopefully not too vague - but anyone have any success with such a thing? which open source projects have the most promise?

谢谢

推荐答案

我玩过 DROOLS,JBOSS 的规则引擎.我已经看到它在大规模生产系统中使用.它提供了各种不同格式的规则表示,例如——用JAVAMVEL 编写的平面规则文件;使用DROOLS规则流程,EXCEL组成的决策表.

I have played around with DROOLS, a rule engine from JBOSS. I have seen it use in large scale production systems. It offers representation of rules in various different formats such as -- flat rule file written in JAVA or MVEL; using DROOLS rule flow, and decision tables composed in EXCEL.

规则的执行使用 RETE 算法,由于规则记忆和变量共享,据说速度更快.正如道格所指出的,维基百科上有很多信息

The execution of rules are using RETE algorithm, which is supposedly faster due to rule memorization and variable sharing. As pointed out by Doug, there are a lot of information on Wikipedia

这篇关于任何对'通用规则引擎'有具体指示或经验的人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆