rules-engines

Scoring / rating engines - advice and examples?

I need to create a flexible (and preferably dynamic) scoring engine, much like a credit scoring or premium calculating system. Does anyone with practical experience of creating a scoring engine have any advice, examples or suggested patterns? I already know about: Rete Algorithm FICO The open source rules engines listed here Thanks...

Evaluation of Drools Flow with Drools Expert on a web based J2ee project

I am evaluating drools flow as wrokflow engine with drools expert rule. Key evaluation points: Generating Customize Rules and Workflow through own custom Web UI Admin user can see all of the items in workflow in UI (View job queue: current queue, executed jobs, exceptions) Rule Actions can be web services, Java classes or it can be ...

Using the WF rules engine without workflow in production - implementation experiences

I'm designing an application for a type of case management system that has a big requirement for customizable, flexible business rules. I'm planning on using the WF Rules Engine without workflow (see: here, among other examples and such). One of the points my client brought up (justifiably so!) is whether there are extant examples of u...

Rules Engine vs Expert System

What is the difference between a rules engine and an expert system? Example1: Let's say that I have a program that determines the expiration date of a new driver's license. It takes inputs like visa expiration date, passport number, birthday, etc. It determines the expiration date of the driver's license from this input. It can even g...

Users need to create dynamic rules that apply to other users access to the group

Okay so here is "in a nutshell" what I'm trying to accomplish... Users of my application can go and create a new group. They can specify criteria about other users which they will allow/deny to determine who is allowed to join the group. Example: Age: 12 - 16 yrs old Height: 5 - 6 feet The data table that stores the rules would be li...

Rules Engines User Interface Design

Hi, At work, we have optimization engines, and one of the inputs used by these engines are business rules, which we create and edit with a proprietary rule editor. These rules are of our own proprietary format, because the existing rule engines were not capable of representing the business rules of the complexity we required. Anyhow, ...

Drools 5.0, How can i get the my application objects in the drl file

Hi, I am new to Drools 5.0 , now i am struck in one issue actually in my project all Domain objects in different project, My rule project does not has any Java Classes. So i make project reference to that my domain Object Project. But still i am not able to access the objects in drl If any one know from where i need to change the object ...

What is an appropriate data structure and database schema to store logic rules?

Preface: I don't have experience with rules engines, building rules, modeling rules, implementing data structures for rules, or whatnot. Therefore, I don't know what I'm doing or if what I attempted below is way off base. I'm trying to figure out how to store and process the following hypothetical scenario. To simplify my problem, say t...

A good rules engine for asp.net-mvc applications

I looking for a good Rules Engine to work with in my asp.net-mvc applications. What good options do I have? ...

Design workflows for WF4 in Silverlight

Hi, Our system is based on flows and activities and we want to give the analysts users the opportunity to create dynamics flows (at runtime). The designer UI based on SL 4.0 . It looks like WorkflowFoundation is the most valuable solution but we didn`t find any WF version that fits to SL (to create the xaml in SL). Any ideas? any oth...

Inference engine to calculate matching set according to internal rules

I have a set of objects with attributes and a bunch of rules that, when applied to the set of objects, provides a subset of those objects. To make this easier to understand I'll provide a concrete example. My objects are persons and each has three attributes: country of origin, gender and age group (all attributes are discrete). I have ...

Drools retraction is causing rule not to fire

Hi, I'm coming across some weird behavior in Drools 4.0.7, but maybe it's just cause I don't understand I how Drools works. Assume, there's a class "A" that has a property called "property". As facts, I have the following list of A's: A1, property = 123 A2, property = 345 A3, property = 123 I have two rules as follows: rule "Rule 1 ...

Design pattern for large decision tree based AI in c++

I'm currently writing an AI for a game that is written in c++. The AI is conceptually fairly simple, it just runs through a decision tree and picks appropriate actions. I was previously using prolog for the decision engine but due to the other developers using c++ and some issues with integrating the prolog code I'm now trying to port it...

Is Oracle Rules Manager and Expression Filter based on an existing standard?

If not, are there standards in existence for rules engine storage? or Is there a C# implementation of the Oracle Rules Engine syntax? ...

Prolog web programming

at work there was discussion of using prolog as the backend for a rules engine on an web-app. how would this get tied into existing systems? are there available prolog libraries for other languages allowing invocation of prolog modules. ...

Is there a way to use lambda expressions in a RuleSetDialog to define a condition?

I'm using the rules engine from WF in an application and some of the conditions involve searching a collection for a condition. It would be ideal to do something like: this.CollectionObject.Select(x => x.WantedProperty == searchValue).Count() > 0 Unfortunately I don't seem to have access to the Linq extensions for collections. I've ...

Drools testing with junit

Hi What is the best practice to test drools rules with junit? Until now we used junit with dbunit to test rules. We had sample data that was put to hsqldb. We had couple of rule packages and by the end of the project it is very hard to make a good test input to test certain rules and not fire others. So the exact question is that how ...