Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ based rule engine

Tags:

c++

i am looking for a good c++ rule engine. can you please let me know if there there any XML based rule engine for C++

like image 965
vijay Avatar asked May 31 '10 09:05

vijay


People also ask

What is rule engine in C#?

The Rules Engine is a . NET C# project that validates business logic by defining a multiple rules for your data classes.

How do you define a rule engine?

A rules engine is a flexible piece of software that manages business rules. Think of business rules as “if-then” statements. So, a basic example of a rule would be, “If A, then B, else if X, then do Y.”

What is the use of rule engine?

Rules engines or inference engines serve as pluggable software components which execute business rules that a business rules approach has externalized or separated from application code. This externalization or separation allows business users to modify the rules without the need for IT intervention.


2 Answers

Check CLIPS (developed originally by NASA) Its a rules engine written in C. It is under continuous development for many years. However, the rules are defined in LISP like rule defintion language.

Its hosted on sourceforge http://clipsrules.sourceforge.net/

like image 113
Nitin Bhide Avatar answered Oct 17 '22 16:10

Nitin Bhide


I guess the answer to "what is a rule engine" is there : What can Rules Engines accomplish?

But that's a too broad definition. In fact a "rule engine" should be totally dependant on your domain. The engine will provide settings (XML based or anything else suitable for the task) and then apply the rules.

So look for domain-specific engines and you'll certainly find something useful.

like image 1
Klaim Avatar answered Oct 17 '22 17:10

Klaim