Am seeking a Rules Engine, written in Java or Python, which supports the following features:
Have already ruled out Drools (very clunky and not user friendly for non-technical users).
So far the candidates are:
Read that Easy Rules does not support forward and backward chaining, as well as breadth first and depth first search strategies.
It just executes all rules once and only once.
Can anyone suggest an open source based Rules Engine that's either written in Java or Python?
Thanks for taking the time to read this.
Rule Engines A rule engine can be viewed as a sophisticated interpreter of if-then statements. The if-then statements are the rules. A rule is composed of two parts, a condition and an action: When the condition is met, the action is executed.
The Rule Engine is meant to allow developers to filter arbitrary Python objects with a “rule” specified either by them or by an end user. The “rules” that the Rule Engine uses are Python string expressions in a custom language. The syntax that Rule Engine uses is similar to Python but borrows some features from Ruby.
To define a rule in Java, you write a rule function called jcrule which, when called with an argument containing the state of a cell and the state of its neighbors in variables, returns the new state for the cell as an integer from 0 to 255 (the low bit #0 is the state of Plane 0, bit #1 is the state of Plane 1 and so ...
Take a look at durable_rules. It's a very state-of-the-art rulebased system for various languages, including python. I don't know if it's meeting your requirements but it's really worth a look ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With