Questions tagged [rule-engine]

Rule engines are software components that allow application developers to externalize business rules and manage their lifecycle independently from the application code.

Rule engines

Rule engines are software components that allow application developers to externalize business rules and manage their lifecycle independently from the application code. They typically use a higher level declarative language (in contrast to the typical imperative paradigm of languages like Java and C++) and use specific algorithms for scalability and high performance. A good analogy is that Rule Engines do for business rules what databases do for data.

Resources

961 questions
12
votes
1 answer

Guidelines for implementing a rule engine

What could be the reasons to implement your own rule engine instead of using an existing commercial/open source one? Any specific guidelines for implementing rule engines?
Snake
  • 445
  • 1
  • 4
  • 14
12
votes
5 answers

Drools testing with junit

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…
Hubidubi
  • 850
  • 4
  • 18
  • 34
12
votes
6 answers

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…
shuttle87
  • 15,466
  • 11
  • 77
  • 106
12
votes
4 answers

Open source rules engine with decent interface for writing rules

I'm trying to locate an open source business rules engine that has a decent interface for building the rules. OR at least one that works well on the .Net platform and has been updated sometime in the past 12 months. Thanks,
NotMe
  • 87,343
  • 27
  • 171
  • 245
11
votes
1 answer

Check for specific element in a list in Drools

I just have started using Drools (version 5.1.0) so please bear with me in case this question was already answered. I have a java.util.List object which contains objects of complex type A, with A as: class A { String name; String Value;} The…
serena
  • 115
  • 1
  • 1
  • 6
11
votes
2 answers

Prolog backtracking VS Rete backtracking

In my class I have been taught the Prolog backtracking algorithm and the Rete forprop algorithm, but I have also been told that Rete can be used to do backprop. How does that work? In which ways is it similar / different to Prolog backtracking? For…
Jsevillamol
  • 2,425
  • 2
  • 23
  • 46
10
votes
2 answers

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…
flesh
  • 23,725
  • 24
  • 80
  • 97
10
votes
4 answers

Criteria to Evaluate Business Rules Engines

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…
flybywire
  • 261,858
  • 191
  • 397
  • 503
10
votes
2 answers

Prolog Beginner - Is This a Bad Idea?

The application I'm working on is a "configurator" of sorts. It's written in C# and I even wrote a rules engine to go with it. The idea is that there are a bunch of propositional logic statements, and the user can make selections. Based on what…
Anthony Compton
  • 5,271
  • 3
  • 29
  • 38
10
votes
2 answers

rules engine design & examples in c#

I am currently writing a .net application with c# and want to check a number of rules and based on passing or failing the rules, perform an action. So I am looking to implement a generic solution that I can reuse adhering to good oop principles.…
amateur
  • 43,371
  • 65
  • 192
  • 320
10
votes
3 answers

Where can I get started learning about Rule Engines?

I'm currently designing a Java application where a Rule engine could be useful. Where is a good place I can learn about how to use them, how they work, how to implement them, see samples, etc.?
Daddy Warbox
  • 4,500
  • 9
  • 41
  • 56
10
votes
3 answers

What are the myths about rules engine?

I'm writing a presentation about rule engine technology, specifically JBoss Drools. What are some of the 'myths' about rule engines. One I can think of is that it allows business users to control the rule engine, I believe it is possible, but it…
Steven Herod
  • 764
  • 8
  • 20
10
votes
1 answer

Compile drools guided decision table into rules

I am wondering how I could use a guided decision table from the Drools Workbench inside a Java application using the drools runtime. The idea is that a user would work defining rules, processes and some decision tables in the workbench, which will…
Kevin Chabot
  • 471
  • 5
  • 11
10
votes
2 answers

C++ Business rule expression parser/evaluation

I'm looking for suggestions of portable lightweight libraries written in C++, that support mathematical and business rule expression and evaluation. I understand C++ doesn't provide such functionality in the STL. The basic requirement is as…
10
votes
3 answers

Is drools the same as jrules?

Is there a difference between Drools and Jrules? Is Jboss rules the same thing as Jrules? What type of environments typically use Drools?
Dustin
  • 101
  • 1
  • 1
  • 3
1 2
3
64 65