rule-engine

How to design a rule engine?

妖精的绣舞 提交于 2019-11-29 21:04:25
I'm supposed to create a simple rule engine in C#. Any leads on how I can proceed?. It's a minimalistic rule engine, and would use SQL server as the back end. Do we have any general blueprint or design patterns that generally apply to rule engines? What kind of .Net technologies can I use to design one? Any directions would be helpful. Thanks. If you're using .NET 3.0 or later, you can use the Rules Engine of Windows Workflow Foundation without having to acutally use Workflow. I've done this on a project, and you can use SQL or XML as the backend, and it works great. You can use the IDE that

.Net rules engines [closed]

て烟熏妆下的殇ゞ 提交于 2019-11-29 20:17:16
I am am working on a project that would benefit from a rules engine. I have consided just using the windows workflow engine, but I would like to know what else is out there. My project has spent most of it's budget. So I would need suggestions to be modestly priced (in the < $1,000 range). I saw InRule , but they don't post prices (that I could see). So I am guessing it is one of those "if you have to ask you can't afford it" kind of products. I saw this post: Looking for simple rules-engine library in .NET But it is old and is focused on Open Source. So, are there any modestly priced .Net

Lightweight Rules Engine in Javascript [closed]

柔情痞子 提交于 2019-11-29 20:14:52
I am looking for suggestions for a lightweight rules engine implemented in Javascript. The reason for such an implementation is to build a very lightweight but fast browser-based simulation using a small set of rules (less than 20). The simulation would take half a dozen parameters and run the rules and display results in the browser without any need to go back to the server. Think of a UI with a couple radio buttons, checkboxes, text boxes and sliders to control the parameters. The simulation would quickly re-run based on any parameter change. I've implemented a (more complicated) version of

When should you NOT use a Rules Engine? [closed]

五迷三道 提交于 2019-11-29 19:03:00
I have a pretty decent list of the advantages of using a Rules Engine, as well as some reasons to use them, what I need is a list of the reasons why you should NOT use a Rules Engine The best I have so far is this: Rules engines are not really intended to handle workflow or process executions nor are workflow engines or process management tools designed to do rules. Any other big reasons why you should not use them? duffymo I get very nervous when I see people using very large rule sets (e.g., on the order of thousands of rules in a single rule set). This often happens when the rules engine is

Criteria to Evaluate Business Rules Engines [closed]

邮差的信 提交于 2019-11-29 12:58:08
问题 We are shopping for Business Rules Engines. We want to make our core application customizable to different customers with slightly different requirements. The people who would actually do the customizations are analysts. I.e. non-programmers who are technically skilled (usually have a degree in sciences). What are the criteria to evaluate business rules engines? Are there open source and comercial ones? What are your experiences in ease of use, documentation, support, price, etc. Our app is

Deprecated code of drools to version 6.2

為{幸葍}努か 提交于 2019-11-29 12:35:04
I have an old and deprectaed code of drools, this code can read a rule file (drl) outside of the container and can use any Value Object and any class. CommandExecutor ksession; KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(); String file = System.getenv("DOMAIN_HOME")+"/mydrls/business.drl"; kbuilder.add(ResourceFactory.newFileResource(file), ResourceType.DRL); KnowledgeBase kbase = kbuilder.newKnowledgeBase(); ksession = kbase.newStatelessKnowledgeSession(); DataTest data = new DataTest(); data.setAge(25); List cmds = new ArrayList(); cmds.add( CommandFactory

Rules engine for spatial and temporal reasoning?

浪尽此生 提交于 2019-11-29 05:19:55
I have an application that receives a number of datums that characterize 3 dimensional spatial and temporal processes. It then filters these datums and creates actions which are then sent to processes that perform the actions. Rinse and repeat. At present, I have a collection of custom filters that perform a lot of complicated spatial/temporal calculations. Many times as I discuss my system to individuals in my company, they ask if I'm using a rules engine. I have yet to find a rules engine that is able to reason well temporally and spatially. (Things like: When are two 3D entities ever close?

What can Rules Engines accomplish?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 23:38:43
问题 What goals can be accomplished using a Rules Engine? 回答1: A Rules Engine is typically a component in software that is used to validate business rules at runtime. They're often used in order to be able to easily change business rules without having to recompile/redeploy software. Rules can easily be stored in a corporate database, and sometimes even edited by less technical users who understand the business rules much more effectively. For example, a mortgage company may need to change its

Ruby & Rules Engines

 ̄綄美尐妖づ 提交于 2019-11-28 19:35:46
I'm looking for a simple way to let users define a set of rules to filter objects. Eg. let them define something like "notify me about a booking if booking date < 2009/04/30 AND value > 100.00" More or less: I'd like to have a Ruby rules engine with custom DSL. Is there a library offering that? Came across Ruleby, but it doesn't support custom DSL, yet. What's the best apporach to do that? Ian Terrell Take a look at Treetop . You can define your DSL as a Parsing Expression Grammar and then parse it to create your rules in whatever format you like. Have a look at the wongi-engine gem it is a

How to design a rule engine?

北战南征 提交于 2019-11-28 17:13:40
问题 I'm supposed to create a simple rule engine in C#. Any leads on how I can proceed?. It's a minimalistic rule engine, and would use SQL server as the back end. Do we have any general blueprint or design patterns that generally apply to rule engines? What kind of .Net technologies can I use to design one? Any directions would be helpful. Thanks. 回答1: If you're using .NET 3.0 or later, you can use the Rules Engine of Windows Workflow Foundation without having to acutally use Workflow. I've done