This Free .NET Rules Engine Class Library is for use in .NET Projects. This library provides the class objects necessary to define and processes Rules to change/create variables and or process more rules based on the evaluation of an expression.
The design of these libraries is to allow the programmer to persist Rules however he sees fit. The class libraries only contain the necessary data structures for the Rules engine to operate.
The Rules Processing Engine consists of a Rules Engine, a Variable Engine, and an Expression Machine.
The Rules Engine provides the means to Add/Remove/Set/Run any Rule Object. Rule object are considered as tree node such that any Rule object can contain more Rule objects. This is a thread-safe high performance engine that has been tested to 500,000 objects with less than a ½ second access time.
The Variable Engine manages the Variables. Variable objects can be numeric, boolean, or string. This is also a thread-safe high performance engine that has been tested to 500,000 objects with less than a ½ second access time.
The Expression Machine provides the parsing of expressions to values. These expressions must conform to a simple human understandable syntax.
Examples:
VariableOne = 2
(56 * VariableTwo)/78
(VariableThree > 77) and (VariableTwo < 44) or (VariableOne = 4) |